{"info":{"_postman_id":"9b53fca1-0578-4596-97ba-14daa47e54da","name":"Sterling API - V1","description":"<html><head></head><body><p>The Sterling API allows you to integrate background checks into your platform and manage the process from end-to-end.</p>\n<p>Using the Sterling API, you can build applications that:</p>\n<ul>\n<li>Initiate background checks on participants in an online marketplace.</li>\n<li>Create trusted end users, which enables members in your marketplace to screen other members in your marketplace.</li>\n<li>Schedule recurring screenings to proactively monitor changes in a candidate's status over time.</li>\n<li>Receive real-time updates for the screenings you initiate.</li>\n</ul>\n<h1 id=\"getting-started\">Getting Started</h1>\n<p>Access to the Sterling API can be requested from our <a href=\"https://api.sterlingtalentsolutions.com/developers/developer-sign-up/\">Developer Signup page</a>. Once you receive your Client ID and Client Secret, here are the steps that API users typically follow to consume the Sterling APIs and perform end-to-end testing on your own.</p>\n<ul>\n<li><p>Step 1: <a href=\"#authentication\">Get Authentication</a></p>\n<ul>\n<li>Once you send an auth request with your Client ID and Client Secret, the response will contain an access token which can be used to send other requests to the API.</li>\n</ul>\n</li>\n<li><p>Step 2: <a href=\"#68d6db52-0d8e-4e0d-8636-870087defe39\">GET /packages</a></p>\n<ul>\n<li>Retrieve a list of the packages available to you (a package is a group of screening products). The response will also specify which fields are required on a candidate in order to process the associated screening.</li>\n</ul>\n</li>\n<li><p>Step 3: <a href=\"#86ffcfa1-a703-4819-9d90-da0c1e8b1a8a\">POST /candidates</a></p>\n<ul>\n<li>Create a candidate. Minimum fields for creation are (first name, last name, email, and clientReferenceId). Further fields will likely be needed to initiate a screening on the candidate. The required fields can be identified via GET /packages.</li>\n</ul>\n</li>\n<li><p>Step 4: <a href=\"#9f0d3200-3091-4fd4-9487-80aad5028e20\">POST /screenings</a></p>\n<ul>\n<li>You will need a candidateId and packageId in order to create a screening. You have three workflow option for creating a screening. <ul>\n<li>Send the candidate an email invite. </li>\n<li>Receive a link to a form which you can either open within your app or on a new tab. </li>\n<li>If all required candidate fields already exist, simply initiate the screening. Additionally, you can specify a Callback URI in this request, which will allow you to receive real-time updates for the screenings you initiate.</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p>Step 5: Process screenings using the <a href=\"#dev-portal\">Developer Portal</a></p>\n<ul>\n<li>Credentials to log into the Dev Portal are the same as your Client ID and Client Secret. The Dev Portal will allow you to manually set results for your screenings for end-to-end testing.</li>\n</ul>\n</li>\n<li><p>Step 6: <a href=\"#callbacks\">Verify callbacks</a></p>\n<ul>\n<li>In a POST /screenings request, you can set a Callback URI so that you can receive real-time updates for that screening.</li>\n</ul>\n</li>\n</ul>\n<p><strong>Required Fields &amp; Data Collection</strong></p>\n<blockquote>\n<p><strong>Note</strong>: You’ll want to consider the required candidate fields so that you can design your application to collect the pertinent information.</p>\n<p><strong>Invite Feature</strong>: If you don't want to collect all of the required candidate information then the alternative is to have Sterling handle the data collection. To use this feature, set the attribute <code>invite.method</code> to <code>\"email\"</code> to send the candidate an email, or set <code>invite.method</code> to <code>\"link\"</code> to receive the form URL within the API response when you call <code>POST /screenings</code>.</p>\n</blockquote>\n<p><strong>Going Live</strong></p>\n<blockquote>\n<p>When going live, be sure to switch your host endpoint to the production environment. This will also require you to obtain <a href=\"#authentication\">authentication</a> credentials for that environment.</p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Environment</th>\n<th>Endpoint</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Integration</strong></td>\n<td><a href=\"https://api.us.int.sterlingcheck.app/v1\">https://api.us.int.sterlingcheck.app/v1</a></td>\n</tr>\n<tr>\n<td><strong>Production</strong></td>\n<td><a href=\"https://api.us.sterlingcheck.app/v1\">https://api.us.sterlingcheck.app/v1</a></td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"authentication\">Authentication</h1>\n<h2>Overview</h2>\n\n<p>The Sterling API uses OAuth2 for authorization and authentication.</p>\n<p>Requests to the Sterling API must be authenticated using short-lived <em>bearer token</em> in the <code>Authorization</code> header. Applications will obtain bearer tokens via the oauth endpoint:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Environment</th>\n<th>Endpoint</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Integration</strong></td>\n<td><a href=\"https://api.us.int.sterlingcheck.app/oauth/token\">https://api.us.int.sterlingcheck.app/oauth/token</a></td>\n</tr>\n<tr>\n<td><strong>Production</strong></td>\n<td><a href=\"https://api.us.sterlingcheck.app/oauth/token\">https://api.us.sterlingcheck.app/oauth/token</a></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>cURL</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>curl -X POST -H \"Authorization: Basic &lt;basic auth token&gt;\" \\\n-H 'Content-Type: application/x-www-form-urlencoded' \\\n-d 'grant_type=client_credentials' \\\nhttps://api.us.int.sterlingcheck.app/oauth/token\n</code></pre><p>When making a request to the oauth endpoint, the basic auth credentials must be a base64 encoded string in the format <code>client_id:client_secret</code>. These credentials are not provided through the API and must be obtained through <a href=\"http://api.sterlingtalentsolutions.com/#signup\">Sterling</a>.</p>\n<p><strong>Base64</strong></p>\n<blockquote>\n<p>The base64 encoded string for the credentials will remain unchanged unless your client_secret is changed at your request. </p>\n<p>For instance, <code>example@example.com:86753O9</code> will always encode as <code>ZXhhbXBsZUBleGFtcGxlLmNvbTo4Njc1M085</code>.</p>\n</blockquote>\n<p>If the provided credentials are valid, the oauth endpoint will provide a bearer token, along with an expiry time for the token (in seconds). An access_token will expire after 10 hours.</p>\n<p><strong>JSON</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"access_token\": \"RG8gcGVvcGxlIHJlYWxseSBkZWNvZGUgdGhlc2U/IEkgbWVhbiBzZXJpb3VzbHksIHRoaXMgaXMganVzdCBhIHRlc3QgaGFzaCEgV2VsbCwgaWYgeW91IG1hZGUgaXQgdGhpcyBmYXIsIGFsbG93IG1lIHRvIHJld2FyZCB5b3U6DQoNCmh0dHBzOi8vd3d3LnlvdXR1YmUuY29tL3dhdGNoP3Y9ZFF3NHc5V2dYY1E=\",\n  \"token_type\": \"bearer\",\n  \"expires_in\": 36000\n}\n</code></pre><p>This token should be cached until it expires, and must be passed in the <code>Authorization</code> header of each request as follows:</p>\n<p><strong>cURL</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>curl -H \"Authorization: Bearer RG8gcGVvcGxlIHJlYWxseSBkZWNvZGUgdGhlc2U/IEkgbWVhbiBzZXJpb3VzbHksIHRoaXMgaXMganVzdCBhIHRlc3QgaGFzaCEgV2VsbCwgaWYgeW91IG1hZGUgaXQgdGhpcyBmYXIsIGFsbG93IG1lIHRvIHJld2FyZCB5b3U6DQoNCmh0dHBzOi8vd3d3LnlvdXR1YmUuY29tL3dhdGNoP3Y9ZFF3NHc5V2dYY1E=\" \\\n-H \"Accept: application/json\" \\ \nhttps://api.us.int.sterlingcheck.app/v1/candidates/7212643\n</code></pre><p><strong>500 Errors</strong></p>\n<blockquote>\n<p>If you receive a 500 error on any API call using an Authorization header, please check that the format is \"Bearer [base64]\".</p>\n</blockquote>\n<h1 id=\"developer-portal\">Developer Portal</h1>\n<p>Sterling provides a <a href=\"https://developer.sterlingcheck.app/login\">Developer Portal</a> to facilitate testing integrations and ensure all potential workflows are taken into account. Within the Dev Portal you can see all of your submitted screenings, as well as change their statuses.</p>\n<blockquote>\n<p>The Dev Portal's functionality is specific to Sterling's <strong>test environment</strong>. You can log in with your client ID and secret once we have provisioned a test account and provided those credentials to you.</p>\n</blockquote>\n<p><img src=\"http://api.sterlingtalentsolutions.com/wp-content/uploads/2020/02/dev-portal.png\" alt=\"Developer Portal\"></p>\n<h1 id=\"callbacks\">Callbacks</h1>\n<p>Background screenings involve gathering information from a variety of public and proprietary records, and as a result the response times for screenings can be unpredictable. As an API user, you can receive notifications when important events related to your screening occur. To receive update notifications, include a <code>callback</code> when creating a screening or subscription.</p>\n<h2>Callback Types</h2>\n\n<p>The callback <code>type</code> field supports future extensibility. At present, all callbacks are of the <code>screening</code> type.</p>\n<p>Additional callback types may be introduced in the future. These new callback types will follow the same pattern as existing callbacks: the callback url will be specified in the <code>POST</code> request for the resource. This means that you are free to create one callback handling service exclusively for screenings and other services for each other callback type.</p>\n<p>Alternatively, clients may implement a single general-purpose callback handler for all Sterling API callbacks. In that situation, the callback handler can use the <code>type</code> field to identify the message type and ensure that the intended parsing or business rules are applied only to the expected message types.</p>\n<p><strong>Retries</strong></p>\n<blockquote>\n<p>Callbacks will retry every 15 minutes until an HTTP 200 success response is returned from your server. The retries will attempt 9 more times after the original (for a total of 10 attempts).</p>\n</blockquote>\n<br>\n\n<p><em>Screening Callbacks</em></p>\n<p>The most common callback <code>type</code> will be a screening, as it is the object that will receive the most changes over time. A sample JSON payload for a screening callback can be seen below.</p>\n<p><strong>JSON</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"type\": \"screening\",\n  \"payload\": {\n    \"id\": \"001000063194810\",\n    \"packageId\": \"101337\",\n    \"candidateId\": \"8675309\",\n    \"status\": \"complete\",\n    \"result\": \"alert\",\n    \"reportItems\": [\n      {\n        \"id\": \"62113371\",\n        \"type\": \"Multi-State Instant Criminal Check\",\n        \"status\": \"complete\",\n        \"result\": \"no data\",\n        \"updatedAt\": \"2016-07-08T21:42:46Z\"\n      },\n      {\n        \"id\": \"62113372\",\n        \"type\": \"Nationwide Sex Offender Registry Check\",\n        \"status\": \"complete\",\n        \"result\": \"alert\",\n        \"updatedAt\": \"2016-07-08T21:42:46Z\"\n      }\n    ],\n    \"submittedAt\": \"2017-04-26T20:41:27Z\",\n    \"updatedAt\": \"2017-04-26T20:42:16Z\",\n    \"dispute\": {\n      \"status\": \"active\",\n      \"createdAt\": \"2017-04-26T20:41:27Z\"\n    },\n    \"links\": {\n      \"admin\": {\n        \"web\": \"https://integration.talentwise.com/screening/report.php?ApplicantID=63194810\",\n        \"pdf\": \"https://integration.talentwise.com/screening/pdf-report.php?ApplicantID=63194810\"\n      }\n    },\n    \"adverseActions\": [\n      {\n        \"id\": \"001000063194810\",\n        \"status\": \"awaiting-dispute\",\n        \"updatedAt\": \"2017-04-26T20:41:27Z\",\n        \"reportItemIds\": [\n          \"62113372\"\n        ]\n      }\n    ]\n  }\n}\n</code></pre><br>\n\n<p><em>Callback Statuses</em></p>\n<p>Every screening callback will have a <code>status</code> property in its payload. The value of <code>status</code> will change depending on the status of each item in <code>reportItems</code>.</p>\n<br>\n\n<p><em>Package(Payload) Statuses</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>new</td>\n<td>A new report was created.</td>\n</tr>\n<tr>\n<td>complete</td>\n<td>All report items are set to complete within the package.</td>\n</tr>\n<tr>\n<td>pending</td>\n<td>At least 1 report item within this package has a status of pending.</td>\n</tr>\n<tr>\n<td>release</td>\n<td>A report item within this package is awaiting onset form.</td>\n</tr>\n<tr>\n<td>cancelled</td>\n<td>Either the candidate did not submit their data by the expiration time or the API user account does not have the ability to create tickets.</td>\n</tr>\n<tr>\n<td>n/a, error, other</td>\n<td>Any other status should be treated as an error.</td>\n</tr>\n</tbody>\n</table>\n</div><br>\n\n<p><em>Report Results</em></p>\n<p>A report's <code>result</code> property will give a more detailed description of the response.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Result</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clear</td>\n<td>Everything good, the screening passes.</td>\n</tr>\n<tr>\n<td>alert</td>\n<td>Something found. The screening needs review.</td>\n</tr>\n<tr>\n<td>client criteria</td>\n<td>Check clientCriteriaResult which will have more information on whether or not the result meets a custom criteria.</td>\n</tr>\n</tbody>\n</table>\n</div><br>\n\n<p><em>Report Statuses</em></p>\n<p>Each individual report may have their own statuses and these will vary upon the type of report processed.</p>\n<p>If using these statuses, it's best practice to only concern yourself with the most common values. Here's a list of the top common report status values.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Complete</td>\n<td>The report has completed and <code>result</code> property is populated.</td>\n</tr>\n<tr>\n<td>Pending</td>\n<td>The report started but is not completed yet.</td>\n</tr>\n<tr>\n<td>Other</td>\n<td>Any other status should be treated as an error.</td>\n</tr>\n<tr>\n<td>Expired</td>\n<td>The report started but has expired due to inactivity.</td>\n</tr>\n</tbody>\n</table>\n</div><br>\n\n<p><strong>Callback Consumption</strong></p>\n<blockquote>\n<p>Callbacks from the Sterling API support data consumption in chunked and non-chunked variants. Chunking is possible when the callback payload data exceeds 1MB in size.</p>\n</blockquote>\n<h1 id=\"idempotency\">Idempotency</h1>\n<p>The Sterling API supports the use of an <code>idempotency-key</code> in your screening requests, which allows you to safely retry these requests without accidentally performing the same operation twice. This is helpful if there are networking issues and you wanted to guarantee that you do not create duplicate screenings.</p>\n<p>An idempotency key can be unique value of your choice and how you create these keys is up to you. To avoid collisions within your own account, try using unpredictable string values or a random V4 UUID. </p>\n<p>If a screening request fails when using the <code>idempotency-key</code>, retry using the same key value in order to guarantee that only one screening is created.</p>\n<p><strong>Key Expiration</strong></p>\n<blockquote>\n<p>Any value used as an idempotency key to successfully create a new screening may be reused for <strong>24 hours</strong> after it is successfully associated with a screening record. Retrying screening attempts using the same key will not reset the expiration date and will continue to return the same screening associated with that key until the 24 hour expiration window is met. After the 24 hour window has passed, a new screening can and will be created with the same idempotency key.</p>\n</blockquote>\n<p><strong>cURL</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>curl -X POST 'https://api.us.int.sterlingcheck.app/v1/screenings' \\\n-H \"Authorization: Bearer &lt;access token&gt;\" \\\n-H 'Content-Type: application/json' \\\n-H 'idempotency-key: \"ccf492f0-231a-45eb-bc29-8e3687445715\"' \\\n-d '{\n    \"packageId\": \"96193\",\n    \"candidateId\": \"001c8b73-4b0d-4dac-bcc0-479bf91f222a\"   \n}'\n</code></pre><h1 id=\"errors\">Errors</h1>\n<h2>Overview</h2>\n\n<p>Sterling uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the <code>2xx</code> range indicate a success, codes in the <code>4xx</code> range indicate a request that failed given the information provided (e.g. a required parameter was omitted, format issues, etc.), and codes in the <code>5xx</code> range indicate an error with Sterling's servers.</p>\n<p>When a request is valid but does not complete successfully, we return a <code>400#</code> error code. Below you'll find more detailed information about the possible errors you can expect.</p>\n<h2>Error Format</h2>\n\n<p>The expected format for an error is as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"errors\": [\n        {\n            \"code\": \"400#[optional-object]?[optional-reason]\",\n            \"message\": \"[optional-message]\"\n        }\n    ]\n}\n</code></pre><p><strong>Error <em>Code</em> Format</strong></p>\n<ul>\n<li>Example: 400#dob?format</li>\n<li>HTTP error code (i.e. 400#)</li>\n<li>Offending field when relevant (e.g. dob)</li>\n<li>Brief message when applicable (e.g. format or required)</li>\n</ul>\n<p><strong>Error <em>Message</em> Format</strong></p>\n<ul>\n<li>The error message provides more context as to why the error occurred (e.g. <code>\"message\": \"dob must be in the format of YYYY-MM-DD\"</code>)</li>\n</ul>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"errors\": [\n        {\n            \"code\": \"400#dob?format\",\n            \"message\": \"dob must be in the format of YYYY-MM-DD\"\n        }\n    ]\n}\n</code></pre><blockquote>\n<p>Since the error <code>message</code> can change from time to time, we highly recommend you key off of the error <code>code</code> if you plan implement any automation for errors.</p>\n</blockquote>\n<h2>Candidate Validation Errors</h2>\n\n<p><strong>Required Fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Reason</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400#address.addressLine</td>\n<td>addressLine is required if address is present</td>\n</tr>\n<tr>\n<td>400#address.countryCode</td>\n<td>countryCode is required if address is present</td>\n</tr>\n<tr>\n<td>400#address.postalCode</td>\n<td>postalCode is required if address is present</td>\n</tr>\n<tr>\n<td>400#candidate?required-fields=address.city</td>\n<td>Candidate is missing required field for identity verification: address.city</td>\n</tr>\n<tr>\n<td>400#candidate?required-fields=address.addressLine</td>\n<td>Candidate is missing required field for identity verification: address.addressLine</td>\n</tr>\n<tr>\n<td>400#candidate?required-fields=address.state</td>\n<td>Candidate is missing required field for identity verification: address.state</td>\n</tr>\n<tr>\n<td>400#candidate?required-fields=address.zip</td>\n<td>Candidate is missing required field for identity verification: address.zip</td>\n</tr>\n<tr>\n<td>400#candidate?required-fields=dob</td>\n<td>Candidate is missing required field for identity verification: dob</td>\n</tr>\n<tr>\n<td>400#candidate?required-fields=dob</td>\n<td>Candidate is missing required field for package: dob</td>\n</tr>\n<tr>\n<td>400#candidate?required-fields=middleName</td>\n<td>Candidate is missing required field for package: middleName (or confirmedNoMiddleName set to true)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Examples</strong></p>\n<p><em>Error Message</em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"errors\": [\n    {\n      \"code\": \"400#givenName\",\n      \"message\": \"givenName is required\"\n    }\n  ]\n}\n</code></pre><p><em>Solution</em></p>\n<p>Include the \"givenName\" field in the candidate object:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    //...\n    \"givenName\": \"John\",\n    //...\n}\n</code></pre><br>\n\n<p><em>Error Message</em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"errors\": [\n    {\n      \"code\": \"400#address.addressLine\",\n      \"message\": \"if address is provided, addressLine is required\"\n    }\n  ]\n}\n</code></pre><p><em>Solution</em></p>\n<p>In the \"address\" sub-object, include an \"addressLine\" field:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    //...\n    \"givenName\": \"John\",\n    //..\n    \"address\": {\n         \"addressLine\": \"123 Example Street\",\n         \"municipality\": \"ATLANTA\",\n         //..\n     }\n}\n</code></pre><h2>Format Validation Errors</h2>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Reason</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400#dob?format</td>\n<td>dob must be in the format of <code>YYYY-MM-DD</code></td>\n</tr>\n<tr>\n<td>400#ssn?format</td>\n<td>ssn is not in the expected format</td>\n</tr>\n<tr>\n<td>400#phone?format</td>\n<td>phone is not in the expected format</td>\n</tr>\n<tr>\n<td>400#email?format</td>\n<td>email is not in the expected format</td>\n</tr>\n<tr>\n<td>400#address.regionCode?format</td>\n<td>regionCode format</td>\n</tr>\n<tr>\n<td>400#address.postalCode?format</td>\n<td>postalCode format</td>\n</tr>\n<tr>\n<td>400#address.countryCode?format</td>\n<td>countryCode format</td>\n</tr>\n</tbody>\n</table>\n</div><h2>Screening Errors</h2>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Reason</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400#adverse-action-already-in-process</td>\n<td>An adverse action has already been initiated for this screening</td>\n</tr>\n<tr>\n<td>400#adverse-action?configuration</td>\n<td>Adverse Action has not been configured for this account</td>\n</tr>\n<tr>\n<td>400#report-status-not-ready</td>\n<td>Screening is not eligible for adverse action at this time</td>\n</tr>\n<tr>\n<td>400#reportItemIds?not-allowed</td>\n<td>This report does not allow you to include the reason for initiating Adverse Action. Please remove the reportItemId(s) and resubmit.</td>\n</tr>\n<tr>\n<td>409#clientReferenceId?already-in-use</td>\n<td>clientReferenceId already in use</td>\n</tr>\n<tr>\n<td>409#email?already-in-use</td>\n<td>email already in use</td>\n</tr>\n<tr>\n<td>400#identityId</td>\n<td>Trusted identifier already assigned to this candidate</td>\n</tr>\n<tr>\n<td>400#fileName</td>\n<td>fileName is required</td>\n</tr>\n<tr>\n<td>400#driversLicense.licenseNumber?format</td>\n<td>licenseNumber is not in the expected format</td>\n</tr>\n<tr>\n<td>400#driversLicense.issuingAgency?format</td>\n<td>issuingAgency is not in the expected format</td>\n</tr>\n<tr>\n<td>400#kba.answers?failed</td>\n<td>Too many incorrect answers</td>\n</tr>\n<tr>\n<td>400#kba.answers?invalid-selection</td>\n<td>Answer given for questionId {1-4} does not match any option</td>\n</tr>\n<tr>\n<td>400#candidate?required-fields=address.city</td>\n<td>Candidate {id} is missing required field for identity verification: address.city</td>\n</tr>\n<tr>\n<td>400#candidate?required-fields=address.addressLine</td>\n<td>Candidate {id} is missing required field for identity verification: address.addressLine</td>\n</tr>\n<tr>\n<td>400#candidate?required-fields=address.state</td>\n<td>Candidate {id} is missing required field for identity verification: address.state</td>\n</tr>\n<tr>\n<td>400#candidate?required-fields=address.postalCode</td>\n<td>Candidate {id} is missing required field for identity verification: address.postalCode</td>\n</tr>\n<tr>\n<td>422#identity?retry-limit-exceeded</td>\n<td>Retry limit exceeded</td>\n</tr>\n<tr>\n<td>400#candidateId?not-found</td>\n<td>candidateId must be a valid candidateId associated with the authenticated account</td>\n</tr>\n<tr>\n<td>400#kba.answers</td>\n<td>All kba questions must be answered</td>\n</tr>\n<tr>\n<td>400#packageId?not-found</td>\n<td>packageId must be an active packageId associated with the authenticated account</td>\n</tr>\n<tr>\n<td>400#trustedUserId?not-found</td>\n<td>trusted user must be a valid, active trusted user</td>\n</tr>\n<tr>\n<td>400#documentType</td>\n<td>documentType must be one of: [end-user-agreement, disclosure-and-authorization]</td>\n</tr>\n<tr>\n<td>400#party</td>\n<td>party must be one of: [candidate, trusted-user]</td>\n</tr>\n<tr>\n<td>400#ticketing</td>\n<td>Invalid value some-bad-value in field: ticketing</td>\n</tr>\n<tr>\n<td>400#schedule.startAt?format</td>\n<td>schedule.startAt must be a UTC time with date, hours, and minutes, like 2016-10-30T20:00:00.000Z</td>\n</tr>\n<tr>\n<td>400#candidate-and-package-already-subscribed</td>\n<td>A subscription already exists for this candidate and package</td>\n</tr>\n<tr>\n<td>400#schedule.endAt?format</td>\n<td>schedule.endAt must be a UTC time with date, hours, and minutes, like 2016-10-30T20:00:00.000Z</td>\n</tr>\n<tr>\n<td>400#candidate?required-fields=dob</td>\n<td>Candidate {id} is missing required field for package {id}: dob</td>\n</tr>\n<tr>\n<td>400#candidate?required-fields=middleName</td>\n<td>Candidate {id} is missing required field for package {id}: middleName</td>\n</tr>\n<tr>\n<td>400#identityId</td>\n<td>Trusted identifier already assigned to this candidate</td>\n</tr>\n<tr>\n<td>400#identityId</td>\n<td>identity id must belong to a verified identity</td>\n</tr>\n</tbody>\n</table>\n</div><h2>Rate Limiting</h2>\n\n<p>We hold ourselves to a high standard – and part of that means continuing to provide quality service to all customers. In order to make this is possible, the Sterling API is rate limited. </p>\n<p>If the rate limit is exceeded for the specified endpoint in your request, the API will respond with a <code>429 Too Many Requests</code> status code. </p>\n<p>Below is a table of the rate limiting thresholds for the most used endpoints:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>Requests / 5 Minute Period</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>/oauth/token</td>\n<td>125</td>\n</tr>\n<tr>\n<td>/candidates</td>\n<td>125</td>\n</tr>\n<tr>\n<td>/candidates/{id}</td>\n<td>500</td>\n</tr>\n<tr>\n<td>/screenings</td>\n<td>125</td>\n</tr>\n<tr>\n<td>/screenings/{id}</td>\n<td>500</td>\n</tr>\n</tbody>\n</table>\n</div><h3>Controlling Your Requests</h3>\n\n<p>There are several ways you can help control the amount of requests you make within limits: </p>\n<ul>\n<li><p>If you believe there is a possibility that the limits could be exceeded, it is advised that you use exponential backoff logic to retry the requests.</p>\n</li>\n<li><p>If processing a large batch of requests, you could implement a delay between requests.</p>\n</li>\n<li><p>Check your existing workflow for duplicate or unnecessary API requests. A common example would be making numerous authentication requests when an access token is already valid for the next 10 hours.</p>\n</li>\n<li><p>Create a webhook or use callbacks to receive real-time updates about a report instead of retrieving them in batches.</p>\n</li>\n</ul>\n<h1 id=\"versioning\">Versioning</h1>\n<p>This document describes Sterling API version 1. The Sterling API follows semantic versioning, which means that we are committed to maintaining this API without <em>breaking</em> changes. The Sterling API considers any removal or renaming of an API endpoint or JSON field from an API response to be a breaking change. Additions of new <em>required</em> input fields would also be incompatible with existing client code, so any newly-added input fields will always be optional.</p>\n<p>Although fields will not be <em>removed</em> from responses, fields may be added to introduce new capabilities. Applications consuming this API should use permissive deserialization techniques when parsing JSON responses. It will always be safe to ignore unrecognized, optional fields.</p>\n<p><strong>Example of Permissive Deserialization</strong></p>\n<blockquote>\n<p>When using the Jackson JSON parsing library for Java, clients should disable the <code>DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES</code> flag.</p>\n</blockquote>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Getting Started","slug":"getting-started"},{"content":"Authentication","slug":"authentication"},{"content":"Developer Portal","slug":"developer-portal"},{"content":"Callbacks","slug":"callbacks"},{"content":"Idempotency","slug":"idempotency"},{"content":"Errors","slug":"errors"},{"content":"Versioning","slug":"versioning"}],"owner":"902667","collectionId":"9b53fca1-0578-4596-97ba-14daa47e54da","publishedId":"S1Lr5BHV","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303F49","highlight":"FF2C00"},"publishDate":"2021-01-30T00:03:37.000Z"},"item":[{"name":"API Endpoints","item":[{"name":"Auth","item":[{"name":"Generate Access Token","event":[{"listen":"test","script":{"id":"c7868082-53bb-4ade-9bc6-9479778bd778","exec":["var jsonData = JSON.parse(responseBody);","tests[\"jwt token valid\"] = !!jsonData.access_token;","","postman.setGlobalVariable(\"bearer_token\", jsonData.access_token);"],"type":"text/javascript"}}],"id":"f41467db-aa77-413f-9fe4-023dd026ba6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Basic <basic auth token>","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text"}]},"url":"{{host}}/oauth/token","urlObject":{"path":["oauth","token"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"68e71449-cc93-4fd6-9131-c89786697a09","name":"Generate Access Token","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic <basic auth token>","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text"}]},"url":"{{host}}/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1822"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Sat, 21 Mar 2020 00:39:35 GMT"},{"key":"x-amzn-RequestId","value":"0dc10664-ac33-42d9-99cb-b9552438940f"},{"key":"x-amzn-Remapped-Content-Length","value":"1822"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"x-amz-apigw-id","value":"JtxLGEq_oAMFvBw="},{"key":"Request-Id","value":"0202da91-9052-41ae-9eea-23658022fde7"},{"key":"x-amzn-Remapped-Date","value":"Sat, 21 Mar 2020 00:39:35 GMT"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 112d82578d402a38d8d02e8b857617e1.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SEA19-C2"},{"key":"X-Amz-Cf-Id","value":"5cvnQy1Cbogc8tplrG-sycRYdp1XYkE4DuBq3u8SBkJM7t7E411wag=="}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2FwaS5rZW5uZWN0LmNvbS8iLCJzdWIiOiJnb2R6aWxsYSIsInJvbGVzIjpbIi9pbnR2MS9QT1NUL3NjcmVlbmluZ3MiLCIvaW50djEvR0VUL3NjcmVlbmluZ3Mve2FueX0iLCIvaW50djEvR0VUL3NjcmVlbmluZ3MiLCIvaW50djEvUE9TVC9zY3JlZW5pbmdzL3thbnl9L3JlcG9ydC1saW5rcyIsIi9pbnR2MS9QT1NUL3NjcmVlbmluZ3Mve2FueX0vZG9jdW1lbnRzIiwiL2ludHYxL0dFVC9hY2NvdW50cyIsIi9pbnR2MS9HRVQvc2NyZWVuaW5ncy97YW55fS9yZXBvcnQucGRmIiwiL2ludHYxL0dFVC9zY3JlZW5pbmdzL3thbnl9L3JlcG9ydCIsIi9pbnR2MS9QT1NUL2NhbmRpZGF0ZXMiLCIvaW50djEvR0VUL2NhbmRpZGF0ZXMve2FueX0iLCIvaW50djEvR0VUL2NhbmRpZGF0ZXMiLCIvaW50djEvUFVUL2NhbmRpZGF0ZXMve2FueX0iLCIvaW50djEvREVMRVRFL2NhbmRpZGF0ZXMve2FueX0iLCIvaW50djEvR0VUL2NhbGxiYWNrcy97YW55fS9kZXRhaWxzIiwiL2ludHYxL1BVVC9jYWxsYmFja3Mve2FueX0iLCIvaW50djEvR0VUL2JpbGwtY29kZXMiLCIvaW50djEvUE9TVC9vYXV0aCIsIi9pbnR2MS9HRVQvb2F1dGgiLCIvaW50djEvR0VUL3BhY2thZ2VzL3thbnl9IiwiL2ludHYxL0dFVC9wYWNrYWdlcyIsIi9pbnR2MS9HRVQvZ29kemlsbGEvbWV0cmljcyIsIi9pbnR2MS9QVVQvc2NyZWVuaW5ncy97YW55fS9zZXQtY29tcGxldGUiXSwidXNlcklkIjoiZ29kemlsbGEiLCJwbGF0Zm9ybUlkIjoic2QiLCJpYXQiOjE1ODQ3NTExNzUsImV4cCI6MTU4NDc4NzE3NX0.Wu4e3UVauTD10cOLYLXtFgejc4ilIrYGB_BmfX9RzZezfplIWKQ_rf9nG9xyiDzpFuBUX53nzV-qWvGt7JbQm1gTbgUkEDcBctvf6c-ueqIHchg_n2IIW2XXxw_m-bqAHfLPLNKTZjp8TM99piHLYM4yWlvt-k5O9Utr5W_PvOwF24ZGjBG2jbkfa57lP5ZnLBQYsMAJokL_sQQtugIde0aHHTlI8s-qI2RmmHc8t4T1MCXVSCuRBojkAm6JGcmwqcb7WTyhTuR1DuR-eGF7EjFc3KSnwIcTYZNvBKsk8wy36CZrTT-y8xFWBC6HizliuAnLstuFYEWpZqwdbJXUTdchh8mZ7d20rbhPMCR8VqgG-yj1eTkTzzSev1xLZwjZ35m1jFEMAll6WAKxY9EJiW6h88PAQXQnSLDXuKKUKA9bN35JlvqgjGaXcVqwaX0fSxgrh9KgkDbkz5XIukhlP1cKgkJk2m-rbc1p7ZpNyse-9cA_klkVX-zZ41kjQQ-1_2dfH3iFHuwxjRdJ4Sl3sUT06IQXox4mtG1tU5PvhmdGMv3DESarrhYcNR_oUmp11siLhPgHX_qxp1tOZCUNofF1p_1O6xvAbdL5vYY0LJ9R3lvFAck0hnRW7puLYve4_PeCJpNgv4ZYlpZ_xPfVNdrgHCiYJlYmoejGnbwd104\",\n    \"token_type\": \"bearer\",\n    \"expires_in\": \"36000\"\n}"}],"_postman_id":"f41467db-aa77-413f-9fe4-023dd026ba6e"}],"id":"d6be9647-fdae-4c82-9455-50310db5da75","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Environment</th>\n<th>Endpoint</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Integration</td>\n<td><a href=\"https://api.us.int.sterlingcheck.app/oauth/token\">https://api.us.int.sterlingcheck.app/oauth/token</a></td>\n</tr>\n<tr>\n<td>Production</td>\n<td><a href=\"https://api.us.sterlingcheck.app/oauth/token\">https://api.us.sterlingcheck.app/oauth/token</a></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>cURL</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>curl -X POST \\\n-H \"Authorization: Basic &lt;basic auth token&gt;\" \\\n-H 'Content-Type: application/x-www-form-urlencoded' \\\n-d 'grant_type=client_credentials' \\\nhttps://api.us.int.sterlingcheck.app/oauth/token\n</code></pre><p>When making a request to the oauth endpoint, the basic auth credentials must be a base64 encoded string in the format <code>client_id:client_secret</code>. These credentials are not provided through the API and must be obtained through <a href=\"http://api.sterlingtalentsolutions.com/#signup\">Sterling</a>.</p>\n","event":[{"listen":"prerequest","script":{"id":"10560f9a-948d-43bc-9f72-3b454d4605ad","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9b14160d-b4f5-44c5-8a9f-caf1fc2cb342","type":"text/javascript","exec":[""]}}],"_postman_id":"d6be9647-fdae-4c82-9455-50310db5da75"},{"name":"Packages","item":[{"name":"All Packages","event":[{"listen":"test","script":{"id":"10da65e0-4814-49f6-b544-d6849eebdfbb","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"68d6db52-0d8e-4e0d-8636-870087defe39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"}],"url":"{{host}}/v1/packages","description":"<p>Return a list of all available packages.</p>\n","urlObject":{"path":["v1","packages"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"99882a5b-a07c-4d43-b8a3-a05dde6a1cd0","name":"List All Packages","originalRequest":{"method":"GET","header":[],"url":"{{host}}/v1/packages"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"9206"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 01 May 2019 23:35:36 GMT"},{"key":"x-amzn-RequestId","value":"d0f53f44-6c69-11e9-8cc0-d321f373349e"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZBwDAGHDIAMFwkg="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5cca2d46-ecd78fd0bd996ad0b9a05452;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 c772176b119045d2ed52ef4f42db5fe0.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"tdEVH8xl_wcjgZewbAbhpUxvMkG7vv-XWqJo6hzYBlNyOsoEs8xmIw=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"1234\",\n        \"title\": \"My Screening Package\",\n        \"active\": true,\n        \"type\": \"invoice-billing\",\n        \"components\": [\n            \"SSN Trace\",\n            \"Criminal County Search (7-Year Address History)\",\n            \"Federal Criminal Check\",\n            \"Multi-State Instant Criminal Check With Verification\",\n            \"Nationwide Sex Offender Registry Check\"\n        ],\n        \"requiredFields\": [\n            \"address.addressLine\",\n            \"dob\",\n            \"familyName\",\n            \"givenName\",\n            \"ssn\",\n            \"address.postalCode\"\n        ]\n    },...\n]"}],"_postman_id":"68d6db52-0d8e-4e0d-8636-870087defe39"},{"name":"Package Price","id":"d83f35df-b7c0-4d41-ba7a-b699a507fdc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"}],"url":"{{host}}/v1/packages/{package_id}/price?candidateId={{candidate_id}}","description":"<p>Return the price of a screening based on the package <code>id</code> and <code>candidateId</code> provided.</p>\n","urlObject":{"path":["v1","packages","{package_id}","price"],"host":["{{host}}"],"query":[{"description":{"content":"<p>candidate id you are looking to price</p>\n","type":"text/plain"},"key":"candidateId","value":"{{candidate_id}}"}],"variable":[]}},"response":[{"id":"342bcbab-dbfc-47c3-814a-9579c7eba42d","name":"Candidate Missing Fields","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/v1/packages/8398190/price?candidateId=1234","host":["{{host}}"],"path":["v1","packages","8398190","price"],"query":[{"key":"candidateId","value":"1234","description":"candidate id you are looking to price"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"34"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 17:57:37 GMT"},{"key":"x-amzn-RequestId","value":"bfc3089e-6d03-11e9-9750-f5a11648ff7e"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZERdRGvooAMFdIw="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb2f88-7f2b4948f4bd753860242a84"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 2d5ae77baf1e996b29b17b6541abf9c2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"ELW9uRmtZckcYkBxz6f2uZQdi9OIM8cIHaXiNybjD4UXNIXXaMvXnA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#candidate?required-fields=address.addressLine\",\n            \"message\": \"Candidate {{id}} is missing required field for package {{id}}: address.addressLine.\"\n        },\n        {\n            \"code\": \"400#candidate?required-fields=dob\",\n            \"message\": \"Candidate {{id}} is missing required field for package {{id}}: dob.\"\n        },\n        {\n            \"code\": \"400#candidate?required-fields=ssn\",\n            \"message\": \"Candidate {{id}} is missing required field for package {{id}}: ssn.\"\n        },\n        {\n            \"code\": \"400#candidate?required-fields=address.postalCode\",\n            \"message\": \"Candidate {{id}} is missing required field for package {{id}}: address.postalCode.\"\n        }\n    ]\n}"},{"id":"4562de08-36c6-494e-9c57-079f57abae58","name":"Get Package Price","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/v1/packages/8398190/price?candidateId=988638140","host":["{{host}}"],"path":["v1","packages","8398190","price"],"query":[{"key":"candidateId","value":"988638140","description":"candidate id you are looking to price"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"34"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 01 May 2019 23:44:56 GMT"},{"key":"x-amzn-RequestId","value":"115ba630-6c6b-11e9-8f4c-613eedb249c4"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZBxXAELBoAMFRsA="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5cca2f60-b3f62d081e7eab84370ff500"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 5f96bc4a22f6baa91bf4a4bb246e4ff9.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"LgM5NH4xDoZK-dN36Al6eK5HFc8OJSY5SAgMch7Sipro57lpfK-gkA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"currencyType\": \"USD\",\n    \"total\": 195.16\n}"},{"id":"98787ab2-a58b-4861-9b60-9ea3c5ed668e","name":"Invalid Candidate","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{host}}/v1/packages/8398190/price?candidateId=1234","host":["{{host}}"],"path":["v1","packages","8398190","price"],"query":[{"key":"candidateId","value":"1234","description":"candidate id you are looking to price"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"143"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 17:50:28 GMT"},{"key":"x-amzn-RequestId","value":"bfb4f3ad-6d02-11e9-af29-5b8c3dfaf9ef"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZEQaJEAfIAMFkfg="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb2dda-ce9ec09b76685087bfa439a0;Sampled=0"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 2d5ae77baf1e996b29b17b6541abf9c2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"5YRcc4KaXdfiE9sMJBQun5FlP0MW1ypPhxkNffcYDTCR6y3lQfA2Lg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#candidateId?not-found\",\n            \"message\": \"candidateId must be a valid candidateId associated with the authenticated account\"\n        }\n    ]\n}"}],"_postman_id":"d83f35df-b7c0-4d41-ba7a-b699a507fdc2"}],"id":"e280e604-371b-4085-bb58-63fbf13149b7","description":"<p>A \"package\" is essentially a container for products/screenings. You can think of <code>packages</code> as your team's predefined background screening recipes. The Sterling API provides a number of <em>components</em>, which are individual searches that can be bundled up into a single package. Common components do things like check driving records or criminal records in various jurisdictions (like count, state, or federal courts). Packages are unique to your account and are used to standardize the checks your account uses to screen individuals based on your company or organization's needs.</p>\n<p>A <code>GET</code> on the <code>/packages</code> endpoint provides a list of the packages defined for your account. The package response also lists the required <code>candidate</code> fields needed to initiate a screening with the package. Some components require more candidate data than others to successfully discover records related to the candidate, which means that different packages will have different required fields.</p>\n","event":[{"listen":"prerequest","script":{"id":"ad0fb1b4-ef91-40e3-a350-9a84daa9b735","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9d4b6448-5ad4-48fa-a080-f5152aabda3d","type":"text/javascript","exec":[""]}}],"_postman_id":"e280e604-371b-4085-bb58-63fbf13149b7"},{"name":"Candidates","item":[{"name":"Create Candidate","event":[{"listen":"test","script":{"id":"cf5c9cac-f69e-4e47-96fa-f8ea15cd0542","exec":["var jsonData = JSON.parse(responseBody);","tests[\"Status code is 201\"] = responseCode.code === 201;","postman.setGlobalVariable(\"candidate_id\", jsonData.id);","postman.setGlobalVariable(\"client_ref_id\", jsonData.clientReferenceId);","postman.setGlobalVariable(\"email\", jsonData.email);"],"type":"text/javascript"}}],"id":"86ffcfa1-a703-4819-9d90-da0c1e8b1a8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"clientReferenceId\": \"7db05754-1b33-456b-8c3f-384e6d8c4261\",\n    \"givenName\": \"John\",\n    \"familyName\": \"Doe\",\n    \"email\": \"1161b065-7520-47c6-a38c-50cff6546868@dispostable.com\",\n    \"ssn\": \"123456789\",\n    \"dob\": \"1990-01-01\",\n    \"address\": {\n        \"addressLine\": \"123 Sterling St.\",\n        \"municipality\": \"Bothell\",\n        \"regionCode\": \"US-WA\",\n        \"postalCode\": \"98011\",\n        \"countryCode\": \"US\"\n    }\n}"},"url":"{{host}}/v1/candidates","description":"<p>Creates a new candidate record. </p>\n<h3>Required Fields</h3>\n\n<p>The minimum required fields for any given candidate may differ depending on package that has been chosen. The best way to ensure that you are collecting all the data you need from your candidates is to look up the list of <code>requiredFields</code> using the <a href=\"#e280e604-371b-4085-bb58-63fbf13149b7\">Packages</a> resource. </p>\n<p>If you plan on using the <a href=\"#12ee780a-a784-4e34-8304-9ecccdfe3e7f\">Sterling Data Collection</a> flow, the only required fields the candidate will need are:</p>\n<ul>\n<li><code>givenName</code></li>\n<li><code>familyName</code></li>\n<li><code>email</code></li>\n<li><code>clientReferenceId</code></li>\n</ul>\n<blockquote>\n<p>The candidate's <code>email</code> and <code>clientReferenceId</code> must be unique. If you'd like to reuse an email, you could consider <a href=\"#99fd2a79-f790-41d2-a731-1d446db65cce\">updating the existing candidate</a> using the email to a new value.</p>\n</blockquote>\n<p>In addition to the required fields above, new screening requests using the <a href=\"#9f0d3200-3091-4fd4-9487-80aad5028e20\">Client-Side Data Collection</a> flow may need to provide:</p>\n<ul>\n<li><code>ssn</code></li>\n<li><code>dob</code></li>\n<li><code>address</code><ul>\n<li><code>addressLine</code></li>\n<li><code>municipality</code></li>\n<li><code>postalCode</code></li>\n<li><code>countryCode</code></li>\n<li><code>regionCode</code></li>\n</ul>\n</li>\n</ul>\n<p>The fields required to create a new screening with MVR are:</p>\n<ul>\n<li><code>driversLicense</code><ul>\n<li><code>type</code></li>\n<li><code>licenseNumber</code></li>\n<li><code>issuingAgency</code></li>\n</ul>\n</li>\n</ul>\n<p>Aside from formatting, the required fields are validated when you make a <a href=\"#9f0d3200-3091-4fd4-9487-80aad5028e20\">new screening request</a>. The package requirements will be used to validate that all the required fields are provided on the candidate.</p>\n<p><strong>Request Body Fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientReferenceId</td>\n<td>required</td>\n<td>An identifier, such as a user id, to facilitate linking candidates back to entities in your own system. Must be unique.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>required</td>\n<td>The email provided by the candidate. Must be a unique, valid email.</td>\n</tr>\n<tr>\n<td>givenName</td>\n<td>required</td>\n<td>The candidate's given or \"first\" name, such as \"Tim\" in \"Tim Duncan\".</td>\n</tr>\n<tr>\n<td>familyName</td>\n<td>required</td>\n<td>The candidate's family name, such as \"Rowling\" in \"Joanne K Rowling\".</td>\n</tr>\n<tr>\n<td>middleName</td>\n<td>optional</td>\n<td>The candidate's middle name, useful for differentiating between individuals with similar names in public record searches.</td>\n</tr>\n<tr>\n<td>confirmedNoMiddleName</td>\n<td>optional</td>\n<td><code>true</code> if the the candidate has no legal name. <code>false</code> if the candidate may have a legal middle name.</td>\n</tr>\n<tr>\n<td>dob</td>\n<td>optional</td>\n<td>Date of birth, formatted as an ISO-8601 date (without the time component). For example, July 4, 1979 would be represented as <code>\"1979-07-04\"</code>.</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>optional</td>\n<td>A phone number associated with the candidate, formatted as an <code>E.164</code> string, such as <code>+15555551234</code>.</td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>optional</td>\n<td>The Social Security Number of the candidate. Acceptable formats: <code>XXX-XX-XXXX</code>, <code>XXXXXXXXX</code></td>\n</tr>\n<tr>\n<td>address</td>\n<td>optional</td>\n<td>A candidate Address. Please refer to <a href=\"#7d9ba53f-3ef7-4eb2-8cfa-12e46b175df9\">Address</a>.</td>\n</tr>\n<tr>\n<td>driversLicense</td>\n<td>optional</td>\n<td>Driver's license information. Please refer to <a href=\"#90fde48a-08a3-4830-8e54-d499c7736913\">DriversLicense</a>.</td>\n</tr>\n<tr>\n<td>aliases</td>\n<td>optional</td>\n<td>List of candidate Aliases: Alternate information the candidate may also be known by. Please refer to <a href=\"#ffc20605-67b2-4c38-bb52-834728aec2d0\">CandidateAlias</a>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","candidates"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8d404be7-3fc2-471f-8ebd-40bf543f18f6","name":"Missing Required Field","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"clientReferenceId\": \"093ecfa6-493a-4e6e-9122-072f917d5e9g\",\n    \"confirmedNoMiddleName\": true,\n    \"familyName\": \"Doe\",\n    \"email\": \"john-test@example.com\"\n}"},"url":"{{host}}/v1/candidates"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"71"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 17:46:37 GMT"},{"key":"x-amzn-RequestId","value":"35b53182-6d02-11e9-8eee-b9acf6a61e55"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZEP19Fl_oAMFcxA="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb2cf2-11a752bda84b12f17e948423"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 2d5ae77baf1e996b29b17b6541abf9c2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"BW4FT3Vv0Godd586tsZ3hhxDRKKNcCHiSXR2HF72G3idHCQMSOZMhw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#givenName\",\n            \"message\": \"givenName is required\"\n        }\n    ]\n}"},{"id":"99b02155-b5a2-4e5b-b5ec-35b758ec4f42","name":"Using Existing Fields","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"clientReferenceId\": \"093ecfa6-493a-4e6e-9122-072f917d5e9f\",\n    \"givenName\": \"John\",\n    \"confirmedNoMiddleName\": true,\n    \"familyName\": \"Doe\",\n    \"email\": \"john-test@example.com\"\n}"},"url":"{{host}}/v1/candidates"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"174"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 17:42:39 GMT"},{"key":"x-amzn-RequestId","value":"aaedb264-6d01-11e9-8eac-512b971607ab"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZEPRlFXjoAMFlHg="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb2c0a-36a1b13fb9a42fb1c4b48657;Sampled=0"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 2d5ae77baf1e996b29b17b6541abf9c2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"WXRBlY1bi25KSaKQIObwh7ki8nFBcyVlSBiyaj6r4HYkbEX_KcxXnA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"409#clientReferenceId?already-in-use\",\n            \"message\": \"clientReferenceId already in use\"\n        },\n        {\n            \"code\": \"409#email?already-in-use\",\n            \"message\": \"email already in use\"\n        }\n    ]\n}"},{"id":"bcdf2495-0188-4cc4-b4d0-4dddddf554d4","name":"Create Candidate","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":"{\n    \"clientReferenceId\": \"e4e1ffda-caa3-ea6d-c095-be8429b31154\",\n    \"givenName\": \"John\",\n    \"confirmedNoMiddleName\": true,\n    \"familyName\": \"Doe\",\n    \"dob\": \"1998-07-18\",\n    \"email\": \"john-test@example.com\",\n    \"phone\": \"+14041231234\",\n    \"ssn\": \"123456789\",\n    \"address\": {\n     \"addressLine\": \"123 Sterling Street\",\n     \"municipality\": \"Bellevue\",\n     \"regionCode\": \"US-WA\",\n     \"postalCode\": \"98011\",\n     \"countryCode\": \"US\"\n    },\n    \"driversLicense\": {\n      \"type\": \"personal\",\n      \"licenseNumber\": \"S1234567\",\n      \"issuingAgency\": \"CA\"\n    },\n    \"aliases\": [{\n      \"givenName\": \"Robert\",\n      \"familyName\": \"Saur\",\n      \"middleName\": \"William\",\n      \"confirmedNoMiddleName\": false \n    },{\n       \"givenName\": \"Simon\",\n       \"familyName\": \"Duck\",\n       \"confirmedNoMiddleName\": true\n    }]\n  }"},"url":"{{host}}/v1/candidates"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"653"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 16:24:09 GMT"},{"key":"x-amzn-RequestId","value":"b088caa9-6cf6-11e9-aca2-15319877eb1c"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZEDw3HCJoAMFvEA="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb199f-d0407ba07437fbd8b524fbc0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 1019c7748e9bd9371b8cbc3777f0a40e.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"_8t3AeHIaXkmdZ2Ydtmj1BcLnDFOWMi6Va5I2eDXgBzShXr9ZCI79g=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"988293912\",\n    \"clientReferenceId\": \"e4e1ffda-caa3-ea6d-c095-be8429b31154\",\n    \"email\": \"john-test@example.com\",\n    \"givenName\": \"John\",\n    \"familyName\": \"Doe\",\n    \"confirmedNoMiddleName\": true,\n    \"dob\": \"1998-07-18\",\n    \"ssn\": \"123456789\",\n    \"phone\": \"+14041231234\",\n    \"address\": {\n        \"addressLine\": \"123 Sterling Street\",\n        \"municipality\": \"Bellevue\",\n        \"regionCode\": \"US-WA\",\n        \"postalCode\": \"98011\",\n        \"countryCode\": \"US\"\n    },\n    \"aliases\": [\n        {\n            \"givenName\": \"Robert\",\n            \"familyName\": \"Saur\",\n            \"middleName\": \"William\",\n            \"confirmedNoMiddleName\": false\n        },\n        {\n            \"givenName\": \"Simon\",\n            \"familyName\": \"Duck\",\n            \"confirmedNoMiddleName\": true\n        }\n    ],\n    \"screeningIds\": [],\n    \"driversLicense\": {\n        \"type\": \"personal\",\n        \"licenseNumber\": \"S1234567\",\n        \"issuingAgency\": \"CA\"\n    }\n}"}],"_postman_id":"86ffcfa1-a703-4819-9d90-da0c1e8b1a8a"},{"name":"Update Candidate","event":[{"listen":"test","script":{"id":"27ecd530-4f3d-4fec-b548-e9accaa1abc3","exec":["var jsonData = JSON.parse(responseBody);","tests[\"Status code is 200\"] = responseCode.code === 200;","","postman.setGlobalVariable(\"email\", jsonData.email);"],"type":"text/javascript"}}],"id":"99fd2a79-f790-41d2-a731-1d446db65cce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"clientReferenceId\": \"adde719f-9b60-47a4-a397-5161f912f2a2\",\n    \"givenName\": \"John\",\n    \"familyName\": \"Smith\",\n    \"email\": \"296a198e-d6a0-445f-a55e-ec5f9e804fd0@dispostable.com\",\n    \"ssn\": \"123456789\",\n    \"dob\": \"1990-01-01\",\n    \"address\": {\n      \"addressLine\": \"123 Sterling St.\",\n      \"municipality\": \"Bothell\",\n      \"regionCode\": \"US-WA\",\n      \"postalCode\": \"98011\",\n      \"countryCode\": \"US\"\n    }\n}"},"url":"{{host}}/v1/candidates/{{candidate_id}}","description":"<p>Update an existing candidate's information.</p>\n<ul>\n<li>Removing a field or setting a <code>null</code> value in your request will delete that data from the candidate as long as it is not required.</li>\n<li>Providing an empty value on an existing field will not remove it from the candidate. This value will be validated against the individual field's requirements.</li>\n<li>Providing a new value on an existing field will update its current value to the new value. <code>clientReferenceId</code> cannot be updated.</li>\n</ul>\n<p><strong>Candidates with Existing Screenings</strong></p>\n<blockquote>\n<p>When you create a new screening, the data that is collected will be what was currently set on the candidate at that time. Updating the candidate afterwards will not impact their existing screenings.</p>\n</blockquote>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientReferenceId</td>\n<td>optional</td>\n<td>An identifier, such as a user id, to facilitate linking candidates back to entities in your own system. Must be unique.</td>\n</tr>\n<tr>\n<td>email</td>\n<td>required</td>\n<td>The email provided by the candidate. Must be a unique, valid email.</td>\n</tr>\n<tr>\n<td>givenName</td>\n<td>required</td>\n<td>The candidate's given or \"first\" name, such as \"Tim\" in \"Tim Duncan\".</td>\n</tr>\n<tr>\n<td>familyName</td>\n<td>required</td>\n<td>The candidate's family name, such as \"Rowling\" in \"Joanne K Rowling\".</td>\n</tr>\n<tr>\n<td>middleName</td>\n<td>optional</td>\n<td>The candidate's middle name, useful for differentiating between individuals with similar names in public record searches.</td>\n</tr>\n<tr>\n<td>confirmedNoMiddleName</td>\n<td>optional</td>\n<td><code>true</code> if the the candidate has no legal name. <code>false</code> if the candidate may have a legal middle name.</td>\n</tr>\n<tr>\n<td>dob</td>\n<td>optional</td>\n<td>Date of birth, formatted as an ISO-8601 date (without the time component). For example, July 4, 1979 would be represented as <code>\"1979-07-04\"</code>.</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>optional</td>\n<td>A phone number associated with the candidate, formatted as an <code>E.164</code> string, such as <code>+15555551234</code>.</td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>optional</td>\n<td>The Social Security Number of the candidate. Acceptable formats: <code>XXX-XX-XXXX</code>, <code>XXXXXXXXX</code></td>\n</tr>\n<tr>\n<td>address</td>\n<td>optional</td>\n<td>A candidate Address. Please refer to <a href=\"#7d9ba53f-3ef7-4eb2-8cfa-12e46b175df9\">Address</a>.</td>\n</tr>\n<tr>\n<td>driversLicense</td>\n<td>optional</td>\n<td>Driver's license information. Please refer to <a href=\"#90fde48a-08a3-4830-8e54-d499c7736913\">DriversLicense</a>.</td>\n</tr>\n<tr>\n<td>aliases</td>\n<td>optional</td>\n<td>List of candidate Aliases: Alternate information the candidate may also be known by. Please refer to <a href=\"#ffc20605-67b2-4c38-bb52-834728aec2d0\">CandidateAlias</a>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","candidates","{{candidate_id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"3c02be67-84f3-496e-813f-d873e80c4945","name":"Missing Required Field","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":"{\n  \"clientReferenceId\": \"e4e1ffda-caa3-ea6d-c095-be8429b31154\",\n  \"givenName\": \"Johnny\",\n  \"familyName\": \"Smith\"\n}"},"url":"{{host}}/v1/candidates/988293912"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"63"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 18:07:01 GMT"},{"key":"x-amzn-RequestId","value":"0f7f5d82-6d05-11e9-a3e8-47371c18feed"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZES1RFeMIAMFWtw="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb31bb-b973d7ca84c27c94cafcc3ac"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 7b01019810c971756b017bcc76055c79.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"g5jl1llLnPC01HlyBkmmc1F9P3zzptF_p5NweAD4MQ4xX9doXOX4rw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#email\",\n            \"message\": \"email is required\"\n        }\n    ]\n}"},{"id":"9d9f4734-8f4a-48ce-b8c1-68c258a272a3","name":"Update Candidate","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":"{\r\n  \"clientReferenceId\": \"e4e1ffda-caa3-ea6d-c095-be8429b31154\",\r\n  \"email\": \"new-john-email@example.com\",\r\n  \"givenName\": \"Johnny\",\r\n  \"familyName\": \"Smith\",\r\n  \"dob\": \"1975-02-28\",\r\n  \"ssn\": \"555555555\",\r\n  \"phone\": \"+12121231234\",\r\n  \"address\": {\r\n    \"addressLine\": \"222333 PEACHTREE PLACE\",\r\n    \"municipality\": \"ATLANTA\",\r\n    \"regionCode\": \"US-GA\",\r\n    \"postalCode\": \"30318\",\r\n    \"countryCode\": \"US\"\r\n  },\r\n  \"driversLicense\": {\r\n    \"type\": \"personal\",\r\n    \"licenseNumber\": \"S1234567\",\r\n    \"issuingAgency\": \"CA\"\r\n  }\r\n}"},"url":"{{host}}/v1/candidates/988293912"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"484"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 18:05:33 GMT"},{"key":"x-amzn-RequestId","value":"de325d2b-6d04-11e9-b7fa-79f69c8aabb5"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZESoWEK4IAMFSbQ="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb3168-f30d50685c1fb489c26e805c;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 7b01019810c971756b017bcc76055c79.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"nXg8wpNHIWGu10GbahFQ4b1F76f6Lob-IdfJhTVabGrh6aLM4O1imw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"988293912\",\n    \"clientReferenceId\": \"e4e1ffda-caa3-ea6d-c095-be8429b31154\",\n    \"email\": \"new-john-email@example.com\",\n    \"givenName\": \"Johnny\",\n    \"familyName\": \"Smith\",\n    \"confirmedNoMiddleName\": true,\n    \"dob\": \"1975-02-28\",\n    \"ssn\": \"555555555\",\n    \"phone\": \"+12121231234\",\n    \"address\": {\n        \"addressLine\": \"222333 PEACHTREE PLACE\",\n        \"municipality\": \"ATLANTA\",\n        \"regionCode\": \"US-GA\",\n        \"postalCode\": \"30318\",\n        \"countryCode\": \"US\"\n    },\n    \"screeningIds\": [],\n    \"driversLicense\": {\n        \"type\": \"personal\",\n        \"licenseNumber\": \"S1234567\",\n        \"issuingAgency\": \"CA\"\n    }\n}"}],"_postman_id":"99fd2a79-f790-41d2-a731-1d446db65cce"},{"name":"Get Candidate","event":[{"listen":"test","script":{"id":"53536aed-c397-4ea9-b08f-f68539ea2a5d","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"78006820-1cf5-4ff2-9a11-6a68d8c90249","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"}],"url":"{{host}}/v1/candidates/{{candidate_id}}","description":"<p>Retrieve a candidate by their unique <code>candidate_id</code>. This will return all the most recent information on the candidate.</p>\n","urlObject":{"path":["v1","candidates","{{candidate_id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"5e4b2858-8a82-4c52-a047-036540e3abd8","name":"Get Candidate","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"}],"url":"{{host}}/v1/candidates/988293912"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"484"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 18:25:19 GMT"},{"key":"x-amzn-RequestId","value":"a392dbb2-6d07-11e9-8250-e3b5513da553"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZEViUGSBoAMFToA="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb360e-68c04185ce003d5e6b561f86"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 17d601c1a37e4e7f1ee73eac5ce62cf4.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"ynFoxiDQ-ISfHghSQbnD_7dal3nTIOHRotsJSa1KAIJ2T6c6v3acwg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"988293912\",\n    \"clientReferenceId\": \"e4e1ffda-caa3-ea6d-c095-be8429b31154\",\n    \"email\": \"john-test@example.com\",\n    \"givenName\": \"John\",\n    \"familyName\": \"Doe\",\n    \"confirmedNoMiddleName\": true,\n    \"dob\": \"1998-07-18\",\n    \"ssn\": \"123456789\",\n    \"phone\": \"+14041231234\",\n    \"address\": {\n        \"addressLine\": \"123 Sterling Street\",\n        \"municipality\": \"Bellevue\",\n        \"regionCode\": \"US-WA\",\n        \"postalCode\": \"98011\",\n        \"countryCode\": \"US\"\n    },\n    \"aliases\": [\n        {\n            \"givenName\": \"Robert\",\n            \"familyName\": \"Saur\",\n            \"middleName\": \"William\",\n            \"confirmedNoMiddleName\": false\n        },\n        {\n            \"givenName\": \"Simon\",\n            \"familyName\": \"Duck\",\n            \"confirmedNoMiddleName\": true\n        }\n    ],\n    \"screeningIds\": [],\n    \"driversLicense\": {\n        \"type\": \"personal\",\n        \"licenseNumber\": \"S1234567\",\n        \"issuingAgency\": \"CA\"\n    }\n}"}],"_postman_id":"78006820-1cf5-4ff2-9a11-6a68d8c90249"},{"name":"All Candidates","event":[{"listen":"test","script":{"id":"3408d6cf-5d23-42b7-8b47-d6952380be85","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"a54ee13e-f064-40e3-bb34-0fc15943a1ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/candidates","description":"<p>Return a list of all available candidates. You may filter these results using the provided query params below.</p>\n","urlObject":{"path":["v1","candidates"],"host":["{{host}}"],"query":[{"disabled":true,"description":{"content":"<p>Filter by the provided clientReferenceId value.</p>\n","type":"text/plain"},"key":"clientReferenceId","value":"clientReferenceId"},{"disabled":true,"description":{"content":"<p>Filter by the provided email value.</p>\n","type":"text/plain"},"key":"email","value":"email"},{"disabled":true,"description":{"content":"<p>Filter by the provided given name.</p>\n","type":"text/plain"},"key":"givenName","value":"givenName"},{"disabled":true,"description":{"content":"<p>Filter by the provided family name.</p>\n","type":"text/plain"},"key":"familyName","value":"test"},{"disabled":true,"description":{"content":"<p>Limit results to the specified number.</p>\n","type":"text/plain"},"key":"limit","value":"limit"},{"disabled":true,"description":{"content":"<p>Offset the results by the specified number.</p>\n","type":"text/plain"},"key":"offset","value":"offset"}],"variable":[]}},"response":[{"id":"d619867d-efbe-48fe-a4a4-b4c9032b8275","name":"Get All Candidates","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/candidates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4414"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 19:26:46 GMT"},{"key":"x-amzn-RequestId","value":"33bc6634-6d10-11e9-8101-bd139a33d445"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZEeg-GILIAMFphQ="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb446c-a76822c82dfce71a1867fe09;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 097fbf718c1b805deaed8941b59761cc.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"AZVGaImbdklYULTB0rcNvGI7ELcXgrJCjjFEhHvQhFr1rZAuvaJWpg=="}],"cookie":[],"responseTime":null,"body":"[\n\t{\n\t  \"id\": \"988293912\",\n\t  \"clientReferenceId\": \"e4e1ffda-caa3-ea6d-c095-be8429b31154\",\n\t  \"email\": \"john-test@example.com\",\n\t  \"givenName\": \"John\",\n\t  \"familyName\": \"Doe\",\n\t  \"confirmedNoMiddleName\": true,\n\t  \"dob\": \"1998-07-18\",\n\t  \"ssn\": \"123456789\",\n\t  \"phone\": \"+14041231234\",\n\t  \"address\": {\n\t    \"addressLine\": \"123 Sterling Street\",\n\t    \"municipality\": \"Bellevue\",\n\t    \"regionCode\": \"US-WA\",\n\t    \"postalCode\": \"98011\",\n\t    \"countryCode\": \"US\"\n\t  },\n\t  \"aliases\": [\n\t    {\n\t      \"givenName\": \"Robert\",\n\t      \"familyName\": \"Saur\",\n\t      \"middleName\": \"William\",\n\t      \"confirmedNoMiddleName\": false\n\t    },\n\t    {\n\t      \"givenName\": \"Simon\",\n\t      \"familyName\": \"Duck\",\n\t      \"confirmedNoMiddleName\": true\n\t    }\n\t  ],\n\t  \"screeningIds\": [],\n\t  \"driversLicense\": {\n\t    \"type\": \"personal\",\n\t    \"licenseNumber\": \"S1234567\",\n\t    \"issuingAgency\": \"CA\"\n\t  }\n\t},...\n]"}],"_postman_id":"a54ee13e-f064-40e3-bb34-0fc15943a1ed"},{"name":"Generate Candidate Portal Link","id":"687d0a75-c51e-4b69-865f-2e96fd4ad23b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/candidates/{{candidate_id}}/links","description":"<p>Generate a new one-time use link to the Candidate portal will expire without use after 10 minutes. This link allows the candidate to view and complete their existing screenings.</p>\n","urlObject":{"path":["v1","candidates","{{candidate_id}}","links"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"74cde3b5-dd4c-41ee-8b3a-a5cbe722d120","name":"Candidate Not Found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/candidates/54321/links"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"143"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 19:42:43 GMT"},{"key":"x-amzn-RequestId","value":"712994ac-6d12-11e9-bfc1-6529803fbc2d"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZEg3SGrKoAMF3Rw="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb482e-555131fec11664c69ca7662e"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 b005949014b117aed39cd14f2e31cfb9.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"16kZDr-URo458irKT2wICxMbJz1nFLgSEgshlMZ2CIY8XRmlmAKa8Q=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#candidateId?not-found\",\n            \"message\": \"candidateId must be a valid candidateId associated with the authenticated account\"\n        }\n    ]\n}"},{"id":"96a8019c-07c6-4009-a367-0e82f01eee23","name":"Generate Candidate Link","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/candidates/988546883/links"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"527"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 19:40:52 GMT"},{"key":"x-amzn-RequestId","value":"2e08fb3a-6d12-11e9-a89a-81a491d566d2"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZEglsFxaIAMFy_g="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb47be-f1ee949400f06442fe0b5946;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b005949014b117aed39cd14f2e31cfb9.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"jvbWkhNJgvYvY5uunp6sSK0ODfUf3PCHV2GwFgXdg7lfW6rs3H-EAQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"candidatePortal\": \"https://portal.int.talentwise.com/438a7d2ee6/ptl/dashboard.php?Sender=16902380&Email=8b768f57-7f86-4b8c-b4de-b99f2f0ae49a%40example.com&OverrideCandidateID=988294095&KennectApiToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOnsiY2FuZGlkYXRlX2lkIjo5ODgyOTQwOTUsInNlbmRlciI6MTY5MDIzODAsImVtYWlsIjoiOGI3NjhmNTctN2Y4Ni00YjhjLWI0ZGUtYjk5ZjJmMGFlNDlhJTQwZXhhbXBsZS5jb20ifSwiZXhwIjoxNTU2ODI2NjUyLCJqdGkiOiI5ODgyOTQwOTVfZXhHV3ZvNElhSTUwR2xKYmk2cXp6RGlJeTl0S1dhMmEifQ.b6zhmzVdvRbXh48YVE7tyHj2bVCXEfcth6kdRWcvAYg\"\n}"}],"_postman_id":"687d0a75-c51e-4b69-865f-2e96fd4ad23b"}],"id":"89600b46-5f7e-4232-aab0-6d70154e254b","description":"<p>A candidate is a person who will be the subject of a future screening. In many cases, a candidate will be created and screened immediately in a single session. Alternatively, a candidate can be created in advance for future screenings, screened with different packages over time as part of a role change, or may be screened every few months as part of an existing role.</p>\n<p>By design, candidate records can be created with only a handful of required fields, to allow for use cases like step-by-step data collection across multiple user interactions. Because different kinds of screenings need different information about the candidate in order to effectively search for their background data, there is no single set of universally required fields for all screening types.</p>\n<p>When building code to collect data from candidates within your own application, the best user experience in most cases is to collect all the data you will need in a single form. Because application developers typically know in advance what packages they will use to screen candidates, the best way to ensure that you are collecting all the data you need from your candidates is to look up the list of <code>requiredFields</code> using the <a href=\"#e280e604-371b-4085-bb58-63fbf13149b7\">Packages</a> resource.</p>\n<p>The candidate's <code>email</code> and <code>clientReferenceId</code> must be unique. When updating a candidate all previously provided fields should be included in the request body with their desired values, not only those fields with intended changes.</p>\n","event":[{"listen":"prerequest","script":{"id":"57bb3c3b-26f6-4855-b60d-84d311f8b0e7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1048162c-5f10-4b8d-bd9a-0e507c07d7a4","type":"text/javascript","exec":[""]}}],"_postman_id":"89600b46-5f7e-4232-aab0-6d70154e254b"},{"name":"SSN Trace","item":[{"name":"Run SSN Trace","id":"330f5dc0-0e5a-4485-b136-f6dd0e900b3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{ \n    \"givenName\": \"Harvey\",\n    \"familyName\": \"Zellarzi\",\n    \"dob\": \"1933-05-18\",\n    \"ssn\": \"773011779\"\n}"},"url":"{{host}}/v1/traces","description":"<p>Request an SSN trace and receive the result immediately within the API response.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>givenName</td>\n<td>required</td>\n<td>The candidate's given or \"first\" name, such as \"Tim\" in \"Tim Duncan\".</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>required</td>\n<td>The candidate's family name, such as \"Rowling\" in \"Joanne K Rowling\".</td>\n</tr>\n<tr>\n<td>dob</td>\n<td>required</td>\n<td>Date of birth, formatted as an ISO-8601 date (without the time component). For example, July 4, 1979 would be represented as <code>\"1979-07-04\"</code>.</td>\n</tr>\n<tr>\n<td>ssn</td>\n<td>required</td>\n<td>The social security number for the candidate, formatted as a series of numbers with or without dashes <code>123551234</code> <code>123-55-1234</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><br />\n\n<p><em>Trace Results</em></p>\n<p>A trace's <code>result</code> property provides a better depiction of how the report went down.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Result</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Name: Full</td>\n<td>The candidate's SSN matches the information they provided.</td>\n</tr>\n<tr>\n<td>Name: Partial</td>\n<td>A part of the candidate's information matches their provided SSN.  This could include: <strong>Given name</strong>, <strong>Last name</strong></td>\n</tr>\n<tr>\n<td>Name: Mismatch</td>\n<td>The SSN provided does not match either the given name or family name provided.</td>\n</tr>\n<tr>\n<td>DOB: Full</td>\n<td>An exact match of the DOB provided was found.</td>\n</tr>\n<tr>\n<td>DOB: Partial</td>\n<td>An exact match was not found for the entire DOB but at least YOB does match.</td>\n</tr>\n<tr>\n<td>DOB: Mismatch</td>\n<td>The DOB provided does not match records associated with the SSN provided.</td>\n</tr>\n<tr>\n<td>No Data</td>\n<td>Not enough information was returned from the report to determine an accurate result. This could include cases such as: <strong>SSN provided but no record found</strong>, <strong>Issued SSN is not on file</strong>, <strong>Candidate is under 23 (Information above unavailable)</strong>, <strong>Consumer ID data unavailable by state law</strong></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","traces"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"5e3ed70c-b625-427e-8060-2553b4ab7de8","name":"Missing Fields","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{ \n    \"givenName\": \"Harvey\",\n    \"ssn\": \"773011779\"\n}"},"url":"{{host}}/v1/traces"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"132"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 22 May 2020 21:06:37 GMT"},{"key":"x-amzn-RequestId","value":"18be8e11-b482-4803-a72d-b0698656e420"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"x-amz-apigw-id","value":"M87CqHO5oAMFjpQ="},{"key":"Request-Id","value":"a3a2b300-b7f1-4b82-99f9-a36f66cec194"},{"key":"x-amzn-Remapped-Date","value":"Fri, 22 May 2020 21:06:37 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 1299a022d10cdc620f209ba0440a48e9.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD79-C3"},{"key":"X-Amz-Cf-Id","value":"QbwRGbEEvVyZvhKzsS8mbIeOKcxv8YsnTdV90fG-6DCaPwVI6EB_PQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#dob\",\n            \"message\": \"dob is required\"\n        },\n        {\n            \"code\": \"400#familyName\",\n            \"message\": \"familyName cannot be null or empty\"\n        }\n    ]\n}"},{"id":"66b731be-039c-4ded-bcd0-7beb5182543a","name":"Run SSN Trace","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"givenName\": \"Harvey\",\n    \"familyName\": \"Zellarzi\",\n    \"dob\": \"1933-05-18\",\n    \"ssn\": \"773011779\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/traces"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"392"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 22 May 2020 21:05:19 GMT"},{"key":"x-amzn-RequestId","value":"307a200d-f829-46d1-b18f-3e4aeddc7d6d"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"x-amz-apigw-id","value":"M862WGmAoAMFUDg="},{"key":"Request-Id","value":"e007cb34-8c20-4d3c-aaec-f6ea648d1b05"},{"key":"x-amzn-Remapped-Date","value":"Fri, 22 May 2020 21:05:19 GMT"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 1299a022d10cdc620f209ba0440a48e9.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD79-C3"},{"key":"X-Amz-Cf-Id","value":"O-l-SW0vVDAvKCEb8ptC6N-NtoRFDkoEJkTDIKg7sIerB0_jx0X4Uw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"givenName\": \"Harvey\",\n    \"middleName\": null,\n    \"familyName\": \"Zellarzi\",\n    \"ssn\": \"XXX-XX-1779\",\n    \"name\": {\n        \"match\": \"Full\",\n        \"givenNameMatch\": true,\n        \"middleNameMatch\": true,\n        \"familyNameMatch\": true\n    },\n    \"dob\": {\n        \"date\": \"1933-05-18\",\n        \"match\": \"Full\"\n    },\n    \"dod\": {\n        \"found\": true\n    },\n    \"addresses\": [\n        {\n            \"region\": \"Michigan\",\n            \"regionCode\": \"US-MI\"\n        },\n        {\n            \"region\": \"Palau, U.S.\",\n            \"regionCode\": \"US-PW\"\n        },\n        {\n            \"region\": \"North Carolina\",\n            \"regionCode\": \"US-NC\"\n        }\n    ]\n}"}],"_postman_id":"330f5dc0-0e5a-4485-b136-f6dd0e900b3f"}],"id":"dd16908b-2f01-4a89-930b-c18ccf4bf020","description":"<p>The /traces endpoint will create an SSN Trace on a candidate</p>\n<p>By sending a <code>POST</code> request to /traces, you can receive results for the trace immediately within the API response to your request. The response should give a quick glimpse into whether your candidate's name and SSN information match and a list of addresses associated with them.</p>\n","event":[{"listen":"prerequest","script":{"id":"f8a1705d-3aa7-4fd1-b62a-722e46bb57fa","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ebf51fc1-a939-4e69-9b05-0dd83279b7c9","type":"text/javascript","exec":[""]}}],"_postman_id":"dd16908b-2f01-4a89-930b-c18ccf4bf020"},{"name":"Screenings","item":[{"name":"Create Screening","event":[{"listen":"test","script":{"id":"1402668f-415a-4710-8d25-76bf2435ee10","exec":["var jsonData = JSON.parse(responseBody);","tests[\"Status code is 201\"] = responseCode.code === 201;","postman.setGlobalVariable(\"screening_id\", jsonData.id);"],"type":"text/javascript"}}],"id":"9f0d3200-3091-4fd4-9487-80aad5028e20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":"{\n    \"packageId\": \"8398190\",\n    \"candidateId\": \"{{candidate_id}}\"\n}"},"url":"{{host}}/v1/screenings","description":"<p>Create a new screening for a candidate using a Client-side data collection flow.</p>\n<p>The <code>status</code> and <code>result</code> of a screening response depends on the data submitted to the screening.\nSome of the attribute values:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>new, pending, complete, canceled, expired</td>\n</tr>\n<tr>\n<td>result</td>\n<td>n/a, client criteria</td>\n</tr>\n<tr>\n<td>clientCriteriaResult</td>\n<td>does not meet criteria - review (if the <code>result</code> is <code>client criteria</code>)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Request Body Fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>packageId</td>\n<td>required</td>\n<td>The unique identifier for the package the candidate will be screened against.</td>\n</tr>\n<tr>\n<td>candidateId</td>\n<td>required</td>\n<td>The unique identifier of the candidate to be screened.</td>\n</tr>\n<tr>\n<td>callback</td>\n<td>optional</td>\n<td>The url where webhook notifications should be posted for this screening. Please refer to <a href=\"#7de76242-2950-4427-b217-06811829cfed\">CallbackRequest</a>.</td>\n</tr>\n<tr>\n<td>referenceCodes</td>\n<td>optional</td>\n<td>Client specified codes.</td>\n</tr>\n<tr>\n<td>billCode</td>\n<td>optional</td>\n<td>Client specified code.</td>\n</tr>\n<tr>\n<td>endUserCertificate</td>\n<td>optional</td>\n<td>Screening has to be submitted with end user agreement in non-invite flow. <code>true</code> if the end user agreement is present. <code>false</code> if end user agreement/certificate may not be present.</td>\n</tr>\n<tr>\n<td>trustedUserId</td>\n<td>optional</td>\n<td>Once a candidate has passed identity verification, the candidate can be granted trust. An application can then submit screening requests on behalf of the trusted user.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","screenings"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"4bf696ee-b290-4f72-b033-11d131a92265","name":"Create Screening","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"idempotency-key","value":"","description":"The API supports idempotency for safely retrying screening requests without accidentally performing the same operation twice.","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"packageId\": \"64731\",\n  \"candidateId\": \"864109\",\n  \"endUserCertificate\": \"true\",\n  \"callback\": {\n    \"uri\": \"https://my-company.com/screenings-callback\",\n    \"credentials\": {\n        \"basic-auth\": \"narf:zort!\"\n    }\n  },\n  \"referenceCodes\": [\n    \"US\",\n    \"WA\",\n    \"Seattle\"\n  ],\n  \"billingCode\": \"Northwest\"\n}"},"url":"{{host}}/v1/screenings"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2120"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 21:04:18 GMT"},{"key":"x-amzn-RequestId","value":"d5d2c591-6d1d-11e9-84d0-a3938cfe6e90"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZEsz4FWCoAMFQig="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb5b4c-d24de343671607e649a305e2"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 91ed69d49df50f5558b0d5ebe4b3af7a.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"L12nx8v2Txi36QPdtweOOxROfZ0GtenNFt6dxDn4T50vBNp34ruVyw=="}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"001000063225945\",\n  \"packageId\": \"64731\",\n  \"candidateId\": \"864109\",\n  \"status\": \"pending\",\n  \"result\": \"n/a\",\n  \"reportItems\": [\n    {\n      \"id\": \"63225946\",\n      \"type\": \"Criminal Check by Jurisdiction\",\n      \"status\": \"pending\",\n      \"result\": \"n/a\",\n      \"updatedAt\": \"2017-05-04T20:36:33Z\"\n    },\n    {\n      \"id\": \"63225947\",\n      \"type\": \"Federal Criminal Check\",\n      \"status\": \"pending\",\n      \"result\": \"n/a\",\n      \"updatedAt\": \"2017-05-04T20:36:33Z\"\n    },\n    {\n      \"id\": \"63225948\",\n      \"type\": \"Multi-State Instant Criminal Check\",\n      \"status\": \"pending\",\n      \"result\": \"n/a\",\n      \"updatedAt\": \"2017-05-04T20:36:33Z\"\n    },\n    {\n      \"id\": \"63225949\",\n      \"type\": \"Nationwide Sex Offender Registry Check\",\n      \"status\": \"pending\",\n      \"result\": \"n/a\",\n      \"updatedAt\": \"2017-05-04T20:36:33Z\"\n    }\n  ],\n  \"submittedAt\": \"2017-05-04T20:36:33Z\",\n  \"updatedAt\": \"2017-05-04T20:36:33Z\",\n  \"links\": {\n    \"admin\": {\n      \"web\": \"https://integration.talentwise.com/screening/report.php?ApplicantID=63225945\",\n      \"pdf\": \"https://integration.talentwise.com/screening/pdf-report.php?ApplicantID=63225945\"\n    }\n  },\n  \"callback\": {\n    \"uri\": \"https://my-company.com/screenings-callback\"\n  },\n  \"adverseActions\": []\n}"},{"id":"f7de5cfd-06b6-4c3f-b315-d801c2e85abd","name":"Bad Billing Code","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"idempotency-key","value":"","description":"The API supports idempotency for safely retrying screening requests without accidentally performing the same operation twice.","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"candidateId\": \"988294023\",\n    \"packageId\": \"164741\",\n    \"callback\": {\n        \"uri\": \"https://my-company.com/screenings-callback\",\n        \"credentials\": {\n            \"basic-auth\": \"narf:zort!\"\n        }\n    },\n    \"billingCode\": \"fakeCode\"\n}"},"url":"{{host}}/v1/screenings"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"80"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 21:32:44 GMT"},{"key":"x-amzn-RequestId","value":"ce418726-6d21-11e9-9877-15394a3f2500"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZEw-VFZQoAMFzoA="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb61f5-54afd9698dbd6b41ef34ef76;Sampled=0"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 097fbf718c1b805deaed8941b59761cc.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"jQR2KalYR9KISppSLs5_s7K2HKBYj6UaaIcqk-LmnrWQfiN9Zw9kQQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#billingCode?invalid\",\n            \"message\": \"Invalid Billing Code\"\n        }\n    ]\n}"},{"id":"cc61bb03-5d3e-46a4-ad91-7d78b654ed1f","name":"Bad Callback URI","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"idempotency-key","value":"","description":"The API supports idempotency for safely retrying screening requests without accidentally performing the same operation twice.","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"candidateId\": \"988294023\",\n    \"packageId\": \"164741\",\n    \"callback\": {\n        \"uri\": \"http://my-company.com/screenings-callback\",\n        \"credentials\": {\n            \"basic-auth\": \"narf:zort!\"\n        }\n    }\n}"},"url":"{{host}}/v1/screenings"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"98"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 21:33:57 GMT"},{"key":"x-amzn-RequestId","value":"fe02423e-6d21-11e9-a625-13627a9473e5"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZExK2HICoAMF_Pw="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb6245-1a4a4bec52270f00c2af2e5c"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 097fbf718c1b805deaed8941b59761cc.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"O9kIZRG377wjGKPWJ25C7bGH8D7Bibk87T_EgGRtaTutlkPd1atY6w=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#callback.uri?format\",\n            \"message\": \"callback.uri must be a valid https url\"\n        }\n    ]\n}"}],"_postman_id":"9f0d3200-3091-4fd4-9487-80aad5028e20"},{"name":"Create Screening (Sterling Data Collection)","event":[{"listen":"test","script":{"id":"1402668f-415a-4710-8d25-76bf2435ee10","exec":["var jsonData = JSON.parse(responseBody);","tests[\"Status code is 201\"] = responseCode.code === 201;","postman.setGlobalVariable(\"screening_id\", jsonData.id);"],"type":"text/javascript"}}],"id":"ce472be4-1196-4d7d-b8db-6945478801b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":"{\n    \"packageId\": \"8398190\",\n    \"candidateId\": \"{{candidate_id}}\"\n}"},"url":"{{host}}/v1/screenings","description":"<p>Create a new screening for a candidate using a Sterling data collection flow. Adding an additional <code>invite</code> field will allow Sterling to guide your candidate through our Candidate workflow to collect their information before running the background check.</p>\n<p>The <code>status</code> and <code>result</code> of a screening response depends on the data submitted to the screening.\nSome of the attribute values:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>new, pending, complete, canceled, expired</td>\n</tr>\n<tr>\n<td>result</td>\n<td>n/a, client criteria</td>\n</tr>\n<tr>\n<td>clientCriteriaResult</td>\n<td>does not meet criteria - review (if the <code>result</code> is <code>client criteria</code>)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Request Body Fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>packageId</td>\n<td>required</td>\n<td>The unique identifier for the package the candidate will be screened against.</td>\n</tr>\n<tr>\n<td>candidateId</td>\n<td>required</td>\n<td>The unique identifier of the candidate to be screened.</td>\n</tr>\n<tr>\n<td>callback</td>\n<td>optional</td>\n<td>The url where webhook notifications should be posted for this screening. Please refer to <a href=\"#7de76242-2950-4427-b217-06811829cfed\">CallbackRequest</a>.</td>\n</tr>\n<tr>\n<td>invite</td>\n<td>optional</td>\n<td>Invite allows you to specify a method that a candidate can take to finish the screening process. Please refer to <a href=\"#e0473828-7fa7-477c-856a-523e7bed3fe1\">Invite</a>.</td>\n</tr>\n<tr>\n<td>referenceCodes</td>\n<td>optional</td>\n<td>Client specified codes.</td>\n</tr>\n<tr>\n<td>billCode</td>\n<td>optional</td>\n<td>Client specified code.</td>\n</tr>\n<tr>\n<td>trustedUserId</td>\n<td>optional</td>\n<td>Once a candidate has passed identity verification, the candidate can be granted trust. An application can then submit screening requests on behalf of the trusted user.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","screenings"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"0940f7e1-05a4-42ef-9a23-d6ceb03354cc","name":"Create Screening Via Email Method","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"idempotency-key","value":"","description":"The API supports idempotency for safely retrying screening requests without accidentally performing the same operation twice.","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"candidateId\": \"988294023\",\n    \"packageId\": \"164741\",\n    \"callback\": {\n        \"uri\": \"https://my-company.com/screenings-callback\",\n        \"credentials\": {\n            \"basic-auth\": \"narf:zort!\"\n        }\n    },\n    \"invite\": {\n    \t\"method\": \"email\"\n    }\n}"},"url":"{{host}}/v1/screenings"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"285"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 21:30:21 GMT"},{"key":"x-amzn-RequestId","value":"7b1c9609-6d21-11e9-a3cf-f90004a878c7"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZEwoiHKrIAMF8gg="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb6169-f81e373a318d059a9a362270"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 097fbf718c1b805deaed8941b59761cc.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"w5r4nxXF1E1FXMsortsCXSib0KuWBBdyGqOeciz8tSRQnWKEllY7sw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"002000001239706\",\n    \"packageId\": \"164741\",\n    \"candidateId\": \"988294023\",\n    \"status\": \"new\",\n    \"result\": \"n/a\",\n    \"submittedAt\": \"2019-05-02T21:30:19Z\",\n    \"updatedAt\": \"2019-05-02T21:30:19Z\",\n    \"invite\": {\n        \"method\": \"email\"\n    },\n    \"callback\": {\n        \"uri\": \"https://my-company.com/screenings-callback\"\n    },\n    \"adverseActions\": []\n}"},{"id":"983d432a-9876-4aa3-aa23-19d3f581993d","name":"Create Screening via Link Method","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"idempotency-key","value":"","description":"The API supports idempotency for safely retrying screening requests without accidentally performing the same operation twice.","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"candidateId\": \"988294023\",\n    \"packageId\": \"164741\",\n    \"callback\": {\n        \"uri\": \"https://my-company.com/screenings-callback\",\n        \"credentials\": {\n            \"basic-auth\": \"narf:zort!\"\n        }\n    },\n    \"invite\": {\n    \t\"method\": \"link\"\n    }\n}"},"url":"{{host}}/v1/screenings"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"805"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 21:31:10 GMT"},{"key":"x-amzn-RequestId","value":"94dd7352-6d21-11e9-8c57-43f9a85e406c"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZEwvSHXZIAMFxwg="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb6195-adf421ef26e9687b60d6193a"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 097fbf718c1b805deaed8941b59761cc.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"qMaIPt6BBt4fgf3f0tlV0tb1SEQAD5UGbfdA_vhjf6LbRPzepY5P4g=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"002000001239708\",\n    \"packageId\": \"164741\",\n    \"candidateId\": \"988294023\",\n    \"status\": \"new\",\n    \"result\": \"n/a\",\n    \"submittedAt\": \"2019-05-02T21:31:07Z\",\n    \"updatedAt\": \"2019-05-02T21:31:07Z\",\n    \"invite\": {\n        \"method\": \"link\",\n        \"link\": \"https://portal.int.talentwise.com/438a7d2ee6/ptl/ticketeda.php?ID=MTY5MDIzODA&confirmationCode=GNanZSU93mb2Ucbj&ticket=1239708&Sender=16902380&Email=john-test3%40example.com&OverrideCandidateID=988294023&KennectApiToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOnsiY2FuZGlkYXRlX2lkIjo5ODgyOTQwMjMsInNlbmRlciI6IjE2OTAyMzgwIiwiZW1haWwiOiJqb2huLXRlc3QzJTQwZXhhbXBsZS5jb20ifSwiZXhwIjoxNTU2ODMzMjcwLCJqdGkiOiI5ODgyOTQwMjNfMnljbUxKcllMSU5CTzk2cmRJMHdySVVvOURLbkxxdlYifQ.aYP5OoZ0m-cEvP9FLR4o1qoND3l8mmkvGBsExwrXYcs\"\n    },\n    \"callback\": {\n        \"uri\": \"https://my-company.com/screenings-callback\"\n    },\n    \"adverseActions\": []\n}"}],"_postman_id":"ce472be4-1196-4d7d-b8db-6945478801b7"},{"name":"Retrieve Screening","event":[{"listen":"test","script":{"id":"d9e23e73-6f4f-4e57-b7e5-b5a90701e7d8","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"582738ed-c2d2-48b4-9ced-94faf8c7af5e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/screenings/{{screening_id}}","description":"<p>Retrieve a screening using a provided screening <code>id</code>.</p>\n","urlObject":{"path":["v1","screenings","{{screening_id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"ba604192-e507-46a1-bd6d-691d2cb38469","name":"Retrieve Screening","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/screenings/001000990728524"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2120"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 21:46:21 GMT"},{"key":"x-amzn-RequestId","value":"b90eabda-6d23-11e9-ac1f-f774ce8ed1de"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZEy-_EL1IAMF7pw="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb652c-ac5052d9a4c498a23a41666f;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 fff6a70a81914898c2756daea39344e8.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"WWIojOs7f5QsINzSJulH54RGbCKkJ2JIjWf6JaFwxvwS2XfTtv_vRw=="}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"001000990728524\",\n  \"packageId\": \"164741\",\n  \"candidateId\": \"927084\",\n  \"status\": \"pending\",\n  \"result\": \"alert\",\n  \"reportItems\": [\n    {\n      \"id\": \"62555551\",\n      \"type\": \"SSN Trace\",\n      \"status\": \"complete\",\n      \"result\": \"no data\",\n      \"updatedAt\": \"2016-11-15T00:30:49Z\"\n    },\n    {\n      \"id\": \"62555552\",\n      \"type\": \"Criminal Check by Jurisdiction\",\n      \"status\": \"complete\",\n      \"result\": \"alert\",\n      \"updatedAt\": \"2016-11-15T00:31:25Z\"\n    },\n    {\n      \"id\": \"62555553\",\n      \"type\": \"Federal Criminal Check\",\n      \"status\": \"pending\",\n      \"result\": \"n/a\",\n      \"updatedAt\": \"2016-11-15T00:30:36Z\"\n    },\n    {\n      \"id\": \"62555554\",\n      \"type\": \"Multi-State Instant Criminal Check\",\n      \"status\": \"pending\",\n      \"result\": \"n/a\",\n      \"updatedAt\": \"2016-11-15T00:30:36Z\"\n    },\n    {\n      \"id\": \"62555555\",\n      \"type\": \"Nationwide Sex Offender Registry Check\",\n      \"status\": \"pending\",\n      \"result\": \"n/a\",\n      \"updatedAt\": \"2016-11-15T00:30:36Z\"\n    }\n  ],\n  \"submittedAt\": \"2016-11-15T00:30:36Z\",\n  \"updatedAt\": \"2016-11-15T00:31:35Z\",\n  \"dispute\": {\n    \"status\": \"active\",\n    \"createdAt\": \"2016-12-01T21:03:00Z\"\n  },\n  \"links\": {\n    \"admin\": {\n      \"web\": \"https://integration.talentwise.com/screening/report.php?ApplicantID=8675309\",\n      \"pdf\": \"https://integration.talentwise.com/screening/pdf-report.php?ApplicantID=8675309\"\n    }\n  },\n  \"callback\": {\n    \"uri\": \"https://mockbin.org/bin/b87c5aec-cb87-4dfc-8550-031bbe560407\"\n  },  \n  \"referenceCodes\": [\n        {\n            \"code\": \"US\"\n        },\n        {\n            \"code\": \"WA\"\n        },\n        {\n            \"code\": \"Seattle\"\n        }\n    ],\n  \"adverseActions\": [\n    {\n      \"id\": \"00100006255586\",\n      \"status\": \"pending\",\n      \"updatedAt\": \"2016-11-28T18:25:11Z\"\n    }\n  ]\n}"}],"_postman_id":"582738ed-c2d2-48b4-9ced-94faf8c7af5e"},{"name":"Retrieve Screening Details","event":[{"listen":"test","script":{"id":"7a88bfb6-3464-4591-bb4d-19670846b3de","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"a1c85bcc-d3d1-4903-a2af-1291bb3d6095","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/screenings/{id}/details","description":"<p>Retrieve the screening report item details using a provided screening <code>id</code>. This will also capture and display any additional details on the packages if they exist that a normal <code>GET</code> call on a screening would not.</p>\n","urlObject":{"path":["v1","screenings","{id}","details"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"2992575e-7c3b-43ac-ad1f-b022f0e6793a","name":"Retrieve Screening Details (SSN Trace - No Data)","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/screenings/00100008875312/details"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"55556789\",\n        \"type\": \"SSN Trace\",\n        \"status\": \"complete\",\n        \"result\": \"no data\",\n      \t\"matchType\": \"NoData\",\n        \"updatedAt\": \"2017-05-30T17:13:33Z\"\n    }\n]"},{"id":"539b77cc-c4b0-4120-98d8-b08389789e46","name":"Retrieve Screening Details","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/screenings/00100008875309/details"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"991092277\",\n        \"type\": \"SSN Trace\",\n        \"status\": \"complete\",\n        \"result\": \"no data\",\n        \"updatedAt\": \"2019-12-03T23:17:24Z\"\n    },\n    {\n        \"id\": \"991092278\",\n        \"type\": \"DOJ Sex Offender\",\n        \"status\": \"complete\",\n        \"result\": \"alert\",\n        \"updatedAt\": \"2019-12-03T23:17:27Z\"\n    },\n    {\n        \"id\": \"991092279\",\n        \"type\": \"Multi-State Instant Criminal Check\",\n        \"status\": \"complete\",\n        \"result\": \"complete\",\n        \"updatedAt\": \"2019-12-03T23:17:28Z\"\n    },\n    {\n        \"id\": \"991092280\",\n        \"type\": \"Criminal Check by Jurisdiction\",\n        \"status\": \"complete\",\n        \"result\": \"alert\",\n        \"updatedAt\": \"2019-12-03T23:17:29Z\"\n    },\n    {\n        \"id\": \"991092281\",\n        \"type\": \"Federal Criminal District Search\",\n        \"status\": \"complete\",\n        \"result\": \"alert\",\n        \"updatedAt\": \"2019-12-03T23:17:31Z\"\n    },\n    {\n        \"id\": \"991092282\",\n        \"type\": \"Locator Select\",\n        \"status\": \"complete\",\n        \"result\": \"complete\",\n        \"updatedAt\": \"2019-12-03T23:17:32Z\"\n    }\n]"},{"id":"855e1b9c-cab2-4e7b-b897-841e36a7ff69","name":"Retrieve Screening Details (SSN Trace - Partial Match)","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/screenings/00100008875313/details"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"11156789\",\n        \"type\": \"SSN Trace\",\n        \"status\": \"complete\",\n        \"result\": \"error\",\n      \t\"matchType\": \"PartialMatch\",\n        \"updatedAt\": \"2017-05-30T17:13:33Z\"\n    }\n]"},{"id":"8726f003-4f7a-4da0-9fe9-14a0995812ce","name":"Retrieve Screening Details (SSN Trace - No Match)","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/screenings/00100008875311/details"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"22256789\",\n        \"type\": \"SSN Trace\",\n        \"status\": \"complete\",\n        \"result\": \"error\",\n      \t\"matchType\": \"NoMatch\",\n        \"updatedAt\": \"2017-05-30T17:13:33Z\",\n    }\n]"},{"id":"b52433b4-e4db-4c37-91f2-417caea212b3","name":"Retrieve Screening Details (SSN Trace - Full Match)","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/screenings/00100008875310/details"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"12356789\",\n        \"type\": \"SSN Trace\",\n        \"status\": \"complete\",\n        \"result\": \"success\",\n        \"matchType\": \"FullMatch\",\n        \"updatedAt\": \"2017-05-30T17:13:33Z\",\n        \"addresses\": [\n            {\n                \"state\": \"WA\",\n                \"fromDate\": \"2014-01\",\n                \"toDate\": \"2018-08\"\n            },\n            {\n                \"state\": \"OR\",\n                \"fromDate\": \"2014-01\",\n                \"toDate\": \"2015-01\"\n            }\n        ]\n    }\n]"}],"_postman_id":"a1c85bcc-d3d1-4903-a2af-1291bb3d6095"},{"name":"Create Screening Report Link","event":[{"listen":"test","script":{"id":"6daf606d-fafc-4616-86b5-42f1e3cac140","exec":["var jsonData = JSON.parse(responseBody);","tests[\"Has html report\"] = !!jsonData.html;"],"type":"text/javascript"}}],"id":"053178c0-e45b-4e27-afcd-2de5b8037038","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/screenings/{{screening_id}}/report-links","description":"<p>This request provides an option to view the Screening report and it is a one-time link.</p>\n<blockquote>\n<p>This request will generate a tokenized, one-time use link that will expire without use after 10 minutes.</p>\n</blockquote>\n","urlObject":{"path":["v1","screenings","{{screening_id}}","report-links"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"1b90f374-3572-4e3f-81d6-8a9c00442750","name":"Screening Not Complete","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/screenings/001000991383470/report-links"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"123"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 22 May 2020 21:37:22 GMT"},{"key":"x-amzn-RequestId","value":"d59232fd-5d6a-49f7-aa82-7f4ec97e82e6"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"x-amz-apigw-id","value":"M8_iuHkSoAMFUOQ="},{"key":"Request-Id","value":"7000353b-3a9a-48a8-a0e3-a9092afeb6ae"},{"key":"x-amzn-Remapped-Date","value":"Fri, 22 May 2020 21:37:22 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 0570243541aa4edb51d3f1e60aee5a33.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD79-C2"},{"key":"X-Amz-Cf-Id","value":"YpLkVb92WVBMTV7SViMIOnOVM24fw_GaMT7YV9YiDNnWQjgIPDDZew=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"422#not-yet-complete\",\n            \"message\": \"The screening report cannot be shared until the report is complete\"\n        }\n    ]\n}"},{"id":"3c410c20-9c65-4fd3-bb5f-0cfece15d3e3","name":"Create Screening Report Link","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/screenings/001000988812965/report-links"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"656"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 02 May 2019 22:18:17 GMT"},{"key":"x-amzn-RequestId","value":"2c1a2158-6d28-11e9-be34-1fade262c547"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZE3plGmNoAMFTnw="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccb6ca3-d5ff83604d008fe08a1f0870"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 7fec31050f9483acb01255d9c8868bfa.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"EQZ2q50UUuHlpyMXtzTTPdPSwRn05un9L4ehyBMf1TT3mAKwULBdVw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"html\": \"https://portal.int.talentwise.com/438a7d2ee6/ptl/myreport.php?Sender=16902380&Email=2dcd3399-e690-4d8a-adf1-9856fad61fba%40example.com&ReportId=988812965&OverrideCandidateID=987897227&KennectApiToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOnsiY2FuZGlkYXRlX2lkIjo5ODc4OTcyMjcsInNlbmRlciI6IjE2OTAyMzgwIiwiZW1haWwiOiIyZGNkMzM5OS1lNjkwLTRkOGEtYWRmMS05ODU2ZmFkNjFmYmElNDBleGFtcGxlLmNvbSJ9LCJleHAiOjE1NTY4MzYwOTcsImp0aSI6Ijk4Nzg5NzIyN19yR3dYcGtzWFFxUVZOYnl3QmR1bVA2UVkzZTNXU29MSSJ9.iRCXX0Mvtceqa7XOxf4LxiLeddG5wisLdV1DMEYlFc8\",\n    \"pdf\": \"https://api-int.kennect.com/v1/screenings/001000988812965/report.pdf?token=75fd804e-24a1-4283-9b5e-e07fb56ecc83\"\n}"}],"_postman_id":"053178c0-e45b-4e27-afcd-2de5b8037038"},{"name":"Generate Screening Report","id":"a74e2dc0-3aab-4793-9f4b-a9f9447f5251","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/screenings/{{screening_id}}/report","description":"<p><code>GET</code> request that generates and allows the retrieval of a screening report (<code>screening_id</code> required) with no restrictions on time or use.</p>\n","urlObject":{"path":["v1","screenings","{{screening_id}}","report"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a74e2dc0-3aab-4793-9f4b-a9f9447f5251"}],"id":"7c44b320-fa1e-4da8-b37a-2cdaab8bf10a","description":"<p>A screening is a background check on a candidate with a specific package.</p>\n<p>Once a candidate is created and a package has been selected, the screening can be initiated on that candidate by calling the <code>POST /v1/screenings</code> endpoint. The turnaround time for completion of a screening is variable. Most screening reports are returned within 24-72 hours, and the results can be found by calling <code>GET /v1/screenings/{id}</code>, where <code>{id}</code> is the identifier for the screening.</p>\n<p>An application can subscribe to updates on the fulfillment of a screening using the <code>callback</code> field. Callbacks will be <code>POST</code>ed to the provided URL for any changes screening status, including adverse actions and disputes as well as changes to the report items. (See <a href=\"#callbacks\">Callbacks</a>)</p>\n<h2>Candidate Data Collection</h2>\n\n<p>The Sterling API supports two different data collection flows. We first have a <strong>Client-side Data Collection</strong> flow, where you collect your candidates' information on your end. The other option is the <strong>Sterling Data Collection</strong> flow where Sterling takes the responsibility of collecting your candidates' data. </p>\n<h3>Client-side Data Collection</h3>\n\n<p>If you prefer to have your entire background check process to remain within your company's domain, a client-side flow may work for you. This allows you to customize your candidate experience from start to finish. It also may be a quicker solution as the candidate is not required to check their email account to follow-up.</p>\n<p><strong>POST /screenings</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"packageId\": \"64731\",\n  \"candidateId\": \"864109\"\n}\n</code></pre><h3>Sterling Data Collection</h3>\n\n<p>The Sterling Data Collection flow is an option that Sterling provides to bridge the API to the underlying platforms. It allows you to specify a method that a candidate can take to finish the screening process. Sterling's platforms will manage the candidate experience once the invite is accepted. This includes the collection of consent and disclosure electronically, as well as the collection of any extra necessary information that is pertinent to the screening.</p>\n<p>The two supported options for <code>method</code> are <code>link</code> and <code>email</code>.</p>\n<blockquote>\n<p>The <code>link</code> option will generate a tokenized, one-time use link that will expire without use after 10 minutes. This gives you the option to customize how the candidate receives this link (i.e. buttons, custom emails, etc). </p>\n<p>The <code>email</code> option will email the candidate a message inviting them to log into SterlingONE with a temporary password to complete their background screening.</p>\n</blockquote>\n<p><strong>POST /screenings</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"packageId\": \"64731\",\n  \"candidateId\": \"864109\",\n  \"invite\": {\n    \"method\": \"link\" | \"email\"\n  }\n}\n</code></pre><p><strong>Retrying Screening Requests</strong></p>\n<blockquote>\n<p>The API also supports <a href=\"#idempotency\">Idempotency</a> for safely retrying screening requests without accidentally performing the same operation twice and creating duplicate screenings.</p>\n</blockquote>\n","event":[{"listen":"prerequest","script":{"id":"db0c1673-08a7-49c9-ad4f-8b903bda7f3a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"16fdce12-f5ec-41a9-ae59-76fe5d448c55","type":"text/javascript","exec":[""]}}],"_postman_id":"7c44b320-fa1e-4da8-b37a-2cdaab8bf10a"},{"name":"Invite","item":[{"name":"Create Screening Invite","id":"79fa72d3-296e-4ed5-afee-8b2e62a77c1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"invite\": {\n        \"method\": \"link\"\n    }\n}"},"url":"{{host}}/v1/screenings/{{screening_id}}/invite","description":"<p>Create a new link invite for an existing screening.</p>\n","urlObject":{"path":["v1","screenings","{{screening_id}}","invite"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"1e1ac7a1-2fcc-4ce0-977f-f35e3a080b24","name":"Create Screening Invite","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"invite\": {\n        \"method\": \"link\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/screenings/002000001317269/invite"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"151"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 22 May 2020 21:50:22 GMT"},{"key":"x-amzn-RequestId","value":"657b6c4e-b1b3-47f4-bab3-628c11f952bf"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"x-amz-apigw-id","value":"M9BcoGq8oAMFW1Q="},{"key":"Request-Id","value":"a8ab635c-d828-4032-a6f8-cbf84521012b"},{"key":"x-amzn-Remapped-Date","value":"Fri, 22 May 2020 21:50:22 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 685083d3a5f8eecb6c517728d821ec87.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD79-C1"},{"key":"X-Amz-Cf-Id","value":"Jc6yg4Fe2h8PjIXWuxbvX7Y2Ce7j8tnXpyxKYTUkYrKc7VAIPT-R9A=="}],"cookie":[],"responseTime":null,"body":"{\n    \"invite\": {\n        \"method\": \"link\",\n        \"link\": \"https://portal.integration.talentwise.com/438a7d2ee6/ptl/ticketeda.php?ID=MTY5MDIzODA&code=FwLsDCxhI804fEiZ&ticket=472316&&Sender=18902380&Email=515d9b1e-f197-464f-9bdc-2258520d7fac%40example.com&OverrideCandidateID=3317606&KennectApiToken=hash-token\"\n    }\n}"},{"id":"47118395-d9dd-4601-b0d1-6478b177ebcf","name":"Invalid Method","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"invite\": {\n        \"method\": \"email\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/screenings/001000991383470/invite"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"129"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 22 May 2020 21:52:54 GMT"},{"key":"x-amzn-RequestId","value":"876a0eaa-7781-4eef-8712-de1c5cb05866"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"x-amz-apigw-id","value":"M9B0fGJmIAMFvIQ="},{"key":"Request-Id","value":"fa487fdd-eabd-4726-be7f-a49269a693a9"},{"key":"x-amzn-Remapped-Date","value":"Fri, 22 May 2020 21:52:54 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 685083d3a5f8eecb6c517728d821ec87.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD79-C1"},{"key":"X-Amz-Cf-Id","value":"xyo9cM_C8XLyjkzojEnXX0Hbrh8m4KLMcJUsh_kfpPaudaIR_Zpl3w=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#method?invalid\",\n            \"message\": \"Invalid method. Resending invite is only supported to invite through links\"\n        }\n    ]\n}"},{"id":"8f2810d4-2753-46ec-9dc8-8537ed45150d","name":"Invalid Screening Type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"invite\": {\n        \"method\": \"link\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/screenings/002000001317271/invite"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"151"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 22 May 2020 21:51:15 GMT"},{"key":"x-amzn-RequestId","value":"2ff0cadb-d8c8-46c5-bbdf-12229516b4b8"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"x-amz-apigw-id","value":"M9Bk5GVsoAMF7vA="},{"key":"Request-Id","value":"e3a24244-fbb3-4749-ae7d-364db1ec5f2c"},{"key":"x-amzn-Remapped-Date","value":"Fri, 22 May 2020 21:51:15 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 685083d3a5f8eecb6c517728d821ec87.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD79-C1"},{"key":"X-Amz-Cf-Id","value":"y_f8fPOEUQN8xCjlLy3cMQfhdyaZ3EXMDp9CE_qdBw1GyhMobOnaHA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#isNotLinkInvite\",\n            \"message\": \"The screening was not created using an invite through link. Please provide a valid screening ID\"\n        }\n    ]\n}"},{"id":"cb127e2f-bdee-4977-8e49-ffd7c5754069","name":"No Invite Method Provided","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/screenings/001000991383470/invite"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"54"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 22 May 2020 21:52:11 GMT"},{"key":"x-amzn-RequestId","value":"170b62d8-b3a1-4414-8c81-0098168cace8"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"x-amz-apigw-id","value":"M9Bt0GwEoAMFZPw="},{"key":"Request-Id","value":"473d0dba-08db-4b9c-b211-038a5bbc875b"},{"key":"x-amzn-Remapped-Date","value":"Fri, 22 May 2020 21:52:11 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 685083d3a5f8eecb6c517728d821ec87.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD79-C1"},{"key":"X-Amz-Cf-Id","value":"sTV4iOlFUBLfG9S3M1czmknB7c5qTI6g7rlgNtV7FZeN5JVr0AoDeA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400\",\n            \"message\": \"Malformed JSON\"\n        }\n    ]\n}"}],"_postman_id":"79fa72d3-296e-4ed5-afee-8b2e62a77c1d"}],"id":"e0473828-7fa7-477c-856a-523e7bed3fe1","description":"<p>Invite for screening. Please refer to the <a href=\"##7c44b320-fa1e-4da8-b37a-2cdaab8bf10a\">Screening</a> section for more details.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>method</td>\n<td>string</td>\n<td>Possible values : \"link\", \"email\"</td>\n</tr>\n<tr>\n<td>link</td>\n<td>string</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>JSON Examples</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"invite\": {\n        \"method\": \"link\",\n        \"link\": \"https://portal.integration.talentwise.com/438a7d2ee6/ptl/ticketeda.php?ID=MTY5MDIzODA&amp;code=7C3bGnsqq1Zw8jUQ&amp;ticket=423829&amp;&amp;Sender=16902380&amp;Email=deckarda7b83455-07e6-818f-d474-293605e7d663%40example.com&amp;OverrideCandidateID=864109&amp;KennectApiToken=token-hash\"\n    }\n</code></pre><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"invite\": {\n    \"method\": \"email\"\n}\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"60fd2a80-b135-4699-9e49-ebea44895566","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ceb08771-ce88-4f9b-8ec7-25b5a046e0d0","type":"text/javascript","exec":[""]}}],"_postman_id":"e0473828-7fa7-477c-856a-523e7bed3fe1"},{"name":"Adverse Action","item":[{"name":"Create Adverse Action","id":"2bb89ce8-8457-44b4-aeda-97cf33a0b767","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reportItems\": [\n        \"001000991383470\",\n        \"001000991383471\"\n    ],\n    \"comments\": \"Candidate put in wrong SSN value; Will need to re-input.\"\n}"},"url":"{{host}}/v1/screenings/{{screening_id}}/adverse-actions","description":"<p>Create an adverse action report using a <code>screening_id</code> to create an adverse report. A successful call will return a 201 with no response body to show.</p>\n<p><strong>Request Body Fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>reportItemIds</td>\n<td>required</td>\n<td>List of report item ids that will be receiving adverse action.</td>\n</tr>\n<tr>\n<td>comment</td>\n<td>optional</td>\n<td>Text explaining the reason for the adverse action (not every item can take a reason.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","screenings","{{screening_id}}","adverse-actions"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c57acf62-fae6-4d40-b763-586b0314af9a","name":"Adverse Action Already Initiated","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reportItems\": [\n        \"991383481\"\n    ],\n    \"comments\": \"Candidate put in wrong SSN value; Will need to re-input.\"\n}"},"url":"{{host}}/v1/screenings/001000991383480/adverse-actions"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"137"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 22 May 2020 22:11:38 GMT"},{"key":"x-amzn-RequestId","value":"5efe3203-c520-41fd-8b57-dcb4b1246455"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"x-amz-apigw-id","value":"M9Ej7GQvoAMFUZQ="},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Request-Id","value":"49779002-1d08-4651-b970-910715f1b58e"},{"key":"x-amzn-Remapped-Date","value":"Fri, 22 May 2020 22:11:38 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 7d5b81244bd8116fcbcfa4c6fef02f93.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD79-C2"},{"key":"X-Amz-Cf-Id","value":"4ZoYBcpsr2SWwpqf2Wv6w8rbJEaxsh6Sd_qzR9KhPCBKi354SOr5MQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#adverse-action-already-in-process\",\n            \"message\": \"An adverse action has already been initiated for this screening\"\n        }\n    ]\n}"}],"_postman_id":"2bb89ce8-8457-44b4-aeda-97cf33a0b767"}],"id":"c8fdf768-002c-4bad-ab5c-dc0e96b4dce7","description":"<p>Under the Fair Credit Reporting Act, candidates are entitled to receive notice when there is a chance that they could be denied an opportunity based in whole or in part on the contents of a background report. This process is called “Adverse Action”, and includes an initial “pre-adverse” notice to the candidate with an opportunity to dispute the contents of the report. A successful dispute can overturn the adverse action, but a failed dispute or an undisputed adverse action will lead to a final notice of adverse action.</p>\n<p>The applicant is given a chance to review their background report, and dispute the findings if it is incomplete or inaccurate before a final decision is made. In order to start an adverse action, phone number is required on the candidate.</p>\n","_postman_id":"c8fdf768-002c-4bad-ab5c-dc0e96b4dce7"},{"name":"Documents","item":[{"name":"Attach Screening Document","id":"7f619ced-36a8-4ca6-8455-e63d749e7ba5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","value":"application/octet-stream","type":"text"}],"body":{"mode":"file","file":{}},"url":"{{host}}/v1/screenings/{{screening_id}}/documents","description":"<p>Attach documents to an existing screening <code>id</code>. If successful, a <code>201 Created</code> response will be returned, but with no visible JSON output. You can confirm the addition by calling one of the <code>GET</code> endpoints in this section.</p>\n","urlObject":{"path":["v1","screenings","{{screening_id}}","documents"],"host":["{{host}}"],"query":[{"disabled":true,"description":{"content":"<p>Possible values: <code>candidate</code> , <code>trusted-user</code></p>\n","type":"text/plain"},"key":"party","value":""},{"disabled":true,"description":{"content":"<p>Possible values: <code>disclosure-and-authorization</code>, <code>end-user-agreement</code>.</p>\n","type":"text/plain"},"key":"documentType","value":""}],"variable":[]}},"response":[{"id":"2d9a9493-836f-40d0-8b93-0de7c2fabbcc","name":"Unsupported Media Type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","value":"application/pdf","type":"text"}],"body":{"mode":"file","file":{}},"url":{"raw":"{{host}}/v1/screenings/001000063225945/documents?party=candidate&documentType=end-user-agreement","host":["{{host}}"],"path":["v1","screenings","001000063225945","documents"],"query":[{"key":"party","value":"candidate","description":"Possible values: `candidate` , `trusted-user`"},{"key":"documentType","value":"end-user-agreement","description":"Possible values: `disclosure-and-authorization`, `end-user-agreement`."}]}},"status":"Unsupported Media Type","code":415,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"123"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 17:35:42 GMT"},{"key":"x-amzn-RequestId","value":"dffec31e-6dc9-11e9-bce7-65ea6d949c42"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZHhNRHyJoAMFp1w="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccc7bee-f2c4c3db8dbb5bcfb9c969f6"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 c30e2e24424040c28e96664ae03f9685.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"3TcfzOq-IZrr6U6ECIH1EcEUvNZxoIzPNuDjdL4y5y0Am72EAYKvXg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"415#requires-octet-stream\",\n            \"message\": \"this endpoint requires content type application/octet-stream.\"\n        }\n    ]\n}"},{"id":"9fe7c929-2269-480b-b17b-61f6d5600497","name":"Attach Screening Document","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","value":"application/octet-stream","type":"text"}],"body":{"mode":"file","file":{}},"url":{"raw":"{{host}}/v1/screenings/001000063225945/documents?party=candidate&documentType=end-user-agreement","host":["{{host}}"],"path":["v1","screenings","001000063225945","documents"],"query":[{"key":"party","value":"candidate"},{"key":"documentType","value":"end-user-agreement"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 17:13:27 GMT"},{"key":"x-amzn-RequestId","value":"c1586a67-6dc6-11e9-b5d3-9f73ec5b257e"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZHd76HurIAMF1qg="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccc76b2-fb51cbf8d0711f5ccecf93c4"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 39174a6a452e175e6e614ff396a4ca4f.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"g-siyDG6alx8_GS7TiyfmTqFnng0nd_rlP1aw6GLe85NOTqj1YZfUQ=="}],"cookie":[],"responseTime":null,"body":null},{"id":"c75995ff-bee6-4efd-a62e-68e474871641","name":"No Binary File","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/octet-stream","type":"text"}],"body":{"mode":"file","file":{}},"url":{"raw":"{{host}}/v1/screenings/001000063225945/documents?party=candidate&documentType=end-user-agreement","host":["{{host}}"],"path":["v1","screenings","001000063225945","documents"],"query":[{"key":"party","value":"candidate","description":"Possible values: `candidate` , `trusted-user`"},{"key":"documentType","value":"end-user-agreement","description":"Possible values: `disclosure-and-authorization`, `end-user-agreement`."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"125"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 17:37:52 GMT"},{"key":"x-amzn-RequestId","value":"2d6a194f-6dca-11e9-924d-b3baeedb9fcb"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZHhhkFoooAMF6Iw="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccc7c70-9a415812de67ad0061e6aaa2"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 c30e2e24424040c28e96664ae03f9685.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"lgNd-AUYViyEJmw4ZmYo8sf0anx3tD5ix66W52h0NLH0FTj3frfycg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400\",\n            \"message\": \"Body must include binary file\"\n        },\n        {\n            \"code\": \"400\",\n            \"message\": \"file must be application/pdf\"\n        }\n    ]\n}"}],"_postman_id":"7f619ced-36a8-4ca6-8455-e63d749e7ba5"},{"name":"List All Screening Documents","event":[{"listen":"test","script":{"id":"ff09723b-62d2-442a-9e2c-07fe634f9ac0","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"6e18b0f4-2adb-417f-8156-f4295d1e47ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/screenings/{{screening_id}}/documents","description":"<p>List all the documents of a screening.</p>\n","urlObject":{"path":["v1","screenings","{{screening_id}}","documents"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"f10fe2c7-9613-41d8-ab5d-fd991fe12215","name":"List All Screening Documents","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/screenings/001000063225945/documents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"445"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 17:52:17 GMT"},{"key":"x-amzn-RequestId","value":"306d0db6-6dcc-11e9-928e-b7a48cf3f604"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZHjokE3IoAMF0pg="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccc7fd0-78cf8cfc6b1de02424b18dc2"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 ed7bccbdf1dd6cc7ca3376d49c334132.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"tUxXjnqx_FfMwKaNsijTA7TiW_ml79wRxaga655C0jaKL2W6EdKUPw=="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"2341245\",\n        \"candidateId\": \"927084\",\n        \"fileName\": \"disclosure-and-authorization_candidate_2942bfab-b3d0-3332-b66e-b128e0842cff.pdf\",\n        \"fileType\": \"Attachment\",\n        \"createdAt\": \"2019-05-03T17:51:54Z\",\n        \"updatedAt\": \"2019-05-03T17:51:54Z\"\n    },\n    {\n        \"id\": \"2341244\",\n        \"candidateId\": \"927084\",\n        \"fileName\": \"end-user-agreement_candidate_2942bfab-b3d0-3332-b66e-b128e0842cff.pdf\",\n        \"fileType\": \"Attachment\",\n        \"createdAt\": \"2019-05-03T17:13:27Z\",\n        \"updatedAt\": \"2019-05-03T17:13:27Z\"\n    }\n]"}],"_postman_id":"6e18b0f4-2adb-417f-8156-f4295d1e47ba"},{"name":"Retrieve Screening Document","event":[{"listen":"test","script":{"id":"946e4f8d-e69e-414f-a650-e2c6211e9c31","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"6e9de92e-9b9b-4271-b87e-887d5857bd8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/screenings/{{screening_id}}/documents/{attachment_id}","description":"<p><code>GET</code> request to fetch a single document associated with a screening.</p>\n<p><strong>Request Body Fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>screening_id</td>\n<td>required</td>\n<td>The unique identifier of the screening you wish to fetch documents for.</td>\n</tr>\n<tr>\n<td>attachmentId</td>\n<td>required</td>\n<td>The unique identifier of the attachment.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","screenings","{{screening_id}}","documents","{attachment_id}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e9de92e-9b9b-4271-b87e-887d5857bd8a"}],"id":"834e3ea7-02a5-43dc-bfc8-415ca25da46f","description":"<p>In some cases, supporting documents must be provided for a candidate or a screening to be completed and made available to requesters. The payload of the <code>POST</code> request should be the binary file contents, represented as a stream or array of <code>byte</code>s. Avoid encoding the payload as text, as this will result in blank, unreadable PDF files.</p>\n<p>Care should be taken with binary file contents, as some languages may change encoding internally. Check your library's documentation for handling binary data.</p>\n<blockquote>\n<p><strong>File Requirements</strong></p>\n<ul>\n<li><p>The maximum file size is 10MB. Files larger than 10MB will result in a 413 error response.</p>\n</li>\n<li><p>Files must be in <code>.pdf</code> format</p>\n</li>\n</ul>\n</blockquote>\n","event":[{"listen":"prerequest","script":{"id":"1375d0cf-8582-46e4-b2d3-52d426db5489","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d7d4f729-28af-4303-b466-4bf94d403f7e","type":"text/javascript","exec":[""]}}],"_postman_id":"834e3ea7-02a5-43dc-bfc8-415ca25da46f"},{"name":"Identity","item":[{"name":"Verify Identity","event":[{"listen":"test","script":{"id":"e3802669-7fd1-45db-a685-385e84760ca7","exec":["var jsonData = JSON.parse(responseBody);","tests[\"Status code is 201\"] = responseCode.code === 201;","postman.setGlobalVariable(\"identity_id\", jsonData.id);"],"type":"text/javascript"}}],"id":"782ffae4-a436-4e95-93e3-f31458766f87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"candidateId\": \"{{candidate_id}}\",\n    \"type\": \"kba\"\n}"},"url":"{{host}}/v1/identities","description":"<p>Request to verify an identity of a candidate.</p>\n","urlObject":{"path":["v1","identities"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"32910373-d5d3-44d2-a7d8-e35c0b191c8a","name":"Invalid Candidate","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"candidateId\": \"123124\",\n    \"type\": \"kba\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/identities"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"143"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 22 May 2020 22:46:06 GMT"},{"key":"x-amzn-RequestId","value":"8c79834f-6b60-461e-8aea-3f9afc663d73"},{"key":"x-amzn-Remapped-Connection","value":"keep-alive"},{"key":"x-amz-apigw-id","value":"M9JnNEv9IAMF8yQ="},{"key":"Request-Id","value":"0a982b4e-32f6-49d5-bb69-cdf97b36716d"},{"key":"x-amzn-Remapped-Date","value":"Fri, 22 May 2020 22:46:06 GMT"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 798fb06c416f07d7eaba25e2728dc5ac.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD79-C3"},{"key":"X-Amz-Cf-Id","value":"ofL15ib6XH7KmM06cujCItId_-hYpxAhF3mjzTt7oS9kW6jVYxuTFg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#candidateId?not-found\",\n            \"message\": \"candidateId must be a valid candidateId associated with the authenticated account\"\n        }\n    ]\n}"},{"id":"3905247e-0f11-44e6-a25e-89e1ae693484","name":"Verify Identity","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"candidateId\": \"123124\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/identities"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"65"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 18:19:02 GMT"},{"key":"x-amzn-RequestId","value":"e5b23541-6dcf-11e9-a2af-cf47e662a084"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZHnhaEm1oAMF8wA="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccc8609-7828dff44d8c97c0bbc282e2"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 d5a6610c68af624ff3a6a9cdee479708.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"pCNMzxo_Ogg1GO3GnfdwUKf9LeqIfeCNI_K6tBfCzwFh41m6m2qkaA=="}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"1123123\",\n  \"candidateId\": \"123124\",\n  \"status\": \"pending\",\n  \"kba\": {\n    \"questions\": [\n      {\n        \"id\": \"1\",\n        \"prompt\": \"What's your favorite number?\",\n        \"answers\": [\n          \"14\",\n          \"42\",\n          \"tau\",\n          \"e\",\n          \"planck's constant\"\n        ]\n      },\n      {\n        \"id\": \"2\",\n        \"prompt\": \"Where do you live?\",\n        \"answers\": [\n          \"mercury\",\n          \"venus\",\n          \"earth\",\n          \"mars\",\n          \"oort cloud\"\n        ]\n      }\n    ]\n  }\n}"},{"id":"957bd7b5-df7d-4aa2-a956-d5d5c71b643c","name":"Candidate Has Existing Identity Record","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"candidateId\": \"988294079\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/identities"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"92"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 18:50:09 GMT"},{"key":"x-amzn-RequestId","value":"3f211de6-6dd4-11e9-95a4-f7e27e031d1d"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZHsFTFvJoAMFYnA="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccc8d55-7d28806759c69a94a9308ff4"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 f082203290ecd8aea497e1bd9f2f6ebc.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"VfuecDt2U1JXFF-z-GSWP883qZXjqkw3E17l82TrDawHKhk-1R2Tqg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#candidateId\",\n            \"message\": \"Candidate already has an identity record\"\n        }\n    ]\n}"}],"_postman_id":"782ffae4-a436-4e95-93e3-f31458766f87"},{"name":"Retrieve Identity","id":"7babeff2-00ec-4595-a14b-b079e81acfb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/identities/{{identity_id}}","description":"<p>Fetch the identity using a unique <code>id</code>.</p>\n","urlObject":{"path":["v1","identities","{{identity_id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8c503c1a-ea57-4c75-888f-6371ece15ebb","name":"Retrieve Identity","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/identities/2406"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"522"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 18:27:15 GMT"},{"key":"x-amzn-RequestId","value":"13a4f200-6dd1-11e9-82ce-916e08700fd3"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZHowkE7uIAMFa7g="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccc8803-596dfee495505442c0a76e1c"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 8c1b1d3bc72fa37d10089ae804d74c7e.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"nU3VevChO2R369-lDzaB8iq5offJDOVKuuU1r8DxHvttGmq4OdpYlA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"2406\",\n    \"candidateId\": \"1219726\",\n    \"status\": \"pending\",\n    \"type\": \"kba\",\n    \"kba\": {\n        \"questions\": [\n            {\n                \"prompt\": \"With which name are you associated?\",\n                \"id\": \"1\",\n                \"answers\": [\n                    \"NOBLE\",\n                    \"NEFF\",\n                    \"NAGANO\",\n                    \"None of the above\"\n                ]\n            },\n            {\n                \"prompt\": \"When did you purchase the property at PEACHTREE PLACE?\",\n                \"id\": \"2\",\n                \"answers\": [\n                    \"June 1999\",\n                    \"August 1999\",\n                    \"April 2000\",\n                    \"None of the above\"\n                ]\n            },\n            {\n                \"prompt\": \"From whom did you purchase the property at 222333 PEACHTREE PLACE?\",\n                \"id\": \"3\",\n                \"answers\": [\n                    \"ANDREW SCHWARZ\",\n                    \"JOE ANDERSON\",\n                    \"STEVE. REIFEL\",\n                    \"None of the above\"\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"7babeff2-00ec-4595-a14b-b079e81acfb0"},{"name":"Retry Identity","id":"fe8e9c41-f83e-4340-9241-61a703445b6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/identities/{{identity_id}}/retry","description":"<p>Retry an identity check with its given <code>id</code>.</p>\n","urlObject":{"path":["v1","identities","{{identity_id}}","retry"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"fbd2496e-6734-4bef-a0b3-7dcab29772da","name":"Retry Identity","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/identities/2406/retry"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"465"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 19:00:46 GMT"},{"key":"x-amzn-RequestId","value":"bde00eb6-6dd5-11e9-8cac-738ff0b24e83"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZHtpoEAQIAMFg5w="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccc8fd7-3ef3d5a2953f802610fb52f4;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 68bb623bd1a01bfb6607a40643084c92.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"Ql3xX8Ly5YfreJCeshwjdyX9dXMrA5bLuXxBPYxK2riEgp351ybfNw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"2406\",\n    \"candidateId\": \"1219726\",\n    \"status\": \"pending\",\n    \"type\": \"kba\",\n    \"kba\": {\n        \"questions\": [\n            {\n                \"prompt\": \"In which county have you lived?\",\n                \"id\": \"1\",\n                \"answers\": [\n                    \"FULTON\",\n                    \"NUCKOLLS\",\n                    \"MINIDOKA\",\n                    \"None of the above\"\n                ]\n            },\n            {\n                \"prompt\": \"In which city is ANY STREET?\",\n                \"id\": \"2\",\n                \"answers\": [\n                    \"THORNTON\",\n                    \"PAULDING\",\n                    \"ATLANTA\",\n                    \"None of the above\"\n                ]\n            },\n            {\n                \"prompt\": \"Between 1979 and 1980, in which State did you live?\",\n                \"id\": \"3\",\n                \"answers\": [\n                    \"MISSISSIPPI\",\n                    \"KENTUCKY\",\n                    \"NEW YORK\",\n                    \"None of the above\"\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"fe8e9c41-f83e-4340-9241-61a703445b6c"},{"name":"Answer Verification Questions","id":"1e5e9394-6b66-4e27-99bb-75295e355c84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"kba\": {\n        \"questions\": [\n            {\n                \"prompt\": \"In which county have you lived?\",\n                \"id\": \"1\",\n                \"answers\": [\n                    \"DIVIDE\",\n                    \"FULTON\",\n                    \"MARSHALL\",\n                    \"None of the above\"\n                ]\n            },\n            {\n                \"prompt\": \"Between 1999 and 2002, in which State did you live?\",\n                \"id\": \"2\",\n                \"answers\": [\n                    \"MISSOURI\",\n                    \"NEW YORK\",\n                    \"OKLAHOMA\",\n                    \"None of the above\"\n                ]\n            },\n            {\n                \"prompt\": \"What type of residence is 4545 MAPLE VIEW PLACE?\",\n                \"id\": \"3\",\n                \"answers\": [\n                    \"Single Family Residence\",\n                    \"Apartment\",\n                    \"Condominium\",\n                    \"None of the above\"\n                ]\n            }\n        ],\n        \"answers\": [\n            {\n                \"questionId\": \"1\",\n                \"response\": \"FULTON\"\n            },\n            {\n                \"questionId\": \"2\",\n                \"response\": \"NEW YORK\"\n            },\n            {\n                \"questionId\": \"3\",\n                \"response\": \"Single Family Residence\"\n            }\n        ]\n    }\n}"},"url":"{{host}}/v1/identities/{{identity_id}}/verification","description":"<p>Provide the candidate's answers to their identity questions. This will determine whether the candidate is verified or not based on their answers. These questions are set in <code>GET</code> identity.</p>\n<p><strong>Request Body Fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>kba.questions</td>\n<td>required</td>\n<td>The KBA questions from the existing identity.</td>\n</tr>\n<tr>\n<td>kba.answers</td>\n<td>required</td>\n<td>The candidate's answers to the KBA questions.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","identities","{{identity_id}}","verification"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"a4d4ff89-b055-4629-a4c4-40b1ae364617","name":"Expired Questions","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"kba\": {\n        \"questions\": [\n            {\n                \"prompt\": \"With which name are you associated?\",\n                \"id\": \"1\",\n                \"answers\": [\n                    \"NOBLE\",\n                    \"NEFF\",\n                    \"NAGANO\",\n                    \"None of the above\"\n                ]\n            },\n            {\n                \"prompt\": \"When did you purchase the property at PEACHTREE PLACE?\",\n                \"id\": \"2\",\n                \"answers\": [\n                    \"June 1999\",\n                    \"August 1999\",\n                    \"April 2000\",\n                    \"None of the above\"\n                ]\n            },\n            {\n                \"prompt\": \"From whom did you purchase the property at 222333 PEACHTREE PLACE?\",\n                \"id\": \"3\",\n                \"answers\": [\n                    \"ANDREW SCHWARZ\",\n                    \"JOE ANDERSON\",\n                    \"STEVE. REIFEL\",\n                    \"None of the above\"\n                ]\n            }\n        ],\n        \"answers\": [\n            {\n                \"questionId\": \"1\",\n                \"response\": \"NOBLE\"\n            },\n            {\n                \"questionId\": \"2\",\n                \"response\": \"June 1999\"\n            },\n            {\n                \"questionId\": \"3\",\n                \"response\": \"ANDREW SCHWARZ\"\n            }\n        ]\n    }\n}"},"url":"{{host}}/v1/identities/4627/verification"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"354"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 19:08:35 GMT"},{"key":"x-amzn-RequestId","value":"d3a0f20b-6dd6-11e9-bad4-0b4142d7f43e"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZHuycEXzIAMFUgQ="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccc91a9-b6418e8e7a1617649a5b6e58"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 68bb623bd1a01bfb6607a40643084c92.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"dQIAwANHF3KkIXLZKNxkx33crDKi2focAHF6EFL9assBD78NGJMo1Q=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"422#expired\",\n            \"message\": \"Questions for identity {{identityId}} have expired. Please initiate a retry using /identities/{{identityId}}/retry\"\n        }\n    ]\n}"},{"id":"e3e01410-3a36-4fc7-8090-12896075b183","name":"Answer Verification Questions","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"kba\": {\n    \"questions\": [\n      {\n        \"prompt\": \"In which county have you lived?\",\n        \"id\": \"1\",\n        \"answers\": [\n          \"DIVIDE\",\n          \"FULTON\",\n          \"MARSHALL\",\n          \"None of the above\"\n        ]\n      },\n      {\n        \"prompt\": \"Between 1999 and 2002, in which State did you live?\",\n        \"id\": \"2\",\n        \"answers\": [\n          \"MISSOURI\",\n          \"NEW YORK\",\n          \"OKLAHOMA\",\n          \"None of the above\"\n        ]\n      },\n      {\n        \"prompt\": \"What type of residence is 4545 MAPLE VIEW PLACE?\",\n        \"id\": \"3\",\n        \"answers\": [\n          \"Single Family Residence\",\n          \"Apartment\",\n          \"Condominium\",\n          \"None of the above\"\n        ]\n      }\n    ],\n    \"answers\": [\n      {\n        \"questionId\": \"1\",\n        \"response\": \"FULTON\"\n      },\n      {\n        \"questionId\": \"2\",\n        \"response\": \"NEW YORK\"\n      },\n      {\n        \"questionId\": \"3\",\n        \"response\": \"Single Family Residence\"\n      }\n    ]\n  }\n}"},"url":"{{host}}/v1/identities/867/verification"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"354"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 19:08:35 GMT"},{"key":"x-amzn-RequestId","value":"d3a0f20b-6dd6-11e9-bad4-0b4142d7f43e"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZHuycEXzIAMFUgQ="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccc91a9-b6418e8e7a1617649a5b6e58"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 68bb623bd1a01bfb6607a40643084c92.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"dQIAwANHF3KkIXLZKNxkx33crDKi2focAHF6EFL9assBD78NGJMo1Q=="}],"cookie":[],"responseTime":null,"body":"{\n   \"id\": \"867\",\n  \"candidateId\": \"1191285\",\n  \"status\": \"verified\"\n}"}],"_postman_id":"1e5e9394-6b66-4e27-99bb-75295e355c84"}],"id":"fa0dfd50-c004-4268-8450-2fcb5dba9608","description":"<p>The <code>/identities</code> resource allows Sterling to verify the identity of a user. In the context of the Sterling API, identity verification is one prerequisite for granting <code>trusted</code> status.</p>\n<p>Unlike a background screening, identity verification does not imply that the individual has passed a background check. Instead, identity verification allows a user to establish that the candidate is who they say they are.</p>\n<blockquote>\n<p><strong>Identity Retries and Offline Verification</strong></p>\n<p>If the candidate fails after these attempts, an offline verification method is &gt;highly recommended through your support teams. If a candidate is verified in this &gt;manner, a <code>POST</code> to <code>/identities</code> does not have to be made.</p>\n<p>We require the allocation of three attempts for candidates to complete their &gt;identity verification before failing over to a manual approach.</p>\n</blockquote>\n","event":[{"listen":"prerequest","script":{"id":"ab5c4541-f887-45ad-8f09-621634f803b7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f56f5497-ac1b-4a0a-9312-df313d84e902","type":"text/javascript","exec":[""]}}],"_postman_id":"fa0dfd50-c004-4268-8450-2fcb5dba9608"},{"name":"Trust","item":[{"name":"Create Trust","event":[{"listen":"test","script":{"id":"e24b9800-d5b8-49e4-beb8-b05f8d40112e","exec":["var jsonData = JSON.parse(responseBody);","tests[\"Status code is 201\"] = responseCode.code === 201;","postman.setGlobalVariable(\"trust_id\", jsonData.id);"],"type":"text/javascript"}}],"id":"110b6364-fc72-4a9c-a1c1-70063272d217","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"identityId\": \"{{identity_id}}\"\n}"},"url":"{{host}}/v1/candidates/{{candidate_id}}/trust","description":"<p>Create trust for a trusted candidate with their given <code>candidate_id</code>.</p>\n<p><strong>Request Body Fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>identityId</td>\n<td>required</td>\n<td>ID for identity verification; Result must = <code>verified</code> in order to create trust.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","candidates","{{candidate_id}}","trust"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"14145fbc-d495-4a46-8963-2bd66b40a340","name":"Create Trust","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"identityId\": \"867\"\n}"},"url":"{{host}}/v1/candidates/1191285/trust"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"32"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 20:19:59 GMT"},{"key":"x-amzn-RequestId","value":"ccf0b6b6-6de0-11e9-b701-75b553bc0bcf"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZH5PxH39IAMFwww="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccca264-b329453387b923f75c21b9ef"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 3fe062e94df57e4dee2ade20002471d5.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"gWocDPJpzgcpPwrmlFVm11V_JX_nc-0UMFxqDota-y0uAgc56NKp8Q=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"4636\",\n    \"identityId\": \"867\"\n}"},{"id":"e8d9f0f5-9e2b-4bd3-be1c-b1e88cdc75f5","name":"Trust Already Exists","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"identityId\": \"867\"\n}"},"url":"{{host}}/v1/candidates/1191285/trust"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"104"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 20:27:21 GMT"},{"key":"x-amzn-RequestId","value":"da9fddf9-6de1-11e9-a1c7-bfbcf2a0f454"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZH6WeHS-IAMF11Q="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccca429-8b806edac5c9652c2a6c6f40;Sampled=0"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 b2566c33186e0b7da4759cb2082b0f5d.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"5kY5_XvUAeGqeZq6jKbDmRcpKdjDX4nmJimX0mWs1qtNfceQhULrPA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#identityId\",\n            \"message\": \"Trusted identifier already assigned to this candidate\"\n        }\n    ]\n}"}],"_postman_id":"110b6364-fc72-4a9c-a1c1-70063272d217"},{"name":"Lookup Trust","id":"07f3e2fc-d810-4b53-b80d-67ecf3d2db38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/trusted-users/{{trust_id}}","description":"<p>Lookup a trusted candidate by <code>trust_id</code>.</p>\n","urlObject":{"path":["v1","trusted-users","{{trust_id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"7159285f-7736-4799-bd80-7cd87c5db312","name":"Lookup Trusted User","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/trusted-users/4636"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"32"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 20:32:29 GMT"},{"key":"x-amzn-RequestId","value":"921d973b-6de2-11e9-b44c-2f1c3a6dde30"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZH7GkHrzIAMF3QA="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccca55d-8d20cea08a5189400ec6d620;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 50ce79d11488558ae66a3f9bac6f0faa.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"CckAfmAoc-ykO-pz_wipCn-Bhx67oZwDAbH6IODpzEBXALgyfXoclg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"4636\",\n    \"identityId\": \"867\"\n}"}],"_postman_id":"07f3e2fc-d810-4b53-b80d-67ecf3d2db38"},{"name":"Revoke Trust","id":"febe30cc-c540-488e-81bb-15422076341c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/trusts/{{trust_id}}","description":"<p>Revoke trust from a trusted user by <code>trust_id</code>.</p>\n","urlObject":{"path":["v1","trusts","{{trust_id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"bc281b13-d6bc-4341-b3c7-c13ec356efa9","name":"Revoke Trust","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/trusts/4636"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 20:44:52 GMT"},{"key":"x-amzn-RequestId","value":"49f4030e-6de4-11e9-9b1a-0dd6855d3202"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZH854GyjoAMFwtQ="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccca83f-244c4147f5c50853299a5edc;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 795fca0399f361701665c0d9fab45325.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"LHzJF-aRt2WKMutAQdlSbZf0gh9L2pth6f3NcL-8YQ66IKXBSN-D2A=="}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"febe30cc-c540-488e-81bb-15422076341c"},{"name":"Re-enable Trust","id":"4b25613f-4601-4900-9f62-e7d7f0671e4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/trusts/{{trust_id}}/enable","description":"<p>When a trust has been revoked from a trusted user, passing the trust <code>trust_id</code> to this <code>PUT</code> endpoint will re-enable that trust.</p>\n","urlObject":{"path":["v1","trusts","{{trust_id}}","enable"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c2fb7c40-aa1b-4905-ac11-1eb1648e83f4","name":"Re-enable Trust","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/trusts/4636/enable"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"32"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 20:50:24 GMT"},{"key":"x-amzn-RequestId","value":"0cb9285e-6de5-11e9-8a1d-dd38e11a126f"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZH9s7H23oAMFt8w="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5ccca985-43b955681cb9595cefeb1d5c;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 c58036c793b4693c3fe1da8fd362b785.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"KyH8H7vksmAuINZLRj9WQ3lz-NN4vQOsRecUNkh-USTqnywlIYVItA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"4636\",\n    \"identityId\": \"867\"\n}"}],"_postman_id":"4b25613f-4601-4900-9f62-e7d7f0671e4c"}],"id":"8c77290d-20b6-4ec0-b8f3-66ca44d11470","description":"<p>Once a candidate has passed identity verification, the candidate can be granted trust. An application can then submit screening requests on behalf of the trusted user. This trust, along with a permissible purpose, allows the trusted user to review the screening report and approve or reject the candidate for that purpose.</p>\n<p>Trust can be revoked by making a request to the <code>DELETE</code> endpoint.</p>\n","event":[{"listen":"prerequest","script":{"id":"0bf2ca84-63be-4cab-8413-39d3449daf97","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fc21b8e5-860f-49e1-9abe-2e45f5b632c6","type":"text/javascript","exec":[""]}}],"_postman_id":"8c77290d-20b6-4ec0-b8f3-66ca44d11470"},{"name":"Codes","item":[{"name":"List Reference Codes","event":[{"listen":"test","script":{"id":"4718b5aa-40f0-4014-a5a5-a353b6a2c6dc","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript"}}],"id":"5d11209d-b7d6-4afd-9c31-e77805a890ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/reference-codes","description":"<p><code>GET</code> request to list reference codes associated with the API account.</p>\n","urlObject":{"path":["v1","reference-codes"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"f552b927-3369-4afc-9e75-cc04d08daf39","name":"List Reference Codes","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/reference-codes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"21"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 20:55:52 GMT"},{"key":"x-amzn-RequestId","value":"d696dc96-6de5-11e9-bf7e-c99b1ae3cde3"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZH-h2FrNoAMFd4A="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5cccaad8-23ffe728b11a86ae40b2b2aa"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 e1f0363dccfdcada535eb4fd7c2d2e27.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"muWSuNf9Wjdf5X2PwUGjRFd6bv4PJdiFcqYOfiKh91TNqKbjLOYlww=="}],"cookie":[],"responseTime":null,"body":"{\n  \"referenceCodes\": [\n    {\n      \"code\": \"US\",\n      \"codes\": [\n        {\n          \"code\": \"WA\",\n          \"codes\": [\n            {\n              \"code\": \"Bellevue\"\n            },\n            {\n              \"code\": \"Bothell\"\n            },\n            {\n              \"code\": \"Seattle\"\n            }\n          ]\n        },\n        {\n          \"code\": \"NY\",\n          \"codes\": [\n            {\n              \"code\": \"New York\"\n            }\n          ]\n        },\n        {\n          \"code\": \"CO\",\n          \"codes\": [\n            {\n              \"code\": \"Denver\"\n            }\n          ]\n        },\n        {\n          \"code\": \"CA\",\n          \"codes\": [\n            {\n              \"code\": \"San Diego\"\n            },\n            {\n              \"code\": \"San Francisco\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}"}],"_postman_id":"5d11209d-b7d6-4afd-9c31-e77805a890ba"},{"name":"List Billing Codes","id":"fb13380c-902b-42ef-8fc1-f532e3618154","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"}],"url":"{{host}}/v1/billing-codes","description":"<p><code>GET</code> request to retrieve the billing codes associated with the API account.</p>\n","urlObject":{"path":["v1","billing-codes"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"f7c50714-fb0e-4f1d-83e4-3d990e5053d8","name":"List Billing Codes","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}","type":"text"}],"url":"{{host}}/v1/billing-codes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"19"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 20:58:16 GMT"},{"key":"x-amzn-RequestId","value":"2c121955-6de6-11e9-9317-5d4a7e1d6272"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZH-4QGfVoAMF3cA="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5cccab68-fe65b6835a8519fb65c2b9e7"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 e1f0363dccfdcada535eb4fd7c2d2e27.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"Vi2BE4cxsO6HiONlZyWteM4R9iy3jTd1gFjKsnmlTLMHV_Pfh9jzAg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"billingCodes\": [\n        \"Bellevue-WA\",\n        \"New Offer Program\"\n    ]\n}"}],"_postman_id":"fb13380c-902b-42ef-8fc1-f532e3618154"}],"id":"10a84e07-28f1-45f0-a6d4-f55d0978714a","description":"<p>A pair of <code>GET</code>s for billing-codes and reference-codes, respectively, are available to allow for the listing of existing billing or reference codes available to your account.</p>\n","_postman_id":"10a84e07-28f1-45f0-a6d4-f55d0978714a"},{"name":"Webhooks","item":[{"name":"Create Webhook","event":[{"listen":"test","script":{"id":"4159f617-631c-4066-9dfd-a660a8e6cc94","exec":["var jsonData = JSON.parse(responseBody);","tests[\"Status code is 201\"] = responseCode.code === 201;","postman.setGlobalVariable(\"webhook_id\", jsonData.id);"],"type":"text/javascript"}}],"id":"9b2862a0-289b-44a6-80c6-b57781cc0683","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"uri\": \"https://www.example.com\",\n    \"credentials\": {\n        \"basic-auth\": \"base64-encoded-credentials\"\n    }\n}"},"url":"{{host}}/v1/config/webhooks","description":"<p>Add a global webhook for all screenings.</p>\n<p><strong>Request Body Fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>uri</td>\n<td>required</td>\n<td>A uri on a server that you control where you expect to receive callback updates related to screenings. Must be an https uri.</td>\n</tr>\n<tr>\n<td>credentials</td>\n<td>optional</td>\n<td><code>callback</code> when creating a screening.</td>\n</tr>\n<tr>\n<td>credentials.basic-auth</td>\n<td>optional</td>\n<td>HTTP Basic Auth credentials for callback authentication. Requests sent from Sterling API to the callback endpoint will include these credentials in the <code>Authorization</code> header.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","config","webhooks"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8a4c52ec-8b28-4a60-b3d6-761601f91ac5","name":"Create Webhook","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"uri\": \"https://www.example.com\",\n    \"credentials\": {\n        \"basic-auth\": \"base64-encoded-credentials\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/config/webhooks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"84"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 21:05:01 GMT"},{"key":"x-amzn-RequestId","value":"17870bba-6de7-11e9-91a7-b7ed13cf3305"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZH_1_H90IAMFnTQ="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5cccacf3-2d7106c0845e4320bc605520"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 23d2c4964d6868e014bfe491b62d3f2f.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"SYzhNolTzmstM56MoLF0OrI-nnYaVv3Wj72pYvCJ-xhKqSpVnkMHYg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"432153\",\n    \"uri\": \"https://www.example.com\",\n    \"credentials\": {\n        \"basic-auth\": \"base64-encoded-credentials\"\n    }\n}"},{"id":"c4362668-21f9-4c46-af02-6cc68bc8a34b","name":"Bad URI","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"uri\": \"http://www.example.com\",\n    \"credentials\": {\n        \"basic-auth\": \"base64-encoded-credentials\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/config/webhooks"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"80"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 21:06:37 GMT"},{"key":"x-amzn-RequestId","value":"50da3005-6de7-11e9-b161-090ef9f790f6"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZIAFAHytIAMFnQQ="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5cccad53-283bf3c831ff1085a59af7c9"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 23d2c4964d6868e014bfe491b62d3f2f.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"LkFx6KQVhXEXyJamXHdM64s4ITGJ3Oj2J7UA5PspGYkjekvfg_QyrQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400#uri?format\",\n            \"message\": \"uri must be a valid https url\"\n        }\n    ]\n}"},{"id":"cb3d099c-00cf-431a-ae20-1dbccbb74002","name":"Webhook Already Exists","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"uri\": \"https://www.example.com\",\n    \"credentials\": {\n        \"basic-auth\": \"base64-encoded-credentials\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/config/webhooks"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"84"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 21:07:11 GMT"},{"key":"x-amzn-RequestId","value":"6538e054-6de7-11e9-b442-978d8415e8cb"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZIAKWEBzoAMFyCg="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5cccad75-95fba564d34aea0c8a72a728"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 23d2c4964d6868e014bfe491b62d3f2f.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"sFNlAVrsGIgjCCrp1qdg7pDBwJBQLMS3cGD-8aVnUXe1mRqY5ULDBg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"code\": \"400\",\n            \"message\": \"Currently restricted to one webhook per user\"\n        }\n    ]\n}"}],"_postman_id":"9b2862a0-289b-44a6-80c6-b57781cc0683"},{"name":"Get Webhook","id":"228140ff-cc02-4d2d-9ee9-1d95fb98c035","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/config/webhooks/{{webhook_id}}","description":"<p>Lookup an existing webhook by <code>webhook_id</code>.</p>\n","urlObject":{"path":["v1","config","webhooks","{{webhook_id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"9b048f08-adc6-4c0c-a198-d37dde919337","name":"Get Webhook","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"url":"{{host}}/v1/config/webhooks/432153"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 03 May 2019 21:13:15 GMT"},{"key":"x-amzn-RequestId","value":"3e4fd3f2-6de8-11e9-8c97-2d092a9042b3"},{"key":"X-Permitted-Cross-Domain-Policies","value":"master-only"},{"key":"Strict-Transport-Security","value":"max-age=86400; includeSubDomains"},{"key":"x-amz-apigw-id","value":"ZIBDQFR3IAMFakg="},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5cccaee1-8f0e70b6831c5eba59104a38"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 23d2c4964d6868e014bfe491b62d3f2f.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Id","value":"8FOgHKIRrv6sopNCwLqNv9wv8xY5EncnYuiWtuaze9bztCbeKDESTA=="}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"432153\",\n  \"uri\": \"https://www.example.com\",\n  \"credentials\": {\n    \"basic-auth\": \"base64-encoded-credentials\"\n  }\n}"}],"_postman_id":"228140ff-cc02-4d2d-9ee9-1d95fb98c035"},{"name":"Update Webhook","event":[{"listen":"test","script":{"id":"724c31f2-e133-4fbc-9a11-6ceb171e474a","exec":["var jsonData = JSON.parse(responseBody);","tests[\"Status code is 201\"] = responseCode.code === 201;","postman.setGlobalVariable(\"webhook_id\", jsonData.id);"],"type":"text/javascript"}}],"id":"9c4b3cb0-e170-475d-b0bf-08c0eb21394c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"uri\": \"https://www.another-example.com\",\n    \"credentials\": {\n        \"basic-auth\": \"base64-encoded-credentials\"\n    }\n}"},"url":"{{host}}/v1/config/webhooks/{{webhook_id}}","description":"<p>Configure an existing webhook by <code>webhook_id</code>.</p>\n<p><strong>Request Body Fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>uri</td>\n<td>required</td>\n<td>A uri on a server that you control where you expect to receive callback updates related to screenings. Must be an https uri.</td>\n</tr>\n<tr>\n<td>credentials</td>\n<td>optional</td>\n<td><code>callback</code> when creating a screening.</td>\n</tr>\n<tr>\n<td>credentials.basic-auth</td>\n<td>optional</td>\n<td>HTTP Basic Auth credentials for callback authentication. Requests sent from Sterling API to the callback endpoint will include these credentials in the <code>Authorization</code> header.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","config","webhooks","{{webhook_id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"21d12c1c-3973-45b0-84b0-e36c9df7ca2c","name":"Update Webhook","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"uri\": \"www.exampl33e.com\",\n    \"credentials\": {\n        \"basic-auth\": \"asdbfxans44444\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/v1/config/webhooks/432153"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"432153\",\n    \"uri\": \"www.exampl33e.com\",\n    \"credentials\": {\n        \"basic-auth\": \"asdbfxans44444\"\n    }\n}"}],"_postman_id":"9c4b3cb0-e170-475d-b0bf-08c0eb21394c"},{"name":"Delete Webhook","id":"1153a888-ea1c-459e-a575-a7a40f430eb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{bearer_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{host}}/v1/config/webhooks/{{webhook_id}}","description":"<p>Remove an existing webhook by <code>webhook_id</code>.</p>\n","urlObject":{"path":["v1","config","webhooks","{{webhook_id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1153a888-ea1c-459e-a575-a7a40f430eb6"}],"id":"35fc32ef-4b26-4560-a6bc-fe0d91cbaeaa","description":"<p>In some cases you may want to collect data for every screening on one endpoint. Webhooks provide this capability and will include additional information apart from just screening updates</p>\n<p>Any number of Webhook endpoints can be created and begin with a simple <code>POST</code> request.</p>\n<p>Upon creation of the Webhook, any and all screening updates will be posted to the URI provided in the payload.</p>\n","event":[{"listen":"prerequest","script":{"id":"d43dd0d6-4a9c-43e6-a94b-82a33ae2169f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"711ce1fa-133f-41e6-987c-e437f259b739","type":"text/javascript","exec":[""]}}],"_postman_id":"35fc32ef-4b26-4560-a6bc-fe0d91cbaeaa"}],"id":"63208c4e-983d-446f-818d-9566c8262414","_postman_id":"63208c4e-983d-446f-818d-9566c8262414","description":""},{"name":"Objects","item":[{"name":"Address","item":[],"id":"7d9ba53f-3ef7-4eb2-8cfa-12e46b175df9","description":"<p>This is the address of the candidate.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>addressLine</td>\n<td>string</td>\n<td><strong>Required.</strong> The candidate's residential street address, such as \"123 Main Street\".</td>\n</tr>\n<tr>\n<td>municipality</td>\n<td>string</td>\n<td><strong>Required.</strong> The city or town of the address.</td>\n</tr>\n<tr>\n<td>regionCode</td>\n<td>string</td>\n<td>The ISO 3166-2 region, such as a US state, where the candidate lives. In the US, this is the combination of \"US\", a dash, and the state or territory's two-letter postal code. For example, Texas is <code>\"US-TX\"</code> and Puerto Rico is <code>\"US-PR\"</code>.</td>\n</tr>\n<tr>\n<td>postalCode</td>\n<td>string</td>\n<td><strong>Required.</strong> The 5 or 9 digit zip code for the address, with no dashes.</td>\n</tr>\n<tr>\n<td>countryCode</td>\n<td>string</td>\n<td><strong>Required.</strong> The two-letter ISO short code for the country of the address, such as <code>\"US\"</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>JSON Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>address\": {\n    \"addressLine\": \"123 PEACHTREE PLACE\",\n    \"municipality\": \"ATLANTA\",\n    \"regionCode\": \"US-GA\",\n    \"postalCode\": \"12345\",\n    \"countryCode\": \"US\"\n}\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"3f2cdf30-25fa-4323-881a-36d87c46bb2a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1645452f-3298-42fe-9b1a-e813622c29b2","type":"text/javascript","exec":[""]}}],"_postman_id":"7d9ba53f-3ef7-4eb2-8cfa-12e46b175df9"},{"name":"DriversLicense","item":[],"id":"90fde48a-08a3-4830-8e54-d499c7736913","description":"<p>This is the candidate's driver's license.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>enum[string]</td>\n<td><strong>Required.</strong> Driver's license type (personal or commercial)</td>\n</tr>\n<tr>\n<td>licenseNumber</td>\n<td>string</td>\n<td><strong>Required</strong>. Driver's license number.</td>\n</tr>\n<tr>\n<td>issuingAgency</td>\n<td>string</td>\n<td><strong>Required</strong>. Driver's license issuing agency. It is the ISO 3166-2 region.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>JSON Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"driversLicense\": {\n    \"type\": \"personal\",\n    \"licenseNumber\": \"S1234567\",\n    \"issuingAgency\": \"CA\"\n}\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"3f2cdf30-25fa-4323-881a-36d87c46bb2a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1645452f-3298-42fe-9b1a-e813622c29b2","type":"text/javascript","exec":[""]}}],"_postman_id":"90fde48a-08a3-4830-8e54-d499c7736913"},{"name":"CandidateAlias","item":[],"id":"ffc20605-67b2-4c38-bb52-834728aec2d0","description":"<p>Alternate information the candidate may also be known by.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>givenName</td>\n<td>string</td>\n<td><strong>Required.</strong> The candidate's alternate first name.</td>\n</tr>\n<tr>\n<td>familyName</td>\n<td>string</td>\n<td><strong>Required</strong>. The candidate's alternate last name.</td>\n</tr>\n<tr>\n<td>middleName</td>\n<td>string</td>\n<td>The candidate's alternate middle name.</td>\n</tr>\n<tr>\n<td>confirmedNoMiddleName</td>\n<td>boolean</td>\n<td>Set to <code>true</code> if the candidate has no alternate middle name.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>JSON Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"aliases\": [\n    {\n        \"givenName\": \"GivenAlias1\",\n        \"familyName\": \"FamilyNameAlias1\",\n        \"middleName\": \"MiddleNameAlias1\",\n        \"confirmedNoMiddleName\": false\n    },\n    {\n        \"givenName\": \"GivenAlias2\",\n        \"familyName\": \"FamilyNameAlias2\",\n        \"confirmedNoMiddleName\": true\n    }\n]\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"3f2cdf30-25fa-4323-881a-36d87c46bb2a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1645452f-3298-42fe-9b1a-e813622c29b2","type":"text/javascript","exec":[""]}}],"_postman_id":"ffc20605-67b2-4c38-bb52-834728aec2d0"},{"name":"CallbackRequest","item":[],"id":"7de76242-2950-4427-b217-06811829cfed","description":"<p>This is the url where webhook notifications should be posted for this screening. Please refer to <a href=\"#callbacks\">Callbacks</a> for more details.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>uri</td>\n<td>string</td>\n<td>A uri on a server that you control where you expect to receive callback updates related to screenings. Must be an <code>https</code> uri.</td>\n</tr>\n<tr>\n<td>credentials</td>\n<td>object(<a href=\"#d3a4502b-42ac-4bcf-b7a8-80a6adbec8ba\">CallbackCredentials</a>)</td>\n<td><code>callback</code> when creating a screening.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>JSON Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"callback\": {\n    \"uri\": \"https://my-company.com/screenings-callback\",\n    \"credentials\": {\n        \"basic-auth\": \"base64-encoded-credentials\"\n    }\n}\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"3f2cdf30-25fa-4323-881a-36d87c46bb2a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1645452f-3298-42fe-9b1a-e813622c29b2","type":"text/javascript","exec":[""]}}],"_postman_id":"7de76242-2950-4427-b217-06811829cfed"},{"name":"CallbackCredentials","item":[],"id":"d3a4502b-42ac-4bcf-b7a8-80a6adbec8ba","description":"<p>Auth credentials for callback authentication.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>basic-auth</td>\n<td>string</td>\n<td>HTTP Basic Auth credentials for callback authentication. Requests sent from Sterling API to the callback endpoint will include these credentials in the <code>Authorization</code> header.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>JSON Example</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"credentials\": {\n    \"basic-auth\": \"base64-encoded-credentials\"\n}\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"3f2cdf30-25fa-4323-881a-36d87c46bb2a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1645452f-3298-42fe-9b1a-e813622c29b2","type":"text/javascript","exec":[""]}}],"_postman_id":"d3a4502b-42ac-4bcf-b7a8-80a6adbec8ba"}],"id":"acc80e03-e5d2-468b-9abb-64f19670fd8e","_postman_id":"acc80e03-e5d2-468b-9abb-64f19670fd8e","description":""}],"event":[{"listen":"prerequest","script":{"id":"5840e2ed-a65e-4bcf-992e-b8e7bf7efef0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2cbf0f31-e693-49b3-9035-7fde458369c6","type":"text/javascript","exec":[""]}}]}