{"info":{"_postman_id":"363a596e-9cb7-463d-ad41-0d544d48ee3a","name":"PSBI Partner API","description":"<html><head></head><body><h1 id=\"psbi-partner-api\">PSBI Partner API</h1>\n<p>Build background screening and ongoing compliance into your HRIS, ATS or workforce platform.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Part</th>\n<th>What it does</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>AutoPilot API</strong></td>\n<td>Enroll a person into a position (a <em>checklist</em>). PSBI orders everything that position requires and keeps it current.</td>\n</tr>\n<tr>\n<td><strong>Partner Gateway</strong></td>\n<td>Order specific background check products for a person.</td>\n</tr>\n<tr>\n<td><strong>Records</strong></td>\n<td>Read the people, orders, reports and documents on the account, wherever they were created.</td>\n</tr>\n<tr>\n<td><strong>Status Webhooks</strong></td>\n<td>PSBI posts to your endpoint when an order is in review, in progress and complete.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>New integration?</strong> Start with <strong>Recipe: AutoPilot enrollment with status webhooks</strong>. It walks through a working integration from the first API call to the completed report.</p>\n<p><strong>Using an AI assistant or coding agent?</strong> Point it at the plain-markdown version: <a href=\"https://psbi.com/developers/partner-api.md\">psbi.com/developers/partner-api.md</a>, with the recipe at <a href=\"https://psbi.com/developers/autopilot-webhooks-recipe.md\">psbi.com/developers/autopilot-webhooks-recipe.md</a>. Both are indexed from <a href=\"https://psbi.com/llms.txt\">psbi.com/llms.txt</a>.</p>\n<h2 id=\"base-url\">Base URL</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://app.psbi.com\n</code></pre><h2 id=\"authentication\">Authentication</h2>\n<p>Every request carries your API key. Send it in a header:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>X-API-Key: your-api-key\n</code></pre><p><code>Authorization: Bearer your-api-key</code> is also accepted.</p>\n<ul>\n<li>A key belongs to one connection, and a connection belongs to one PSBI client account. Every request acts on that account only.</li>\n<li>Keep keys server-side. A key is a credential for your clients' screening data.</li>\n<li>If the system calling PSBI cannot set headers, an <code>api_key</code> query parameter is accepted. Prefer a header wherever you can, because URLs end up in logs.</li>\n</ul>\n<p>Your PSBI implementation contact issues keys.</p>\n<h2 id=\"requests\">Requests</h2>\n<ul>\n<li>Send JSON with <code>Content-Type: application/json</code>, and <code>Accept: application/json</code>.</li>\n<li>Dates are <code>YYYY-MM-DD</code>. Timestamps in responses are ISO 8601 in UTC.</li>\n</ul>\n<h2 id=\"responses\">Responses</h2>\n<p>Every response has a boolean <code>success</code>. Failures add an <code>error</code> object:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"VALIDATION_FAILED\",\n    \"message\": \"The provided data is invalid\",\n    \"details\": { \"consumer.email\": [\"Consumer email is required\"] }\n  }\n}\n</code></pre>\n<p><code>details</code> is included when there is more to say.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP</th>\n<th><code>error.code</code></th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400</td>\n<td><code>NO_CLIENT_ASSOCIATION</code></td>\n<td>The API key is not attached to a client account. Contact PSBI.</td>\n</tr>\n<tr>\n<td>401</td>\n<td><code>MISSING_API_KEY</code></td>\n<td>No API key was sent.</td>\n</tr>\n<tr>\n<td>401</td>\n<td><code>INVALID_API_KEY</code></td>\n<td>The key is wrong or has been deactivated.</td>\n</tr>\n<tr>\n<td>403</td>\n<td><code>READ_ACCESS_NOT_ENABLED</code></td>\n<td><strong>Records</strong> endpoints are not enabled for this key. Contact PSBI.</td>\n</tr>\n<tr>\n<td>403</td>\n<td><code>PLATFORM_CONNECTION_NOT_SUPPORTED</code></td>\n<td><strong>Records</strong> endpoints need a key issued for one client account.</td>\n</tr>\n<tr>\n<td>404</td>\n<td><code>TRANSACTION_NOT_FOUND</code></td>\n<td>No request with that <code>external_id</code> exists on your connection.</td>\n</tr>\n<tr>\n<td>404</td>\n<td><code>CHECKLIST_NOT_FOUND</code></td>\n<td>The checklist does not exist, is inactive, or belongs to another account.</td>\n</tr>\n<tr>\n<td>404</td>\n<td><code>CONSUMER_NOT_FOUND</code></td>\n<td>A transition could not match the person, or a <strong>Records</strong> consumer id does not exist on your account.</td>\n</tr>\n<tr>\n<td>404</td>\n<td><code>ORDER_NOT_FOUND</code>, <code>REPORT_NOT_FOUND</code>, <code>DOCUMENT_NOT_FOUND</code></td>\n<td>That <strong>Records</strong> id does not exist on your account.</td>\n</tr>\n<tr>\n<td>404</td>\n<td><code>NO_ACTIVE_ENROLLMENT</code></td>\n<td>A transition found the person, but they are not enrolled in a position.</td>\n</tr>\n<tr>\n<td>409</td>\n<td><code>DUPLICATE_TRANSACTION</code></td>\n<td>That <code>external_id</code> has already been used on your connection.</td>\n</tr>\n<tr>\n<td>422</td>\n<td><code>VALIDATION_FAILED</code></td>\n<td>The body failed validation. <code>details</code> lists each field.</td>\n</tr>\n<tr>\n<td>422</td>\n<td>varies</td>\n<td>A synchronous (<code>\"sync\": true</code>) request was valid but could not be processed, for example <code>already_enrolled</code>. Read <code>error.message</code>.</td>\n</tr>\n<tr>\n<td>429</td>\n<td><code>RATE_LIMIT_EXCEEDED</code></td>\n<td>Too many <strong>Records</strong> requests. Wait for <code>Retry-After</code> seconds.</td>\n</tr>\n<tr>\n<td>500</td>\n<td><code>INTERNAL_ERROR</code></td>\n<td>Something failed on PSBI's side. Retry later, and contact PSBI if it persists.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"identifiers\">Identifiers</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Whose</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>external_id</code></td>\n<td><strong>Yours</strong></td>\n<td>Your reference for the request, such as a hire or requisition id. It must be unique per connection, and reusing one returns <code>409</code>. You look requests up by it, and it comes back on every status webhook. If you leave it out, PSBI generates one and returns it, but you should always send your own.</td>\n</tr>\n<tr>\n<td><code>transaction_id</code></td>\n<td>PSBI</td>\n<td>The id of your API request in PSBI.</td>\n</tr>\n<tr>\n<td><code>consumer_transaction_id</code></td>\n<td>PSBI</td>\n<td>The id of the background check order the request produced. It is the order <code>id</code> in <strong>Records</strong>.</td>\n</tr>\n<tr>\n<td><code>consumer.id</code></td>\n<td>PSBI</td>\n<td>The person's id in PSBI. Use it for transitions.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"synchronous-and-asynchronous-processing\">Synchronous and asynchronous processing</h2>\n<ul>\n<li><strong>Asynchronous (default).</strong> PSBI validates the request, returns <code>202 Accepted</code> with <code>status: \"received\"</code>, and processes it in the background. Processing normally completes within a minute. Poll the status endpoint or wait for webhooks.</li>\n<li><strong>Synchronous (<code>\"sync\": true</code>).</strong> PSBI processes the request before responding and returns <code>200</code> with the result. Allow up to 30 seconds. This suits interactive screens. For bulk loads, use asynchronous.</li>\n</ul>\n<p>Validation errors, unknown checklists and duplicate <code>external_id</code>s are rejected immediately in both modes.</p>\n<h2 id=\"volume\">Volume</h2>\n<p><strong>Records</strong> endpoints allow 120 requests per minute per key. Other endpoints have no published per-minute limit. Before loading records in bulk (thousands at once), tell your implementation contact.</p>\n<h2 id=\"support\">Support</h2>\n<p>Contact your PSBI implementation team, or email <a href=\"mailto:integrations@psbi.com\">integrations@psbi.com</a>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"PSBI Partner API","slug":"psbi-partner-api"}],"owner":"44933307","collectionId":"363a596e-9cb7-463d-ad41-0d544d48ee3a","publishedId":"2sBXVbJuYQ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"5643AD"},"publishDate":"2025-12-31T20:25:08.000Z"},"item":[{"name":"Authentication","item":[{"name":"Test Authentication","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"API key accepted\", function () {","    pm.expect(pm.response.code).to.equal(404);","    pm.expect(pm.response.json().error.code).to.equal('TRANSACTION_NOT_FOUND');","});"]}}],"id":"055df897-2b50-487b-ad5c-b6dc0c0bf69c","request":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/transactions/test-auth-check","description":"<p>Confirm your API key works before sending real requests.</p>\n<p>This looks up a request id that does not exist, so a working key returns <strong><code>404 TRANSACTION_NOT_FOUND</code></strong>. That 404 means you are authenticated.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Response</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>404 TRANSACTION_NOT_FOUND</code></td>\n<td>The key is valid.</td>\n</tr>\n<tr>\n<td><code>401 INVALID_API_KEY</code></td>\n<td>The key is wrong or inactive.</td>\n</tr>\n<tr>\n<td><code>401 MISSING_API_KEY</code></td>\n<td>No key reached PSBI. Check the header name.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","partners","transactions","test-auth-check"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"d1c1ed07-81eb-421f-b3c0-d6e55f522e70","name":"Key is valid","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/transactions/test-auth-check"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"TRANSACTION_NOT_FOUND\",\n    \"message\": \"Transaction not found\"\n  }\n}"},{"id":"dae44b70-5126-4662-8e81-fedcfaf3f7b2","name":"Key is invalid","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/transactions/test-auth-check"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"INVALID_API_KEY\",\n    \"message\": \"Invalid API key provided\"\n  }\n}"},{"id":"7fd6b46d-2111-4345-9be8-701b5612e007","name":"Key is missing","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/transactions/test-auth-check"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"MISSING_API_KEY\",\n    \"message\": \"API key is required. Provide via X-API-Key header or Authorization: Bearer token\"\n  }\n}"}],"_postman_id":"055df897-2b50-487b-ad5c-b6dc0c0bf69c"}],"id":"81a17d02-a434-4f64-ae21-ee4879c12c5d","description":"<p>Check your API key before sending real requests.</p>\n","_postman_id":"81a17d02-a434-4f64-ae21-ee4879c12c5d"},{"name":"Recipe: AutoPilot enrollment with status webhooks","item":[{"name":"Step 1: Verify your API key","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"API key accepted\", function () {","    pm.expect(pm.response.code).to.equal(404);","    pm.expect(pm.response.json().error.code).to.equal('TRANSACTION_NOT_FOUND');","});"]}}],"id":"4630b2de-6123-41c8-9cfa-287396f9fcd9","request":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/transactions/test-auth-check","description":"<p>A working key returns <code>404 TRANSACTION_NOT_FOUND</code>. Any <code>401</code> means the key or header is wrong.</p>\n","urlObject":{"path":["api","v1","partners","transactions","test-auth-check"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4630b2de-6123-41c8-9cfa-287396f9fcd9"},{"name":"Step 2: Enroll the new hire","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Enrollment accepted\", function () {","    pm.expect([200, 202]).to.include(pm.response.code);","    pm.expect(pm.response.json().success).to.be.true;","});","","var json = pm.response.json();","if (json.external_id) { pm.collectionVariables.set('last_autopilot_external_id', json.external_id); }","if (json.consumer && json.consumer.id) { pm.collectionVariables.set('last_consumer_id', json.consumer.id); }"]}}],"id":"3a2371d9-8eae-4ca7-a2b7-56d7068fde21","request":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"HR-1796253606\",\n  \"consumer\": {\n    \"first_name\": \"Moises\",\n    \"last_name\": \"Homenick\",\n    \"email\": \"you+psbi-test@example.com\",\n    \"phone\": \"555-123-4567\",\n    \"state\": \"TX\"\n  },\n  \"checklist_code\": \"Caregiver\",\n  \"enrollment_path\": \"email_onboarding\",\n  \"metadata\": {\n    \"requisition_id\": \"REQ-2231\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/enroll","description":"<p>Enroll into the position on the <code>email_onboarding</code> path. The person receives an invitation, and the order is submitted once they finish it.</p>\n<p>Set <code>external_id</code> to something that leads back to your record. The test script saves it for Step 3.</p>\n<p>Every field and path is documented under <strong>AutoPilot API → Enroll Consumer</strong>.</p>\n","urlObject":{"path":["api","v1","partners","autopilot","enroll"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"6315c50d-85af-494c-9646-68da5b3914b6","name":"Accepted (async)","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/autopilot/enroll"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"transaction_id\": 1234,\n  \"external_id\": \"HR-2026-001234\",\n  \"status\": \"received\",\n  \"message\": \"Enrollment request received and queued for processing\",\n  \"received_at\": \"2026-09-15T14:02:11.000000Z\"\n}"}],"_postman_id":"3a2371d9-8eae-4ca7-a2b7-56d7068fde21"},{"name":"Step 3: Check the enrollment","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status retrieved\", function () {","    pm.expect([200, 404]).to.include(pm.response.code);","});"]}}],"id":"663266e9-5e70-49c6-954d-1913144a1bca","request":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/autopilot/enrollment/","description":"<p>Confirms the request was <code>processed</code> and an order exists. A <code>failed</code> request carries <code>error_message</code>.</p>\n","urlObject":{"path":["api","v1","partners","autopilot","enrollment",""],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"4f920d76-ed24-4f93-8a4f-3d082bfdb5f7","name":"Processed","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/autopilot/enrollment/HR-2026-001234"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"transaction\": {\n    \"id\": 1234,\n    \"external_id\": \"HR-2026-001234\",\n    \"type\": \"autopilot_enroll\",\n    \"status\": \"processed\",\n    \"received_at\": \"2026-09-15T14:02:11.000000Z\",\n    \"processed_at\": \"2026-09-15T14:02:43.000000Z\",\n    \"error_message\": null\n  },\n  \"enrollment\": {\n    \"id\": 108,\n    \"consumer_id\": 54321,\n    \"consumer_created\": true,\n    \"search_count\": 0,\n    \"pending_requirements\": true\n  },\n  \"consumer_transaction\": {\n    \"id\": 98765,\n    \"status\": \"draft\",\n    \"submitted_at\": null,\n    \"consumer\": {\n      \"id\": 54321,\n      \"name\": \"John Doe\"\n    }\n  }\n}"},{"id":"3db6b169-15df-4c0c-9684-30a5fb625f86","name":"Failed","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/autopilot/enrollment/HR-2026-001299"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"transaction\": {\n    \"id\": 1299,\n    \"external_id\": \"HR-2026-001299\",\n    \"type\": \"autopilot_enroll\",\n    \"status\": \"failed\",\n    \"received_at\": \"2026-09-15T14:02:11.000000Z\",\n    \"processed_at\": \"2026-09-15T14:02:43.000000Z\",\n    \"error_message\": \"Enrollment created but transaction failed: No requirements found for this checklist\"\n  }\n}"}],"_postman_id":"663266e9-5e70-49c6-954d-1913144a1bca"}],"id":"174ec973-7b99-4c77-870f-adaebf6264c4","description":"<h1 id=\"recipe-autopilot-enrollment-with-status-webhooks\">Recipe: AutoPilot enrollment with status webhooks</h1>\n<p>Enroll a new hire into their position and keep your system updated as their background check moves from <strong>review</strong> to <strong>in progress</strong> to <strong>complete</strong>, all without polling.</p>\n<p><strong>You'll need:</strong> an API key, the checklist (position) names or ids for your client, and an HTTPS endpoint that can receive webhooks.</p>\n<h2 id=\"how-it-fits-together\">How it fits together</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Your system                          PSBI\n───────────                          ────\nPOST /autopilot/enroll ───────────▶  202 Accepted (status: received)\n                                     person is matched or created, enrolled, order created\n                                     person completes the email invitation\n            ◀─────────── webhook     review       information collected, awaiting submission\n            ◀─────────── webhook     in_progress  searches running\n            ◀─────────── webhook     complete     result: clear | needs_review\n            ◀─────────── webhook     complete     report_url: the PDF is ready\n</code></pre><h2 id=\"1-get-set-up-with-psbi\">1. Get set up with PSBI</h2>\n<p>Your implementation contact provides:</p>\n<ul>\n<li>an <strong>API key</strong> for the client account;</li>\n<li>the <strong>checklists</strong> you will enroll into, with their exact names or ids, such as <code>Caregiver</code> and <code>Driver</code>;</li>\n<li>a <strong>signing secret</strong>, once you've sent them your webhook URL.</li>\n</ul>\n<p>Decide on an <strong><code>external_id</code></strong> scheme. It should be unique per request and should lead back to your record, for example <code>&lt;your record id&gt;-&lt;attempt&gt;</code>. Every webhook carries it back to you.</p>\n<h2 id=\"2-verify-your-key\">2. Verify your key</h2>\n<p>Run <strong>Step 1: Verify your API key</strong>. A <code>404 TRANSACTION_NOT_FOUND</code> means the key works.</p>\n<h2 id=\"3-build-the-webhook-receiver-first\">3. Build the webhook receiver first</h2>\n<p>Build it before you enroll anyone, so the first events aren't missed. Your endpoint should:</p>\n<ol>\n<li><strong>Verify <code>X-P51-Signature</code>.</strong> It is an HMAC-SHA256 of the raw body with your signing secret, and <strong>Status Webhooks</strong> has code for it.</li>\n<li><strong>Return 2xx quickly</strong>, within 30 seconds. Queue the work.</li>\n<li><strong>Look the record up by <code>external_id</code>.</strong></li>\n<li><strong>Apply the update idempotently.</strong> Retries can repeat an event, and order isn't guaranteed.</li>\n</ol>\n<h2 id=\"4-enroll\">4. Enroll</h2>\n<p>Run <strong>Step 2: Enroll the new hire</strong>. The request is asynchronous and returns <code>202</code> with your <code>external_id</code>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"transaction_id\": 1234,\n  \"external_id\": \"HR-2026-001234\",\n  \"status\": \"received\",\n  \"message\": \"Enrollment request received and queued for processing\",\n  \"received_at\": \"2026-09-15T14:02:11.000000Z\"\n}\n</code></pre>\n<p>Store the mapping from <code>external_id</code> to your record. If you get <code>409 DUPLICATE_TRANSACTION</code>, that <code>external_id</code> is already in use; don't reuse ids across attempts.</p>\n<h2 id=\"5-confirm-it-processed-optional\">5. Confirm it processed (optional)</h2>\n<p>Run <strong>Step 3: Check the enrollment</strong> about a minute later.</p>\n<ul>\n<li><strong><code>transaction.status: \"processed\"</code> with a <code>consumer_transaction</code>.</strong> An order exists and webhooks will follow.</li>\n<li><strong><code>transaction.status: \"failed\"</code>.</strong> <code>error_message</code> says why. Fix the problem and enroll again with a <strong>new</strong> <code>external_id</code>.</li>\n</ul>\n<h2 id=\"6-handle-the-status-webhooks\">6. Handle the status webhooks</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>status</code></th>\n<th><code>result</code></th>\n<th>Suggested state in your system</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>review</code></td>\n<td></td>\n<td>Awaiting submission</td>\n</tr>\n<tr>\n<td><code>in_progress</code></td>\n<td></td>\n<td>Screening in progress</td>\n</tr>\n<tr>\n<td><code>complete</code></td>\n<td><code>clear</code></td>\n<td>Screening complete: clear</td>\n</tr>\n<tr>\n<td><code>complete</code></td>\n<td><code>needs_review</code></td>\n<td>Screening complete: client review needed</td>\n</tr>\n</tbody>\n</table>\n</div><p>On <code>consumer.transaction.report_generated</code>, download <code>report_url</code> and attach the PDF to the person's record.</p>\n<p>Two things to know:</p>\n<ul>\n<li><strong><code>review</code> happens before searches run.</strong> It means the order is ready to submit. The outcome of the searches only arrives on <code>complete</code>.</li>\n<li><strong><code>needs_review</code> is not a decision.</strong> It means a person at the client needs to look at a result in PSBI. Any adverse action runs through PSBI's FCRA workflow, not through the API.</li>\n</ul>\n<h2 id=\"7-test-it-end-to-end\">7. Test it end to end</h2>\n<ol>\n<li>Point the webhook URL at a request inspector, such as webhook.site, or your staging receiver.</li>\n<li>Enroll a test person with <strong>your own email address</strong> on the <code>email_onboarding</code> path.</li>\n<li>Complete the invitation email. You should receive <strong>review</strong>, then <strong>in progress</strong>.</li>\n<li>Your implementation contact can take a test order through to <strong>complete</strong> and <strong>report ready</strong>.</li>\n<li>Check signature verification against the real deliveries, not just the examples here.</li>\n</ol>\n<h2 id=\"going-live-checklist\">Going live checklist</h2>\n<ul>\n<li> Production API key stored server-side.</li>\n<li> Webhook URL registered, and signing secret stored.</li>\n<li> Signature verified on every request, and mismatches rejected.</li>\n<li> Receiver acknowledges within 30 seconds and tolerates duplicates.</li>\n<li> <code>external_id</code> is unique per request.</li>\n<li> Reports downloaded from <code>report_url</code> and stored securely.</li>\n<li> Failed enrollments surfaced to a person (step 5).</li>\n</ul>\n","_postman_id":"174ec973-7b99-4c77-870f-adaebf6264c4"},{"name":"AutoPilot API","item":[{"name":"Enrollment","item":[{"name":"Enroll Consumer (Minimal)","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Enrollment accepted\", function () {","    pm.expect([200, 202]).to.include(pm.response.code);","    pm.expect(pm.response.json().success).to.be.true;","});","","var json = pm.response.json();","if (json.external_id) { pm.collectionVariables.set('last_autopilot_external_id', json.external_id); }","if (json.consumer && json.consumer.id) { pm.collectionVariables.set('last_consumer_id', json.consumer.id); }"]}}],"id":"f653a39e-69e7-4bd2-9537-f88aa1013061","request":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"HR-1796253606\",\n  \"consumer\": {\n    \"first_name\": \"Domingo\",\n    \"last_name\": \"Bode\",\n    \"email\": \"Bill_Wehner83@hotmail.com\"\n  },\n  \"checklist_code\": \"Caregiver\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/enroll","description":"<p>Enroll a person into a position with only the required fields.</p>\n<p>Defaults that apply here:</p>\n<ul>\n<li><strong>Path:</strong> the account default, normally <code>email_onboarding</code>, so the person receives an email invitation.</li>\n<li><strong>Processing:</strong> asynchronous. You get <code>202 Accepted</code> straight away.</li>\n<li><strong>Order:</strong> created, then submitted once the person completes their invitation.</li>\n</ul>\n<p>Save the <code>external_id</code>. It is how you look the request up and how status webhooks refer to it.</p>\n<h3 id=\"request-fields\">Request fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>external_id</code></td>\n<td>string (max 255)</td>\n<td>Recommended</td>\n<td>Your reference for this request. Unique per connection.</td>\n</tr>\n<tr>\n<td><code>consumer.first_name</code></td>\n<td>string</td>\n<td><strong>Yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td><code>consumer.last_name</code></td>\n<td>string</td>\n<td><strong>Yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td><code>consumer.email</code></td>\n<td>string</td>\n<td><strong>Yes</strong></td>\n<td>Where the person's invitation goes on email paths.</td>\n</tr>\n<tr>\n<td><code>consumer.phone</code></td>\n<td>string</td>\n<td>No</td>\n<td></td>\n</tr>\n<tr>\n<td><code>consumer.ssn</code></td>\n<td>string</td>\n<td>No</td>\n<td>9 digits. Used to match an existing person.</td>\n</tr>\n<tr>\n<td><code>consumer.date_of_birth</code></td>\n<td>date</td>\n<td>No</td>\n<td><code>YYYY-MM-DD</code></td>\n</tr>\n<tr>\n<td><code>consumer.address</code>, <code>consumer.city</code>, <code>consumer.state</code>, <code>consumer.zip</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>state</code> is the two-letter code.</td>\n</tr>\n<tr>\n<td><code>checklist_id</code></td>\n<td>integer</td>\n<td><strong>One of</strong></td>\n<td>The position to enroll into.</td>\n</tr>\n<tr>\n<td><code>checklist_code</code></td>\n<td>string</td>\n<td><strong>One of</strong></td>\n<td>The position's exact name, as an alternative to <code>checklist_id</code>.</td>\n</tr>\n<tr>\n<td><code>tag_ids</code> / <code>tag_codes</code></td>\n<td>array</td>\n<td>No</td>\n<td>Additional requirement tags, by id or exact name. Unknown tags are ignored.</td>\n</tr>\n<tr>\n<td><code>enrollment_path</code></td>\n<td>string</td>\n<td>No</td>\n<td>How the person is onboarded. See the table below.</td>\n</tr>\n<tr>\n<td><code>create_initial_transaction</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>Overrides whether an order is created. By default one is created on every path except <code>enroll_only</code>.</td>\n</tr>\n<tr>\n<td><code>sync</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>Process before responding. Default <code>false</code>.</td>\n</tr>\n<tr>\n<td><code>user_email</code></td>\n<td>string</td>\n<td>No</td>\n<td>On synchronous requests, the email of the client user to attribute the order to.</td>\n</tr>\n<tr>\n<td><code>metadata</code></td>\n<td>object</td>\n<td>No</td>\n<td>Your own key/value data, stored on the order.</td>\n</tr>\n<tr>\n<td><code>notes</code></td>\n<td>string (max 2000)</td>\n<td>No</td>\n<td>Stored with the request.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"enrollment-paths\">Enrollment paths</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>enrollment_path</code></th>\n<th>What happens</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email_onboarding</code></td>\n<td>The person gets an email invitation to fill in their details and give consent. The order is submitted once they finish.</td>\n</tr>\n<tr>\n<td><code>email_consent</code></td>\n<td>Same invitation flow as <code>email_onboarding</code>.</td>\n</tr>\n<tr>\n<td><code>instant</code> / <code>manual_entry</code></td>\n<td>No email to the person. A task is created for the client's team to complete the person's details in PSBI.</td>\n</tr>\n<tr>\n<td><code>enroll_only</code></td>\n<td>Enrolls the person in the position without ordering anything. No email, no order, no status webhooks.</td>\n</tr>\n</tbody>\n</table>\n</div><p>If you leave <code>enrollment_path</code> out, the account's default is used, which is <code>email_onboarding</code> unless PSBI has configured another.</p>\n<h3 id=\"matching-an-existing-person\">Matching an existing person</h3>\n<p>PSBI looks for the person in your account before creating a new record:</p>\n<ol>\n<li><strong>SSN.</strong> An exact match, when <code>consumer.ssn</code> is sent, among people with the same last name or date of birth.</li>\n<li><strong>Email plus last name.</strong></li>\n<li>Otherwise a new person is created.</li>\n</ol>\n<p>On a synchronous response, <code>consumer.created</code> tells you which happened.</p>\n","urlObject":{"path":["api","v1","partners","autopilot","enroll"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"3189f4d3-d9db-4797-8fa1-99d978d7d8cb","name":"Accepted (async)","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"HR-2026-001234\",\n  \"consumer\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"email\": \"john.doe@example.com\"\n  },\n  \"checklist_code\": \"Caregiver\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/enroll"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"transaction_id\": 1234,\n  \"external_id\": \"HR-2026-001234\",\n  \"status\": \"received\",\n  \"message\": \"Enrollment request received and queued for processing\",\n  \"received_at\": \"2026-09-15T14:02:11.000000Z\"\n}"}],"_postman_id":"f653a39e-69e7-4bd2-9537-f88aa1013061"},{"name":"Enroll Consumer (Full, Sync)","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Enrollment accepted\", function () {","    pm.expect([200, 202]).to.include(pm.response.code);","    pm.expect(pm.response.json().success).to.be.true;","});","","var json = pm.response.json();","if (json.external_id) { pm.collectionVariables.set('last_autopilot_external_id', json.external_id); }","if (json.consumer && json.consumer.id) { pm.collectionVariables.set('last_consumer_id', json.consumer.id); }"]}}],"id":"c07302b9-52a6-4635-b0ca-be2e1d053263","request":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"HR-1796253606\",\n  \"consumer\": {\n    \"first_name\": \"Wendy\",\n    \"last_name\": \"Langworth\",\n    \"email\": \"Burley.Donnelly@hotmail.com\",\n    \"phone\": \"555-123-4567\",\n    \"ssn\": \"123456789\",\n    \"date_of_birth\": \"1990-05-15\",\n    \"address\": \"123 Main Street\",\n    \"city\": \"Austin\",\n    \"state\": \"TX\",\n    \"zip\": \"78701\"\n  },\n  \"checklist_id\": 4,\n  \"tag_codes\": [\n    \"DOT\"\n  ],\n  \"enrollment_path\": \"email_onboarding\",\n  \"user_email\": \"hiring.manager@example.com\",\n  \"sync\": true,\n  \"profile\": {\n    \"employment\": {\n      \"entries\": [\n        {\n          \"employer_name\": \"Company A\",\n          \"position\": \"Driver\",\n          \"start_date\": \"2021-03-01\",\n          \"end_date\": \"2024-06-30\",\n          \"current_employer\": false\n        },\n        {\n          \"employer_name\": \"Company B\",\n          \"position\": \"Dispatcher\",\n          \"start_date\": \"2024-07-15\",\n          \"current_employer\": true\n        }\n      ]\n    },\n    \"education\": {\n      \"institution_name\": \"State University\",\n      \"institution_type\": \"University\",\n      \"education_level\": \"Bachelor's Degree\",\n      \"degree\": \"BS\",\n      \"start_date\": \"2014-09-01\"\n    }\n  },\n  \"metadata\": {\n    \"department\": \"Nursing\",\n    \"hire_date\": \"2026-10-01\"\n  },\n  \"notes\": \"New hire for ICU\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/enroll","description":"<p>Enroll with every option set, processed synchronously so the response carries the result.</p>\n<h3 id=\"response-fields-sync\">Response fields (sync)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>transaction_id</code></td>\n<td>PSBI's id for this API request.</td>\n</tr>\n<tr>\n<td><code>enrollment</code></td>\n<td>The position enrollment: <code>id</code>, <code>checklist_name</code>, <code>status</code>, <code>enrolled_at</code>.</td>\n</tr>\n<tr>\n<td><code>consumer</code></td>\n<td>The person: <code>id</code>, <code>name</code>, <code>email</code>, and <code>created</code> (<code>true</code> if PSBI created a new record, <code>false</code> if it matched an existing one).</td>\n</tr>\n<tr>\n<td><code>transaction</code></td>\n<td>The background check order: <code>id</code> (the <code>consumer_transaction_id</code> on webhooks), <code>status</code>, <code>search_count</code>. Absent when no order was created.</td>\n</tr>\n<tr>\n<td><code>task</code></td>\n<td>The onboarding task created, if any: <code>id</code>, <code>type</code>.</td>\n</tr>\n<tr>\n<td><code>pending_requirements</code></td>\n<td>Present and <code>true</code> when the position still has requirements that aren't satisfied yet.</td>\n</tr>\n</tbody>\n</table>\n</div><p>On email paths the order starts in <code>draft</code> with <code>search_count</code> 0. Searches are added when the person completes their invitation.</p>\n<h3 id=\"synchronous-failures\">Synchronous failures</h3>\n<p>A valid request that cannot be processed returns <code>422</code>. <code>error.code</code> names the reason, for example <code>already_enrolled</code> when the person is already active in this position. The <code>external_id</code> is spent either way, so resend with a new one.</p>\n<h3 id=\"request-fields\">Request fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>external_id</code></td>\n<td>string (max 255)</td>\n<td>Recommended</td>\n<td>Your reference for this request. Unique per connection.</td>\n</tr>\n<tr>\n<td><code>consumer.first_name</code></td>\n<td>string</td>\n<td><strong>Yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td><code>consumer.last_name</code></td>\n<td>string</td>\n<td><strong>Yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td><code>consumer.email</code></td>\n<td>string</td>\n<td><strong>Yes</strong></td>\n<td>Where the person's invitation goes on email paths.</td>\n</tr>\n<tr>\n<td><code>consumer.phone</code></td>\n<td>string</td>\n<td>No</td>\n<td></td>\n</tr>\n<tr>\n<td><code>consumer.ssn</code></td>\n<td>string</td>\n<td>No</td>\n<td>9 digits. Used to match an existing person.</td>\n</tr>\n<tr>\n<td><code>consumer.date_of_birth</code></td>\n<td>date</td>\n<td>No</td>\n<td><code>YYYY-MM-DD</code></td>\n</tr>\n<tr>\n<td><code>consumer.address</code>, <code>consumer.city</code>, <code>consumer.state</code>, <code>consumer.zip</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>state</code> is the two-letter code.</td>\n</tr>\n<tr>\n<td><code>checklist_id</code></td>\n<td>integer</td>\n<td><strong>One of</strong></td>\n<td>The position to enroll into.</td>\n</tr>\n<tr>\n<td><code>checklist_code</code></td>\n<td>string</td>\n<td><strong>One of</strong></td>\n<td>The position's exact name, as an alternative to <code>checklist_id</code>.</td>\n</tr>\n<tr>\n<td><code>tag_ids</code> / <code>tag_codes</code></td>\n<td>array</td>\n<td>No</td>\n<td>Additional requirement tags, by id or exact name. Unknown tags are ignored.</td>\n</tr>\n<tr>\n<td><code>enrollment_path</code></td>\n<td>string</td>\n<td>No</td>\n<td>How the person is onboarded. See the table below.</td>\n</tr>\n<tr>\n<td><code>create_initial_transaction</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>Overrides whether an order is created. By default one is created on every path except <code>enroll_only</code>.</td>\n</tr>\n<tr>\n<td><code>consents_collected</code></td>\n<td>boolean</td>\n<td>No</td>\n<td><code>true</code> when you collected the person's disclosures and authorization yourself. See below.</td>\n</tr>\n<tr>\n<td><code>sync</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>Process before responding. Default <code>false</code>.</td>\n</tr>\n<tr>\n<td><code>user_email</code></td>\n<td>string</td>\n<td>No</td>\n<td>On synchronous requests, the email of the client user to attribute the order to.</td>\n</tr>\n<tr>\n<td><code>profile</code></td>\n<td>object</td>\n<td>No</td>\n<td>Work and education history you already hold. See below.</td>\n</tr>\n<tr>\n<td><code>metadata</code></td>\n<td>object</td>\n<td>No</td>\n<td>Your own key/value data, stored on the order.</td>\n</tr>\n<tr>\n<td><code>notes</code></td>\n<td>string (max 2000)</td>\n<td>No</td>\n<td>Stored with the request.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"work-and-education-history-profile\">Work and education history (<code>profile</code>)</h3>\n<p>Send history you already hold so the person isn't asked for it again. <code>profile</code> is keyed by profile type code; field names are that type's fields.</p>\n<ul>\n<li><strong><code>employment</code></strong> and <strong><code>dot_employment</code></strong> hold several entries: send <code>{\"entries\": [ {...}, {...} ]}</code>. Your entries <strong>replace</strong> any the person already has for that type. Each entry becomes its own verification.</li>\n<li><strong><code>education</code></strong> holds one entry: send its fields directly, <code>{\"institution_name\": \"...\", ...}</code>.</li>\n<li>An entry counts as complete when every required field is present. If every entry is complete, the person skips that part of their invitation. If any entry is short, they see your entries pre-filled and are asked for what's missing.</li>\n<li>A malformed <code>profile</code> (unknown type code, <code>entries</code> on <code>education</code>, a flat object on <code>employment</code>) returns <code>422 VALIDATION_FAILED</code>, and the <code>external_id</code> is not spent.</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Required fields</th>\n<th>Other fields</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>employment</code></td>\n<td><code>employer_name</code>, <code>position</code>, <code>start_date</code>, <code>current_employer</code> (boolean)</td>\n<td><code>end_date</code>, <code>department</code>, <code>employer_phone</code>, <code>employer_city</code>, <code>employer_state</code>, <code>employer_country</code>, <code>do_not_contact</code></td>\n</tr>\n<tr>\n<td><code>education</code></td>\n<td><code>institution_name</code>, <code>institution_type</code>, <code>start_date</code></td>\n<td><code>end_date</code>, <code>degree</code>, <code>field_of_study</code>, <code>minor</code>, <code>education_level</code>, <code>graduated</code>, <code>graduation_date</code>, <code>currently_attending</code>, <code>institution_city</code>, <code>institution_state</code>, <code>institution_country</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>Dates are <code>YYYY-MM-DD</code>. Your PSBI implementation contact can confirm the fields for any other type.</p>\n<p><code>education.institution_type</code> is one of: <code>High School</code>, <code>College</code>, <code>University</code>, <code>Trade School</code>, <code>Technical Institute</code>, <code>Graduate School</code>, <code>Professional School</code>, <code>Online School</code>, <code>Other</code>. <code>education.education_level</code> is one of: <code>High School Diploma</code>, <code>Associate's Degree</code>, <code>Bachelor's Degree</code>, <code>Master's Degree</code>, <code>Doctoral Degree</code>, <code>Professional Certification</code>, <code>Some College</code>, <code>Other</code>. Send them exactly as written; other values aren't recognised.</p>\n<h3 id=\"enrollment-paths\">Enrollment paths</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>enrollment_path</code></th>\n<th>What happens</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email_onboarding</code></td>\n<td>The person gets an email invitation to fill in their details and give consent. The order is submitted once they finish.</td>\n</tr>\n<tr>\n<td><code>email_consent</code></td>\n<td>Same invitation flow as <code>email_onboarding</code>.</td>\n</tr>\n<tr>\n<td><code>instant</code> / <code>manual_entry</code></td>\n<td>No email to the person. A task is created for the client's team to complete the person's details in PSBI.</td>\n</tr>\n<tr>\n<td><code>enroll_only</code></td>\n<td>Enrolls the person in the position without ordering anything. No email, no order, no status webhooks.</td>\n</tr>\n</tbody>\n</table>\n</div><p>If you leave <code>enrollment_path</code> out, the account's default is used, which is <code>email_onboarding</code> unless PSBI has configured another.</p>\n<h3 id=\"consent-you-collected-yourself-consents_collected\">Consent you collected yourself (<code>consents_collected</code>)</h3>\n<p>Send <code>\"consents_collected\": true</code> when your own sign-up flow already presented PSBI's required disclosures and collected the person's authorization. PSBI then records a certification for each consent the order needs, attributed to your account, and never asks the person for it. Only send it when you hold a signed authorization for this person and can produce it on request.</p>\n<p>Consent is the only step it skips. Any personal data the products need and you did not send is still collected.</p>\n<p>Pair it with <code>\"enrollment_path\": \"instant\"</code> for a fully touchless order: when everything the position needs is present, the order is submitted at once. If something is missing, a task goes to your account's team rather than an email to the person.</p>\n<h3 id=\"matching-an-existing-person\">Matching an existing person</h3>\n<p>PSBI looks for the person in your account before creating a new record:</p>\n<ol>\n<li><strong>SSN.</strong> An exact match, when <code>consumer.ssn</code> is sent, among people with the same last name or date of birth.</li>\n<li><strong>Email plus last name.</strong></li>\n<li>Otherwise a new person is created.</li>\n</ol>\n<p>On a synchronous response, <code>consumer.created</code> tells you which happened.</p>\n","urlObject":{"path":["api","v1","partners","autopilot","enroll"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"0b38d06d-6779-467f-a0ad-197c0f529634","name":"Processed (sync)","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"HR-2026-001234\",\n  \"consumer\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"email\": \"john.doe@example.com\",\n    \"phone\": \"555-123-4567\",\n    \"ssn\": \"123456789\",\n    \"date_of_birth\": \"1990-05-15\",\n    \"address\": \"123 Main Street\",\n    \"city\": \"Austin\",\n    \"state\": \"TX\",\n    \"zip\": \"78701\"\n  },\n  \"checklist_code\": \"Caregiver\",\n  \"sync\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/enroll"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"transaction_id\": 1234,\n  \"external_id\": \"HR-2026-001234\",\n  \"status\": \"processed\",\n  \"message\": \"Consumer onboarding task created. Transaction will be created after task completion.\",\n  \"enrollment\": {\n    \"id\": 108,\n    \"checklist_name\": \"Caregiver\",\n    \"status\": \"active\",\n    \"enrolled_at\": \"2026-09-15T14:02:11.000000Z\"\n  },\n  \"consumer\": {\n    \"id\": 54321,\n    \"name\": \"John Doe\",\n    \"email\": \"john.doe@example.com\",\n    \"created\": true\n  },\n  \"transaction\": {\n    \"id\": 98765,\n    \"status\": \"draft\",\n    \"search_count\": 0\n  },\n  \"task\": {\n    \"id\": 9012,\n    \"type\": \"Consumer Onboarding\"\n  },\n  \"pending_requirements\": true\n}"},{"id":"fcc6124c-aa0a-4f19-a00a-83fe86aaa2ea","name":"Validation error","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"consumer\": {\n    \"first_name\": \"John\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/enroll"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"VALIDATION_FAILED\",\n    \"message\": \"The provided data is invalid\",\n    \"details\": {\n      \"consumer.last_name\": [\n        \"Consumer last name is required\"\n      ],\n      \"consumer.email\": [\n        \"Consumer email is required\"\n      ],\n      \"checklist_id\": [\n        \"Either checklist_id or checklist_code is required\"\n      ],\n      \"checklist_code\": [\n        \"Either checklist_id or checklist_code is required\"\n      ]\n    }\n  }\n}"},{"id":"f3613a61-0d2c-4240-a240-1323871682b4","name":"Checklist not found","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"consumer\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"email\": \"john.doe@example.com\"\n  },\n  \"checklist_code\": \"Invalid Position\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/enroll"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"CHECKLIST_NOT_FOUND\",\n    \"message\": \"Checklist not found or not available\",\n    \"details\": {\n      \"identifier\": \"Invalid Position\"\n    }\n  }\n}"},{"id":"f0022c12-6694-41ce-9d33-ff597555c34c","name":"Duplicate external_id","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"HR-2026-001234\",\n  \"consumer\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"email\": \"john.doe@example.com\"\n  },\n  \"checklist_code\": \"Caregiver\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/enroll"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"DUPLICATE_TRANSACTION\",\n    \"message\": \"Transaction with this external ID already exists\",\n    \"details\": {\n      \"external_id\": \"HR-2026-001234\",\n      \"existing_transaction_id\": 1234\n    }\n  }\n}"},{"id":"1fe08d66-8d90-4d72-8e59-432a6738084d","name":"Already enrolled (sync)","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"HR-2026-001235\",\n  \"consumer\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"email\": \"john.doe@example.com\"\n  },\n  \"checklist_code\": \"Caregiver\",\n  \"sync\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/enroll"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"transaction_id\": 1235,\n  \"external_id\": \"HR-2026-001235\",\n  \"error\": {\n    \"code\": \"already_enrolled\",\n    \"message\": \"Consumer is already enrolled in Caregiver\"\n  }\n}"}],"_postman_id":"c07302b9-52a6-4635-b0ca-be2e1d053263"},{"name":"Enroll Consumer (Enroll Only)","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Enrollment accepted\", function () {","    pm.expect([200, 202]).to.include(pm.response.code);","    pm.expect(pm.response.json().success).to.be.true;","});","","var json = pm.response.json();","if (json.external_id) { pm.collectionVariables.set('last_autopilot_external_id', json.external_id); }","if (json.consumer && json.consumer.id) { pm.collectionVariables.set('last_consumer_id', json.consumer.id); }"]}}],"id":"c3002b0a-7334-4383-a6d5-ffaa8e12fecd","request":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"ENROLL-ONLY-1796253606\",\n  \"consumer\": {\n    \"first_name\": \"Kris\",\n    \"last_name\": \"Monahan\",\n    \"email\": \"Estel.Kiehn@hotmail.com\"\n  },\n  \"checklist_code\": \"Caregiver\",\n  \"enrollment_path\": \"enroll_only\",\n  \"sync\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/enroll","description":"<p>Put a person in a position without ordering anything.</p>\n<p>Use this to load existing employees whose screening is already on file, or to start tracking a position before a background check is due.</p>\n<ul>\n<li>An enrollment is created, and the position's requirements show as outstanding (<code>pending_requirements: true</code>).</li>\n<li>No order is created and no email is sent, so <strong>no status webhooks follow</strong>.</li>\n<li>The response has no <code>transaction</code> or <code>task</code>.</li>\n</ul>\n","urlObject":{"path":["api","v1","partners","autopilot","enroll"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"e3801b86-4aab-4f8c-ae6f-29c3c8b7eec0","name":"Enrolled without an order","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"ENROLL-ONLY-12345\",\n  \"consumer\": {\n    \"first_name\": \"Jane\",\n    \"last_name\": \"Smith\",\n    \"email\": \"jane.smith@example.com\"\n  },\n  \"checklist_code\": \"Caregiver\",\n  \"enrollment_path\": \"enroll_only\",\n  \"sync\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/enroll"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"transaction_id\": 1236,\n  \"external_id\": \"ENROLL-ONLY-12345\",\n  \"status\": \"processed\",\n  \"message\": \"Successfully enrolled Jane Smith in Caregiver (no initial transaction)\",\n  \"enrollment\": {\n    \"id\": 109,\n    \"checklist_name\": \"Caregiver\",\n    \"status\": \"active\",\n    \"enrolled_at\": \"2026-09-15T14:02:11.000000Z\"\n  },\n  \"consumer\": {\n    \"id\": 54322,\n    \"name\": \"Jane Smith\",\n    \"email\": \"jane.smith@example.com\",\n    \"created\": true\n  },\n  \"pending_requirements\": true\n}"}],"_postman_id":"c3002b0a-7334-4383-a6d5-ffaa8e12fecd"}],"id":"b40ccb2a-d378-4037-b9c7-f4f407b9a1e0","description":"<p>Put people into positions.</p>\n","_postman_id":"b40ccb2a-d378-4037-b9c7-f4f407b9a1e0"},{"name":"Transition","item":[{"name":"Transition by Consumer ID","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Transition handled\", function () {","    pm.expect([200, 202, 404]).to.include(pm.response.code);","});","if (pm.response.json().external_id) { pm.collectionVariables.set('last_transition_id', pm.response.json().external_id); }"]}}],"id":"e804cf55-107d-492c-8a84-172c36f2d580","request":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"consumer_id\": ,\n  \"new_checklist_code\": \"Mobile Caregiver\",\n  \"external_id\": \"TRANSITION-1796253606\",\n  \"sync\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/transition","description":"<p>Move a person to a new position, identified by PSBI's <code>consumer_id</code>.</p>\n<h3 id=\"what-a-transition-does\">What a transition does</h3>\n<ol>\n<li>Finds the person's active position enrollment.</li>\n<li>Compares the new position's requirements with what the person already has.</li>\n<li>Carries over compliance that is still valid (<code>reused_count</code>).</li>\n<li>Orders only what is new (<code>net_new_count</code>). If nothing is new, no order is created and no status webhooks follow.</li>\n<li>Replaces the old enrollment with the new one.</li>\n</ol>\n<h3 id=\"request-fields\">Request fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>consumer_id</code></td>\n<td>integer</td>\n<td><strong>One of</strong></td>\n<td>PSBI's id for the person.</td>\n</tr>\n<tr>\n<td><code>consumer</code></td>\n<td>object</td>\n<td><strong>One of</strong></td>\n<td>Matching data: <code>ssn</code>, or <code>email</code> <strong>and</strong> <code>last_name</code>.</td>\n</tr>\n<tr>\n<td><code>new_checklist_id</code> / <code>new_checklist_code</code></td>\n<td>integer / string</td>\n<td><strong>One of</strong></td>\n<td>The new position.</td>\n</tr>\n<tr>\n<td><code>external_id</code></td>\n<td>string</td>\n<td>Recommended</td>\n<td>Your reference for this request. Unique per connection.</td>\n</tr>\n<tr>\n<td><code>sync</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>Process before responding.</td>\n</tr>\n<tr>\n<td><code>metadata</code></td>\n<td>object</td>\n<td>No</td>\n<td>Your own key/value data.</td>\n</tr>\n<tr>\n<td><code>notes</code></td>\n<td>string</td>\n<td>No</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p>Tags are not accepted on transitions.</p>\n<p>Whether or not you send <code>sync</code>, an unknown person (<code>CONSUMER_NOT_FOUND</code>) or position (<code>CHECKLIST_NOT_FOUND</code>) is rejected immediately.</p>\n","urlObject":{"path":["api","v1","partners","autopilot","transition"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"67ab2e00-9e5b-4ee6-8d80-85b59dffa7ab","name":"Transitioned (sync)","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"consumer_id\": 54321,\n  \"new_checklist_code\": \"Mobile Caregiver\",\n  \"external_id\": \"TRANSITION-001234\",\n  \"sync\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/transition"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"transaction_id\": 1237,\n  \"external_id\": \"TRANSITION-001234\",\n  \"status\": \"processed\",\n  \"message\": \"Position transition created with 2 new requirements (3 reused)\",\n  \"enrollment\": {\n    \"id\": 110,\n    \"checklist_name\": \"Mobile Caregiver\",\n    \"status\": \"active\"\n  },\n  \"consumer\": {\n    \"id\": 54321,\n    \"name\": \"John Doe\"\n  },\n  \"analysis\": {\n    \"reused_count\": 3,\n    \"net_new_count\": 2\n  },\n  \"transaction\": {\n    \"id\": 98770,\n    \"status\": \"draft\",\n    \"search_count\": 0\n  }\n}"},{"id":"a98fb101-a679-4625-af63-7f88b43c8a14","name":"No active enrollment","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"consumer_id\": 54321,\n  \"new_checklist_code\": \"Mobile Caregiver\",\n  \"sync\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/transition"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"NO_ACTIVE_ENROLLMENT\",\n    \"message\": \"Consumer has no active AutoPilot enrollment\",\n    \"details\": {\n      \"consumer_id\": 54321\n    }\n  }\n}"}],"_postman_id":"e804cf55-107d-492c-8a84-172c36f2d580"},{"name":"Transition by Consumer Matching","id":"2b643e31-f25c-4afc-b096-1f4923265382","request":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"consumer\": {\n    \"ssn\": \"123456789\"\n  },\n  \"new_checklist_id\": 11,\n  \"external_id\": \"TRANSITION-SSN-1796253606\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/transition","description":"<p>Move a person to a new position when you don't have PSBI's <code>consumer_id</code>.</p>\n<p>Match on SSN (preferred):</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ \"consumer\": { \"ssn\": \"123456789\" }, \"new_checklist_code\": \"Mobile Caregiver\" }\n</code></pre>\n<p>Or on email and last name together (email alone never matches):</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{ \"consumer\": { \"email\": \"john.doe@example.com\", \"last_name\": \"Doe\" }, \"new_checklist_code\": \"Mobile Caregiver\" }\n</code></pre>\n<h3 id=\"what-a-transition-does\">What a transition does</h3>\n<ol>\n<li>Finds the person's active position enrollment.</li>\n<li>Compares the new position's requirements with what the person already has.</li>\n<li>Carries over compliance that is still valid (<code>reused_count</code>).</li>\n<li>Orders only what is new (<code>net_new_count</code>). If nothing is new, no order is created and no status webhooks follow.</li>\n<li>Replaces the old enrollment with the new one.</li>\n</ol>\n<h3 id=\"request-fields\">Request fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>consumer_id</code></td>\n<td>integer</td>\n<td><strong>One of</strong></td>\n<td>PSBI's id for the person.</td>\n</tr>\n<tr>\n<td><code>consumer</code></td>\n<td>object</td>\n<td><strong>One of</strong></td>\n<td>Matching data: <code>ssn</code>, or <code>email</code> <strong>and</strong> <code>last_name</code>.</td>\n</tr>\n<tr>\n<td><code>new_checklist_id</code> / <code>new_checklist_code</code></td>\n<td>integer / string</td>\n<td><strong>One of</strong></td>\n<td>The new position.</td>\n</tr>\n<tr>\n<td><code>external_id</code></td>\n<td>string</td>\n<td>Recommended</td>\n<td>Your reference for this request. Unique per connection.</td>\n</tr>\n<tr>\n<td><code>sync</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>Process before responding.</td>\n</tr>\n<tr>\n<td><code>metadata</code></td>\n<td>object</td>\n<td>No</td>\n<td>Your own key/value data.</td>\n</tr>\n<tr>\n<td><code>notes</code></td>\n<td>string</td>\n<td>No</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p>Tags are not accepted on transitions.</p>\n<p>Whether or not you send <code>sync</code>, an unknown person (<code>CONSUMER_NOT_FOUND</code>) or position (<code>CHECKLIST_NOT_FOUND</code>) is rejected immediately.</p>\n","urlObject":{"path":["api","v1","partners","autopilot","transition"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"1922a2d8-927b-4356-9a26-d64edd8ef7c6","name":"Accepted (async)","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"consumer\": {\n    \"ssn\": \"123456789\"\n  },\n  \"new_checklist_id\": 11,\n  \"external_id\": \"TRANSITION-SSN-001234\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/transition"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"transaction_id\": 1238,\n  \"external_id\": \"TRANSITION-SSN-001234\",\n  \"status\": \"received\",\n  \"message\": \"Transition request received and queued for processing\",\n  \"received_at\": \"2026-09-15T14:02:11.000000Z\"\n}"},{"id":"8849ab97-78aa-4093-a24a-c0ffd1c8eee2","name":"Consumer not found","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"consumer\": {\n    \"email\": \"unknown@example.com\",\n    \"last_name\": \"Unknown\"\n  },\n  \"new_checklist_code\": \"Mobile Caregiver\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/transition"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"CONSUMER_NOT_FOUND\",\n    \"message\": \"Consumer not found\",\n    \"details\": {\n      \"identifiers\": [\n        \"email\",\n        \"last_name\"\n      ]\n    }\n  }\n}"}],"_postman_id":"2b643e31-f25c-4afc-b096-1f4923265382"}],"id":"5225a443-b487-45d7-9704-5ff30ea81c0b","description":"<p>Move people between positions.</p>\n","_postman_id":"5225a443-b487-45d7-9704-5ff30ea81c0b"},{"name":"Unenroll","item":[{"name":"Unenroll (Person Left)","id":"8d9988a3-47cc-4776-a52e-dc66c0566703","request":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"consumer\": {\n    \"ssn\": \"123-45-6789\",\n    \"last_name\": \"Doe\"\n  },\n  \"mode\": \"deactivate\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/unenroll","description":"<p>End a person's position enrollment when they leave your program, so PSBI stops renewing their checks and ends any ongoing monitoring.</p>\n<h3 id=\"modes\">Modes</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>mode</code></th>\n<th>What happens</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>deactivate</code> (default)</td>\n<td>The enrollment is marked inactive. Its history stays in PSBI, renewals stop and monitoring ends.</td>\n</tr>\n<tr>\n<td><code>remove</code></td>\n<td>The enrollment is deleted, so the person can later be enrolled again from scratch. Their completed screening history is kept.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Orders already in progress are not cancelled by either mode.</p>\n<h3 id=\"request-fields\">Request fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>consumer_id</code></td>\n<td>integer</td>\n<td><strong>One of</strong></td>\n<td>PSBI's id for the person.</td>\n</tr>\n<tr>\n<td><code>consumer</code></td>\n<td>object</td>\n<td><strong>One of</strong></td>\n<td>Matching data: <code>ssn</code> (with <code>last_name</code> or <code>date_of_birth</code>), or <code>email</code> <strong>and</strong> <code>last_name</code>.</td>\n</tr>\n<tr>\n<td><code>checklist_id</code> / <code>checklist_code</code></td>\n<td>integer / string</td>\n<td>No</td>\n<td>Limit to one position. Without it, every live enrollment the person has is ended.</td>\n</tr>\n<tr>\n<td><code>mode</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>deactivate</code> (default) or <code>remove</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Processed immediately. A repeat request finds nothing live and returns <code>404 NO_ACTIVE_ENROLLMENT</code>, so retrying is safe.</p>\n","urlObject":{"path":["api","v1","partners","autopilot","unenroll"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"8da2946d-3027-4ca2-8e3b-85b34a002e9e","name":"Deactivated","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"consumer\": {\n    \"ssn\": \"123-45-6789\",\n    \"last_name\": \"Doe\"\n  },\n  \"mode\": \"deactivate\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/autopilot/unenroll"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"status\": \"processed\",\n  \"message\": \"Enrollment marked inactive. Renewals and monitoring have stopped.\",\n  \"mode\": \"deactivate\",\n  \"consumer\": {\n    \"id\": 54321,\n    \"name\": \"John Doe\"\n  },\n  \"enrollments\": [\n    {\n      \"enrollment_id\": 9876,\n      \"checklist_id\": 42,\n      \"status\": \"inactive\"\n    }\n  ]\n}"}],"_postman_id":"8d9988a3-47cc-4776-a52e-dc66c0566703"}],"id":"d4959cd7-31a2-47e9-aef3-f8765f13d217","description":"<p>End a person's enrollment when they leave.</p>\n","_postman_id":"d4959cd7-31a2-47e9-aef3-f8765f13d217"},{"name":"Status","item":[{"name":"Get Enrollment Status","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status retrieved\", function () {","    pm.expect([200, 404]).to.include(pm.response.code);","});"]}}],"id":"e7001021-a9c3-4145-a95f-579f309efb8b","request":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/autopilot/enrollment/","description":"<p>Look up an enroll or transition request by your <code>external_id</code>.</p>\n<h3 id=\"response\">Response</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>transaction.status</code></td>\n<td>Processing of <strong>your request</strong>: <code>received</code>, then <code>processing</code>, then <code>processed</code> or <code>failed</code>.</td>\n</tr>\n<tr>\n<td><code>transaction.error_message</code></td>\n<td>Why a request <code>failed</code>.</td>\n</tr>\n<tr>\n<td><code>transaction.type</code></td>\n<td><code>autopilot_enroll</code> or <code>autopilot_transition</code>.</td>\n</tr>\n<tr>\n<td><code>enrollment</code></td>\n<td>Present once the request is processed: <code>id</code>, <code>consumer_id</code>, <code>consumer_created</code>, <code>search_count</code>, <code>pending_requirements</code>.</td>\n</tr>\n<tr>\n<td><code>transition_analysis</code></td>\n<td>Transitions only: <code>reused_count</code>, <code>net_new_count</code>.</td>\n</tr>\n<tr>\n<td><code>consumer_transaction</code></td>\n<td>The background check order, if one was created: <code>id</code>, <code>status</code>, <code>submitted_at</code>, <code>consumer</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><p><code>consumer_transaction.status</code> is the order's own status:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Order status</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>draft</code></td>\n<td>Waiting on the person's invitation or the client's task.</td>\n</tr>\n<tr>\n<td><code>review</code></td>\n<td>Information collected, waiting for the order to be submitted.</td>\n</tr>\n<tr>\n<td><code>processing</code></td>\n<td>Submitted; searches are in progress.</td>\n</tr>\n<tr>\n<td><code>complete</code></td>\n<td>Every search is finished.</td>\n</tr>\n<tr>\n<td><code>cancelled</code></td>\n<td>Cancelled.</td>\n</tr>\n</tbody>\n</table>\n</div><p>A request that was <code>processed</code> without a <code>consumer_transaction</code> either created no order (<code>enroll_only</code>, or a transition with nothing new) or found the person already active in that position.</p>\n<p>You don't need to poll this endpoint once status webhooks are set up. It is useful for confirming a request was processed, and for reconciling after an outage.</p>\n","urlObject":{"path":["api","v1","partners","autopilot","enrollment",""],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"ffb7e886-4fec-4e35-b176-adb9b94a157f","name":"Processed","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/autopilot/enrollment/HR-2026-001234"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"transaction\": {\n    \"id\": 1234,\n    \"external_id\": \"HR-2026-001234\",\n    \"type\": \"autopilot_enroll\",\n    \"status\": \"processed\",\n    \"received_at\": \"2026-09-15T14:02:11.000000Z\",\n    \"processed_at\": \"2026-09-15T14:02:43.000000Z\",\n    \"error_message\": null\n  },\n  \"enrollment\": {\n    \"id\": 108,\n    \"consumer_id\": 54321,\n    \"consumer_created\": true,\n    \"search_count\": 0,\n    \"pending_requirements\": true\n  },\n  \"consumer_transaction\": {\n    \"id\": 98765,\n    \"status\": \"draft\",\n    \"submitted_at\": null,\n    \"consumer\": {\n      \"id\": 54321,\n      \"name\": \"John Doe\"\n    }\n  }\n}"},{"id":"e63e13f7-3eed-4087-9536-1987c4a9c1bf","name":"Failed","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/autopilot/enrollment/HR-2026-001299"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"transaction\": {\n    \"id\": 1299,\n    \"external_id\": \"HR-2026-001299\",\n    \"type\": \"autopilot_enroll\",\n    \"status\": \"failed\",\n    \"received_at\": \"2026-09-15T14:02:11.000000Z\",\n    \"processed_at\": \"2026-09-15T14:02:43.000000Z\",\n    \"error_message\": \"Enrollment created but transaction failed: No requirements found for this checklist\"\n  }\n}"},{"id":"9078a074-304f-4224-b346-51a899512c4a","name":"Not found","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/autopilot/enrollment/UNKNOWN-ID"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"TRANSACTION_NOT_FOUND\",\n    \"message\": \"Transaction not found\",\n    \"details\": {\n      \"external_id\": \"UNKNOWN-ID\"\n    }\n  }\n}"}],"_postman_id":"e7001021-a9c3-4145-a95f-579f309efb8b"}],"id":"ec36e929-ea9d-4c4f-852b-281c4db135ec","description":"<p>Check the outcome of enroll and transition requests.</p>\n","_postman_id":"ec36e929-ea9d-4c4f-852b-281c4db135ec"}],"id":"3f9526d9-a966-42b7-a62a-c3566b397fbe","description":"<h1 id=\"autopilot-api\">AutoPilot API</h1>\n<p>AutoPilot manages a person's compliance for a <strong>position</strong>. You say which position someone holds, and PSBI orders what that position requires, tracks when each requirement expires, and handles changes when the person moves to another position.</p>\n<h2 id=\"concepts\">Concepts</h2>\n<ul>\n<li><strong>Checklist (position).</strong> A named set of requirements, such as \"Caregiver\" or \"Driver\". Your PSBI implementation contact sets these up and gives you their ids or exact names.</li>\n<li><strong>Tags.</strong> Extra requirements layered onto a position, such as \"DOT\".</li>\n<li><strong>Enrollment.</strong> A person's membership in a position.</li>\n<li><strong>Order.</strong> The background check PSBI places to satisfy the requirements. This is what status webhooks report on.</li>\n</ul>\n<h2 id=\"endpoints\">Endpoints</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>Use</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>POST /api/v1/partners/autopilot/enroll</code></td>\n<td>Put a person in a position.</td>\n</tr>\n<tr>\n<td><code>POST /api/v1/partners/autopilot/transition</code></td>\n<td>Move a person to a different position.</td>\n</tr>\n<tr>\n<td><code>GET /api/v1/partners/autopilot/enrollment/{external_id}</code></td>\n<td>Check a request's outcome.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"enrolling-someone-who-is-already-enrolled\">Enrolling someone who is already enrolled</h2>\n<ul>\n<li><strong>Asynchronous requests.</strong> If the person is already active in <strong>the same</strong> position, the request is marked <code>processed</code> with no new order. If they are active in <strong>a different</strong> position, the enroll is handled as a transition to the new one.</li>\n<li><strong>Synchronous requests.</strong> The same position is rejected with <code>422 already_enrolled</code>.</li>\n</ul>\n","_postman_id":"3f9526d9-a966-42b7-a62a-c3566b397fbe"},{"name":"Partner Gateway","item":[{"name":"Create Consumer Transaction","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Transaction accepted\", function () {","    pm.expect([200, 202]).to.include(pm.response.code);","    pm.expect(pm.response.json().success).to.be.true;","});","if (pm.response.json().external_id) { pm.collectionVariables.set('last_gateway_external_id', pm.response.json().external_id); }"]}}],"id":"4b3b4c04-5c07-4f09-8afb-b16ce8b47f19","request":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"CONSUMER_1796253606\",\n  \"transaction_type\": \"consumer\",\n  \"consumer\": {\n    \"first_name\": \"Rudy\",\n    \"last_name\": \"Shanahan\",\n    \"email\": \"Amani.Flatley@yahoo.com\",\n    \"phone\": \"555-123-4567\",\n    \"date_of_birth\": \"1990-01-15\",\n    \"address\": \"456 Oak Avenue\",\n    \"city\": \"Austin\",\n    \"state\": \"TX\",\n    \"zip\": \"78701\"\n  },\n  \"products\": [\"Statewide Criminal\", \"Sex Offender Registry\"],\n  \"metadata\": {\n    \"employee_id\": \"E-10442\",\n    \"notes\": \"Pre-hire screening\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/transactions","description":"<p>Order background check products for a person, who receives an email invitation to complete their details and give consent.</p>\n<p><code>transaction_type: \"consumer\"</code> is the default. Processing is asynchronous unless you send <code>\"sync\": true</code>.</p>\n<p>Status webhooks work the same for Gateway orders as for AutoPilot orders.</p>\n<h3 id=\"request-fields\">Request fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>external_id</code></td>\n<td>string (max 255)</td>\n<td>Recommended</td>\n<td>Your reference. Unique per connection; reusing it returns <code>409</code>.</td>\n</tr>\n<tr>\n<td><code>transaction_type</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>consumer</code> (default) or <code>client</code>.</td>\n</tr>\n<tr>\n<td><code>consumer.first_name</code>, <code>consumer.last_name</code></td>\n<td>string</td>\n<td><strong>Yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td><code>consumer.email</code></td>\n<td>string</td>\n<td><strong>Yes</strong></td>\n<td></td>\n</tr>\n<tr>\n<td><code>consumer.phone</code>, <code>consumer.ssn</code>, <code>consumer.date_of_birth</code></td>\n<td>string / date</td>\n<td>No</td>\n<td></td>\n</tr>\n<tr>\n<td><code>consumer.address</code>, <code>consumer.city</code>, <code>consumer.state</code>, <code>consumer.zip</code></td>\n<td>string</td>\n<td>No</td>\n<td></td>\n</tr>\n<tr>\n<td><code>products</code></td>\n<td>array</td>\n<td><strong>Yes</strong></td>\n<td>At least one product. See below.</td>\n</tr>\n<tr>\n<td><code>profile</code></td>\n<td>object</td>\n<td>No</td>\n<td>Product-specific data keyed by profile type code, for example <code>{\"mvr\": {\"license_state\": \"TX\", \"license_number\": \"D1234567\"}}</code>.</td>\n</tr>\n<tr>\n<td><code>consents_collected</code></td>\n<td>boolean</td>\n<td>No</td>\n<td><code>true</code> when you collected the person's disclosures and authorization yourself. See below.</td>\n</tr>\n<tr>\n<td><code>metadata</code></td>\n<td>object</td>\n<td>No</td>\n<td>Your own key/value data, such as <code>employee_id</code> or <code>notes</code>.</td>\n</tr>\n<tr>\n<td><code>sync</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>Process before responding. Default <code>false</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"consent-you-collected-yourself-consents_collected\">Consent you collected yourself (<code>consents_collected</code>)</h3>\n<p>Send <code>\"consents_collected\": true</code> when your own sign-up flow already presented PSBI's required disclosures and collected the person's authorization. PSBI then records a certification for each consent the order needs, attributed to your account, and never asks the person for it. Only send it when you hold a signed authorization for this person and can produce it on request.</p>\n<p>Consent is the only step it skips. Any personal data the products need and you did not send is still collected.</p>\n<h3 id=\"products\">Products</h3>\n<p>Each entry in <code>products</code> can be any of these:</p>\n<ul>\n<li>a product name: <code>\"County Criminal\"</code></li>\n<li>a PSBI product id: <code>12</code></li>\n<li>an object: <code>{ \"product_id\": 12 }</code>, <code>{ \"product_name\": \"County Criminal\" }</code>, <code>{ \"order_template_id\": 3 }</code> or <code>{ \"order_template_name\": \"Standard Package\" }</code></li>\n</ul>\n<p>Names are matched against your account's products, then its order templates (packages). If nothing matches, your account's default products are ordered rather than the request failing. Confirm the exact product and package names with your implementation contact before you go live.</p>\n","urlObject":{"path":["api","v1","partners","transactions"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"0b2bbea0-8178-48f5-8970-19c4f72355dd","name":"Accepted (async)","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"CONSUMER_12345\",\n  \"consumer\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"email\": \"john.doe@example.com\"\n  },\n  \"products\": [\n    \"Statewide Criminal\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/transactions"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"transaction_id\": 5114,\n  \"external_id\": \"CONSUMER_12345\",\n  \"status\": \"received\",\n  \"message\": \"Transaction received and queued for processing\",\n  \"received_at\": \"2026-09-15T14:02:11.000000Z\",\n  \"estimated_completion\": \"2026-09-18T14:02:11.000000Z\",\n  \"tracking_url\": null,\n  \"consumer\": {\n    \"id\": null,\n    \"name\": \"John Doe\",\n    \"email\": \"john.doe@example.com\"\n  }\n}"},{"id":"43671918-f128-474f-b10c-fd517ab428e1","name":"Processed (sync)","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"CONSUMER_12345\",\n  \"consumer\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"email\": \"john.doe@example.com\"\n  },\n  \"products\": [\n    \"Statewide Criminal\"\n  ],\n  \"sync\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"transaction_id\": 5114,\n  \"external_id\": \"CONSUMER_12345\",\n  \"status\": \"processed\",\n  \"message\": \"Transaction processed successfully\",\n  \"received_at\": \"2026-09-15T14:02:11.000000Z\",\n  \"estimated_completion\": \"2026-09-18T14:02:11.000000Z\",\n  \"tracking_url\": null,\n  \"consumer\": {\n    \"id\": 54321,\n    \"name\": \"John Doe\",\n    \"email\": \"john.doe@example.com\"\n  }\n}"},{"id":"c8287c99-c078-44b2-9e6c-45de75c05ec0","name":"Validation error","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"consumer\": {\n    \"first_name\": \"John\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/transactions"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"VALIDATION_FAILED\",\n    \"message\": \"The provided data is invalid\",\n    \"details\": {\n      \"consumer.last_name\": [\n        \"Consumer last name is required\"\n      ],\n      \"consumer.email\": [\n        \"Consumer email is required\"\n      ],\n      \"products\": [\n        \"At least one product or service is required\"\n      ]\n    }\n  }\n}"},{"id":"063fcae1-1faf-4f4a-9c8c-023cdcc97250","name":"Duplicate external_id","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"CONSUMER_12345\",\n  \"consumer\": {\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"email\": \"john.doe@example.com\"\n  },\n  \"products\": [\n    \"Statewide Criminal\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/transactions"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"DUPLICATE_TRANSACTION\",\n    \"message\": \"This event has already been processed\",\n    \"details\": {\n      \"external_id\": \"CONSUMER_12345\",\n      \"original_transaction_id\": 5114,\n      \"original_status\": \"processed\"\n    }\n  }\n}"}],"_postman_id":"4b3b4c04-5c07-4f09-8afb-b16ce8b47f19"},{"name":"Create Client Transaction","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Transaction accepted\", function () {","    pm.expect([200, 202]).to.include(pm.response.code);","});","if (pm.response.json().external_id) { pm.collectionVariables.set('last_gateway_external_id', pm.response.json().external_id); }"]}}],"id":"b249367c-74e2-4212-8284-6255fc456974","request":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"CLIENT_1796253606\",\n  \"transaction_type\": \"client\",\n  \"consumer\": {\n    \"first_name\": \"Fausto\",\n    \"last_name\": \"Goldner\",\n    \"email\": \"Ahmed_Lebsack93@hotmail.com\",\n    \"ssn\": \"123456789\",\n    \"date_of_birth\": \"1985-03-22\",\n    \"state\": \"TX\"\n  },\n  \"products\": [\"County Criminal\", \"National Criminal\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/transactions","description":"<p>Order background check products without emailing the person. A task is created for the client's team to complete the person's details in PSBI.</p>\n<p>Use this when your client collects the information and consent themselves.</p>\n<p>The body is the same as <strong>Create Consumer Transaction</strong>, with <code>transaction_type</code> set to <code>\"client\"</code>.</p>\n","urlObject":{"path":["api","v1","partners","transactions"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"16b59702-c535-4283-8a0f-3e2000438d89","name":"Accepted (async)","originalRequest":{"method":"POST","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"external_id\": \"CLIENT_67890\",\n  \"transaction_type\": \"client\",\n  \"consumer\": {\n    \"first_name\": \"Jane\",\n    \"last_name\": \"Smith\",\n    \"email\": \"jane.smith@example.com\"\n  },\n  \"products\": [\n    \"County Criminal\",\n    \"National Criminal\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.psbi.com/api/v1/partners/transactions"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"transaction_id\": 5115,\n  \"external_id\": \"CLIENT_67890\",\n  \"status\": \"received\",\n  \"message\": \"Transaction received and queued for processing\",\n  \"received_at\": \"2026-09-15T14:02:11.000000Z\",\n  \"estimated_completion\": \"2026-09-18T14:02:11.000000Z\",\n  \"tracking_url\": null,\n  \"consumer\": {\n    \"id\": null,\n    \"name\": \"Jane Smith\",\n    \"email\": \"jane.smith@example.com\"\n  }\n}"}],"_postman_id":"b249367c-74e2-4212-8284-6255fc456974"},{"name":"Get Transaction Status","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Status retrieved\", function () {","    pm.expect([200, 404]).to.include(pm.response.code);","});"]}}],"id":"b535f261-84f1-414e-9da6-fe8416fc5482","request":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/transactions/","description":"<p>Look up any request on your connection by <code>external_id</code>. This covers Gateway orders and AutoPilot enrollments.</p>\n<h3 id=\"response\">Response</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>transaction.id</code></td>\n<td>PSBI's request id, prefixed <code>PTX-</code>.</td>\n</tr>\n<tr>\n<td><code>transaction.status</code></td>\n<td>Processing of your request: <code>received</code>, <code>processing</code>, <code>processed</code> or <code>failed</code>.</td>\n</tr>\n<tr>\n<td><code>transaction.error_message</code></td>\n<td>Why a request <code>failed</code>.</td>\n</tr>\n<tr>\n<td><code>transaction.consumer_transaction</code></td>\n<td>The order, once created: <code>id</code>, <code>status</code> (<code>draft</code>, <code>review</code>, <code>processing</code>, <code>complete</code>, <code>cancelled</code>), <code>submitted_at</code>, <code>consumer</code>.</td>\n</tr>\n<tr>\n<td><code>transaction.status_updates</code></td>\n<td>The five most recent status webhooks PSBI attempted for this request: <code>event</code>, <code>status</code> (<code>sent</code>, <code>failed</code>, <code>retrying</code> or <code>pending</code>), <code>timestamp</code>, <code>delivered_at</code>. Useful for confirming your endpoint received them.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","partners","transactions",""],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"f9ce7f5b-c285-4f5d-ac1f-0180a4931edc","name":"In progress","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/transactions/CONSUMER_12345"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"transaction\": {\n    \"id\": \"PTX-5114\",\n    \"external_id\": \"CONSUMER_12345\",\n    \"status\": \"processed\",\n    \"transaction_type\": \"consumer\",\n    \"received_at\": \"2026-09-15T14:02:11.000000Z\",\n    \"processed_at\": \"2026-09-15T14:02:43.000000Z\",\n    \"error_message\": null,\n    \"consumer_transaction\": {\n      \"id\": 98765,\n      \"status\": \"processing\",\n      \"submitted_at\": \"2026-09-16T09:12:40.000000Z\",\n      \"consumer\": {\n        \"id\": 54321,\n        \"name\": \"John Doe\"\n      }\n    },\n    \"status_updates\": [\n      {\n        \"event\": \"consumer.transaction.submitted\",\n        \"status\": \"sent\",\n        \"timestamp\": \"2026-09-16T09:12:41.000000Z\",\n        \"delivered_at\": \"2026-09-16T09:12:41.000000Z\"\n      },\n      {\n        \"event\": \"consumer.transaction.review\",\n        \"status\": \"sent\",\n        \"timestamp\": \"2026-09-16T09:10:02.000000Z\",\n        \"delivered_at\": \"2026-09-16T09:10:02.000000Z\"\n      }\n    ]\n  }\n}"},{"id":"cde037dc-d08b-4378-9625-5c2f0ed4c4a3","name":"Not found","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/transactions/UNKNOWN_ID"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"TRANSACTION_NOT_FOUND\",\n    \"message\": \"Transaction not found\"\n  }\n}"}],"_postman_id":"b535f261-84f1-414e-9da6-fe8416fc5482"}],"id":"94c3891b-28b3-4f77-a468-f7894b2f99a2","description":"<h1 id=\"partner-gateway\">Partner Gateway</h1>\n<p>Order specific background check products for a person.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>transaction_type</code></th>\n<th>Who completes the person's information</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>consumer</code> (default)</td>\n<td>The person, through an email invitation.</td>\n</tr>\n<tr>\n<td><code>client</code></td>\n<td>The client's team, through a task in PSBI.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"flow\">Flow</h2>\n<ol>\n<li><strong>Create</strong> the transaction with your <code>external_id</code>.</li>\n<li>The person or the client's team <strong>completes</strong> the information. The order then moves to review and is submitted.</li>\n<li><strong>Receive status webhooks</strong>, or poll <strong>Get Transaction Status</strong>.</li>\n<li>When the order is <strong>complete</strong>, the report-ready webhook carries a link to download the report.</li>\n</ol>\n<p>To enroll people into positions and keep them compliant over time, use the <strong>AutoPilot API</strong> instead.</p>\n","_postman_id":"94c3891b-28b3-4f77-a468-f7894b2f99a2"},{"name":"Records","item":[{"name":"List Consumers","id":"0123ed78-6ce9-4937-8c65-067bf543c368","request":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/consumers?updated_since=2026-09-15T00:00:00Z","description":"<p>People on your account, oldest first.</p>\n<p>Paginated: <code>page</code> (default 1) and <code>per_page</code> (default 25, max 100). The response carries <code>pagination</code> with <code>page</code>, <code>per_page</code>, <code>total</code> and <code>last_page</code>.</p>\n<h3 id=\"filters\">Filters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>Exact email address.</td>\n</tr>\n<tr>\n<td><code>active</code></td>\n<td><code>true</code> for people with an active enrollment, <code>false</code> for everyone else.</td>\n</tr>\n<tr>\n<td><code>updated_since</code></td>\n<td>ISO 8601 timestamp. People whose record, orders or enrollments changed at or after this time.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response</h3>\n<p><code>consumers[]</code>: <code>id</code>, <code>first_name</code>, <code>middle_name</code>, <code>last_name</code>, <code>email</code>, <code>phone</code>, <code>active</code>, <code>organization</code> (<code>id</code>, <code>name</code>, or <code>null</code>), <code>created_at</code>, <code>updated_at</code>.</p>\n<p>Social Security numbers and dates of birth are never returned.</p>\n","urlObject":{"path":["api","v1","partners","consumers"],"host":["https://app.psbi.com"],"query":[{"description":{"content":"<p>Changed at or after (ISO 8601)</p>\n","type":"text/plain"},"key":"updated_since","value":"2026-09-15T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Only people with an active enrollment</p>\n","type":"text/plain"},"key":"active","value":"true"},{"disabled":true,"description":{"content":"<p>Exact email match</p>\n","type":"text/plain"},"key":"email","value":"john.doe@example.com"},{"disabled":true,"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>Results per page, max 100</p>\n","type":"text/plain"},"key":"per_page","value":"25"}],"variable":[]}},"response":[{"id":"988fe3ff-8413-4758-ab91-0fcdd994a8ab","name":"Consumers","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":{"raw":"https://app.psbi.com/api/v1/partners/consumers?updated_since=2026-09-15T00:00:00Z","protocol":"https","host":["app","psbi","com"],"path":["api","v1","partners","consumers"],"query":[{"key":"updated_since","value":"2026-09-15T00:00:00Z"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"consumers\": [\n    {\n      \"id\": 54321,\n      \"first_name\": \"John\",\n      \"middle_name\": null,\n      \"last_name\": \"Doe\",\n      \"email\": \"john.doe@example.com\",\n      \"phone\": \"(555) 555-0100\",\n      \"active\": true,\n      \"organization\": {\n        \"id\": 12,\n        \"name\": \"West Region\"\n      },\n      \"created_at\": \"2026-09-15T14:02:43.000000Z\",\n      \"updated_at\": \"2026-09-18T10:20:01.000000Z\"\n    }\n  ],\n  \"pagination\": {\n    \"page\": 1,\n    \"per_page\": 25,\n    \"total\": 1,\n    \"last_page\": 1\n  }\n}"},{"id":"b35a9992-c812-4057-98be-b3379a49d1d8","name":"Read access not enabled","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/consumers"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"READ_ACCESS_NOT_ENABLED\",\n    \"message\": \"Read access is not enabled for this API key\"\n  }\n}"}],"_postman_id":"0123ed78-6ce9-4937-8c65-067bf543c368"},{"name":"Get Consumer","id":"5b2649f1-d0c6-4a4d-ba65-060542b3c66e","request":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/consumers/","description":"<p>One person, with where they stand.</p>\n<h3 id=\"response\">Response</h3>\n<p>Everything in <strong>List Consumers</strong>, plus:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>enrollments[]</code></td>\n<td>Each position (checklist) the person is enrolled in: <code>checklist</code> (<code>id</code>, <code>name</code>), <code>status</code> (<code>active</code>, <code>paused</code>, <code>completed</code>, <code>superseded</code>, <code>inactive</code>), <code>compliance_status</code> (<code>complete</code>, <code>in_progress</code>, <code>pending_review</code>, <code>attention_needed</code>, <code>incomplete</code>, <code>adverse_action</code>), <code>enrolled_at</code>, and <code>requirements[]</code>.</td>\n</tr>\n<tr>\n<td><code>enrollments[].requirements[]</code></td>\n<td><code>name</code>, <code>status</code> (<code>never_completed</code>, <code>in_progress</code>, <code>pending_review</code>, <code>current</code>, <code>expiring_soon</code>, <code>expired</code>, <code>non_compliant</code>, <code>skipped</code>), <code>completed_at</code>, <code>expires_at</code>, <code>order_id</code>, <code>search_id</code>.</td>\n</tr>\n<tr>\n<td><code>orders[]</code></td>\n<td>Every order for the person, newest first: <code>id</code>, <code>status</code>, <code>submitted_at</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","v1","partners","consumers",""],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"ab61b6a1-31fd-486d-a23a-f690e52d0f1b","name":"Consumer","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/consumers/54321"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"consumer\": {\n    \"id\": 54321,\n    \"first_name\": \"John\",\n    \"middle_name\": null,\n    \"last_name\": \"Doe\",\n    \"email\": \"john.doe@example.com\",\n    \"phone\": \"(555) 555-0100\",\n    \"active\": true,\n    \"organization\": {\n      \"id\": 12,\n      \"name\": \"West Region\"\n    },\n    \"created_at\": \"2026-09-15T14:02:43.000000Z\",\n    \"updated_at\": \"2026-09-18T10:20:01.000000Z\",\n    \"enrollments\": [\n      {\n        \"id\": 3064,\n        \"checklist\": {\n          \"id\": 39,\n          \"name\": \"Warehouse Associate\"\n        },\n        \"status\": \"active\",\n        \"compliance_status\": \"in_progress\",\n        \"enrolled_at\": \"2026-09-15T14:02:43.000000Z\",\n        \"requirements\": [\n          {\n            \"name\": \"County Criminal\",\n            \"status\": \"current\",\n            \"completed_at\": \"2026-09-17T16:01:12.000000Z\",\n            \"expires_at\": \"2027-09-17T16:01:12.000000Z\",\n            \"order_id\": 98765,\n            \"search_id\": 4434\n          },\n          {\n            \"name\": \"MVR\",\n            \"status\": \"in_progress\",\n            \"completed_at\": null,\n            \"expires_at\": null,\n            \"order_id\": 98765,\n            \"search_id\": 4436\n          }\n        ]\n      }\n    ],\n    \"orders\": [\n      {\n        \"id\": 98765,\n        \"status\": \"processing\",\n        \"submitted_at\": \"2026-09-16T09:12:40.000000Z\"\n      }\n    ]\n  }\n}"},{"id":"af8e82a9-462b-4d62-8a51-47f31e507750","name":"Not found","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/consumers/999999"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"CONSUMER_NOT_FOUND\",\n    \"message\": \"Consumer not found\",\n    \"details\": {\n      \"id\": 999999\n    }\n  }\n}"}],"_postman_id":"5b2649f1-d0c6-4a4d-ba65-060542b3c66e"},{"name":"Consumer Documents","id":"583cf674-df7b-4eda-ac30-f69ecab682d1","request":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/consumers//documents","description":"<p>Reports and files on record, in one list. Each entry has a <code>kind</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>kind</code></th>\n<th>What it is</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>report</code></td>\n<td>A completed PSBI report PDF. <code>type</code> is the report type (<code>background_check</code>, <code>credit_report</code>, <code>form_i9</code>, <code>training</code>, …) and <code>is_fcra</code> says whether it is a consumer report under the FCRA.</td>\n</tr>\n<tr>\n<td><code>document</code></td>\n<td>A file shared with your account: signed disclosures and consents, and documents the person uploaded. <code>type</code> is the document type.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Only what your team can see in the PSBI portal is listed. Fetch a file with its <code>download_path</code>.</p>\n<p>Covers every order for the person.</p>\n","urlObject":{"path":["api","v1","partners","consumers","","documents"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"987ca666-6673-49eb-b0cc-0468d687b6df","name":"Documents","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/consumers/54321/documents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"documents\": [\n    {\n      \"id\": 405,\n      \"kind\": \"report\",\n      \"name\": \"Background Check Report - John Doe - Sep 18, 2026\",\n      \"type\": \"background_check\",\n      \"is_fcra\": true,\n      \"mime_type\": \"application/pdf\",\n      \"size\": null,\n      \"order_id\": 98765,\n      \"created_at\": \"2026-09-18T10:20:01.000000Z\",\n      \"download_path\": \"/api/v1/partners/reports/405/download\"\n    },\n    {\n      \"id\": 2058,\n      \"kind\": \"document\",\n      \"name\": \"Disclosure and Authorization.pdf\",\n      \"type\": \"consumer_document\",\n      \"mime_type\": \"application/pdf\",\n      \"size\": 6082,\n      \"order_id\": 98765,\n      \"created_at\": \"2026-09-15T14:10:25.000000Z\",\n      \"download_path\": \"/api/v1/partners/documents/2058/download\"\n    }\n  ]\n}"}],"_postman_id":"583cf674-df7b-4eda-ac30-f69ecab682d1"},{"name":"List Orders","id":"4cdffb81-3281-4c76-9ef7-5da6aef54361","request":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/orders?updated_since=2026-09-15T00:00:00Z","description":"<p>Orders on your account, oldest first.</p>\n<p>Paginated: <code>page</code> (default 1) and <code>per_page</code> (default 25, max 100). The response carries <code>pagination</code> with <code>page</code>, <code>per_page</code>, <code>total</code> and <code>last_page</code>.</p>\n<h3 id=\"filters\">Filters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>consumer_id</code></td>\n<td>One person's orders.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td><code>draft</code> (waiting on the person or your team to complete their information), <code>review</code>, <code>processing</code>, <code>complete</code> or <code>cancelled</code>.</td>\n</tr>\n<tr>\n<td><code>updated_since</code></td>\n<td>ISO 8601 timestamp. Orders that changed, or had a search change, at or after this time.</td>\n</tr>\n<tr>\n<td><code>submitted_from</code>, <code>submitted_to</code></td>\n<td>ISO 8601 timestamps bounding <code>submitted_at</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response</h3>\n<p><code>orders[]</code>: <code>id</code>, <code>external_id</code>, <code>consumer</code> (<code>id</code>, <code>name</code>), <code>organization</code>, <code>status</code>, <code>source</code>, <code>submitted_at</code>, <code>eta</code>, <code>created_at</code>, <code>updated_at</code>.</p>\n","urlObject":{"path":["api","v1","partners","orders"],"host":["https://app.psbi.com"],"query":[{"description":{"content":"<p>Changed at or after (ISO 8601)</p>\n","type":"text/plain"},"key":"updated_since","value":"2026-09-15T00:00:00Z"},{"disabled":true,"description":{"content":"<p>draft, review, processing, complete, cancelled</p>\n","type":"text/plain"},"key":"status","value":"complete"},{"disabled":true,"description":{"content":"<p>One person's orders</p>\n","type":"text/plain"},"key":"consumer_id","value":""},{"disabled":true,"description":{"content":"<p>Submitted at or after</p>\n","type":"text/plain"},"key":"submitted_from","value":"2026-09-01T00:00:00Z"},{"disabled":true,"description":{"content":"<p>Submitted at or before</p>\n","type":"text/plain"},"key":"submitted_to","value":"2026-09-30T23:59:59Z"},{"disabled":true,"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>Results per page, max 100</p>\n","type":"text/plain"},"key":"per_page","value":"25"}],"variable":[]}},"response":[{"id":"27de561e-c948-4be6-a614-2e8bbd852ab0","name":"Orders","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":{"raw":"https://app.psbi.com/api/v1/partners/orders?status=complete","protocol":"https","host":["app","psbi","com"],"path":["api","v1","partners","orders"],"query":[{"key":"status","value":"complete"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"orders\": [\n    {\n      \"id\": 98765,\n      \"external_id\": \"CONSUMER_12345\",\n      \"consumer\": {\n        \"id\": 54321,\n        \"name\": \"John Doe\"\n      },\n      \"organization\": {\n        \"id\": 12,\n        \"name\": \"West Region\"\n      },\n      \"status\": \"complete\",\n      \"source\": \"partner_api\",\n      \"submitted_at\": \"2026-09-16T09:12:40.000000Z\",\n      \"eta\": \"2026-09-18T09:12:40.000000Z\",\n      \"created_at\": \"2026-09-15T14:02:43.000000Z\",\n      \"updated_at\": \"2026-09-18T10:20:01.000000Z\"\n    }\n  ],\n  \"pagination\": {\n    \"page\": 1,\n    \"per_page\": 25,\n    \"total\": 1,\n    \"last_page\": 1\n  }\n}"}],"_postman_id":"4cdffb81-3281-4c76-9ef7-5da6aef54361"},{"name":"Get Order","id":"33ea3547-26e7-4c34-aab8-9b2fcd435eb9","request":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/orders/","description":"<p>One order and its searches.</p>\n<h3 id=\"response\">Response</h3>\n<p>Everything in <strong>List Orders</strong>, plus:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>requires_review</code></td>\n<td><code>true</code> when any search returned a result your team should review before deciding.</td>\n</tr>\n<tr>\n<td><code>searches[]</code></td>\n<td><code>id</code>, <code>product</code> (<code>id</code>, <code>name</code>), <code>search_detail</code> (the jurisdiction or scope, such as a county), <code>status</code>, <code>completed</code>, <code>completed_at</code>, <code>result</code>, <code>requires_review</code>.</td>\n</tr>\n<tr>\n<td><code>searches[].result</code></td>\n<td><code>null</code> until the search finishes, then a stable key such as <code>no_record</code> or <code>record</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Record details are in the report PDF, not in this response.</p>\n","urlObject":{"path":["api","v1","partners","orders",""],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"03ce4aa3-1421-4990-a780-7b68c7a75975","name":"Order","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/orders/98765"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"order\": {\n    \"id\": 98765,\n    \"external_id\": \"CONSUMER_12345\",\n    \"consumer\": {\n      \"id\": 54321,\n      \"name\": \"John Doe\"\n    },\n    \"organization\": {\n      \"id\": 12,\n      \"name\": \"West Region\"\n    },\n    \"status\": \"complete\",\n    \"source\": \"partner_api\",\n    \"submitted_at\": \"2026-09-16T09:12:40.000000Z\",\n    \"eta\": \"2026-09-18T09:12:40.000000Z\",\n    \"created_at\": \"2026-09-15T14:02:43.000000Z\",\n    \"updated_at\": \"2026-09-18T10:20:01.000000Z\",\n    \"requires_review\": true,\n    \"searches\": [\n      {\n        \"id\": 4434,\n        \"product\": {\n          \"id\": 1,\n          \"name\": \"County Criminal\"\n        },\n        \"search_detail\": \"Durham County, NC\",\n        \"status\": \"Complete\",\n        \"completed\": true,\n        \"completed_at\": \"2026-09-17T16:01:12.000000Z\",\n        \"result\": \"record\",\n        \"requires_review\": true\n      },\n      {\n        \"id\": 4435,\n        \"product\": {\n          \"id\": 3,\n          \"name\": \"National Criminal\"\n        },\n        \"search_detail\": null,\n        \"status\": \"Complete\",\n        \"completed\": true,\n        \"completed_at\": \"2026-09-16T11:40:02.000000Z\",\n        \"result\": \"no_record\",\n        \"requires_review\": false\n      }\n    ]\n  }\n}"},{"id":"24a99f16-59ad-4c8d-9375-f505d40674bc","name":"Not found","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/orders/999999"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"ORDER_NOT_FOUND\",\n    \"message\": \"Order not found\",\n    \"details\": {\n      \"id\": 999999\n    }\n  }\n}"}],"_postman_id":"33ea3547-26e7-4c34-aab8-9b2fcd435eb9"},{"name":"Order Documents","id":"4ff5c95f-c275-4ddc-adb2-31a9fc51a485","request":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/orders//documents","description":"<p>Reports and files on record, in one list. Each entry has a <code>kind</code>:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>kind</code></th>\n<th>What it is</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>report</code></td>\n<td>A completed PSBI report PDF. <code>type</code> is the report type (<code>background_check</code>, <code>credit_report</code>, <code>form_i9</code>, <code>training</code>, …) and <code>is_fcra</code> says whether it is a consumer report under the FCRA.</td>\n</tr>\n<tr>\n<td><code>document</code></td>\n<td>A file shared with your account: signed disclosures and consents, and documents the person uploaded. <code>type</code> is the document type.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Only what your team can see in the PSBI portal is listed. Fetch a file with its <code>download_path</code>.</p>\n<p>Covers this order only.</p>\n","urlObject":{"path":["api","v1","partners","orders","","documents"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"665ceadb-0d48-4d91-bfdf-e491daa98103","name":"Documents","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/orders/98765/documents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"documents\": [\n    {\n      \"id\": 405,\n      \"kind\": \"report\",\n      \"name\": \"Background Check Report - John Doe - Sep 18, 2026\",\n      \"type\": \"background_check\",\n      \"is_fcra\": true,\n      \"mime_type\": \"application/pdf\",\n      \"size\": null,\n      \"order_id\": 98765,\n      \"created_at\": \"2026-09-18T10:20:01.000000Z\",\n      \"download_path\": \"/api/v1/partners/reports/405/download\"\n    },\n    {\n      \"id\": 2058,\n      \"kind\": \"document\",\n      \"name\": \"Disclosure and Authorization.pdf\",\n      \"type\": \"consumer_document\",\n      \"mime_type\": \"application/pdf\",\n      \"size\": 6082,\n      \"order_id\": 98765,\n      \"created_at\": \"2026-09-15T14:10:25.000000Z\",\n      \"download_path\": \"/api/v1/partners/documents/2058/download\"\n    }\n  ]\n}"}],"_postman_id":"4ff5c95f-c275-4ddc-adb2-31a9fc51a485"},{"name":"Download Report","id":"f09875f2-fc36-4441-9502-28805e0e3491","request":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/reports//download","description":"<p>A short-lived link to a report PDF. Use the <code>download_path</code> from a documents list.</p>\n<p>The response carries the link rather than redirecting to it: fetch <code>download.url</code> with a plain GET and <strong>no</strong> <code>X-API-Key</code> or <code>Authorization</code> header. The link expires at <code>download.expires_at</code>, ten minutes after it is issued; request a new one rather than storing it.</p>\n<p>Every link issued is recorded against your API key.</p>\n","urlObject":{"path":["api","v1","partners","reports","","download"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"6e6726b7-5acd-4853-9bb2-f3e66dbe75a6","name":"Link","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/reports/405/download"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"download\": {\n    \"url\": \"https://stprdp51.blob.core.windows.net/documents/reports/405.pdf?se=2026-09-18T10%3A30%3A01Z&sp=r&sig=...\",\n    \"expires_at\": \"2026-09-18T10:30:01.000000Z\",\n    \"filename\": \"background-check-report-john-doe-sep-18-2026.pdf\",\n    \"mime_type\": \"application/pdf\"\n  }\n}"},{"id":"6eed29d6-aa07-455a-811f-144a343b5bfd","name":"Not found","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/reports/999999/download"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"REPORT_NOT_FOUND\",\n    \"message\": \"Report not found\",\n    \"details\": {\n      \"id\": 999999\n    }\n  }\n}"}],"_postman_id":"f09875f2-fc36-4441-9502-28805e0e3491"},{"name":"Download Document","id":"eb0ec209-e7df-4d0c-8511-5ed122b95364","request":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key-here","type":"text","description":"<p>Your API key</p>\n"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/documents//download","description":"<p>A short-lived link to a document. Works exactly like <strong>Download Report</strong>.</p>\n","urlObject":{"path":["api","v1","partners","documents","","download"],"host":["https://app.psbi.com"],"query":[],"variable":[]}},"response":[{"id":"d1748ad0-9023-4aef-b5fb-48ce394065c3","name":"Link","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/documents/2058/download"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"download\": {\n    \"url\": \"https://stprdp51.blob.core.windows.net/documents/consumer_documents/2058.pdf?se=2026-09-18T10%3A30%3A01Z&sp=r&sig=...\",\n    \"expires_at\": \"2026-09-18T10:30:01.000000Z\",\n    \"filename\": \"Disclosure and Authorization.pdf\",\n    \"mime_type\": \"application/pdf\"\n  }\n}"},{"id":"8bb917d2-37a0-4d30-9a0a-6e777c490124","name":"Not found","originalRequest":{"method":"GET","header":[{"key":"X-API-Key","value":"your-api-key","type":"text"}],"url":"https://app.psbi.com/api/v1/partners/documents/999999/download"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"DOCUMENT_NOT_FOUND\",\n    \"message\": \"Document not found\",\n    \"details\": {\n      \"id\": 999999\n    }\n  }\n}"}],"_postman_id":"eb0ec209-e7df-4d0c-8511-5ed122b95364"}],"id":"0f411e12-9c73-482e-b695-bb46b57c15be","description":"<h1 id=\"records\">Records</h1>\n<p>Read the people, orders and files on your account, including those created in the PSBI portal, renewals, and orders placed by other means. The AutoPilot and Gateway status endpoints only find requests by your own <code>external_id</code>; these endpoints use PSBI's ids and list everything on the account.</p>\n<p><strong>Read access is enabled per API key.</strong> Ask your PSBI implementation contact to turn it on. Until then these endpoints return <code>403 READ_ACCESS_NOT_ENABLED</code>.</p>\n<h2 id=\"keeping-in-sync\">Keeping in sync</h2>\n<ol>\n<li><strong>Backfill</strong> by paging through <strong>List Consumers</strong> and <strong>List Orders</strong>.</li>\n<li><strong>Stay current</strong> by polling with <code>updated_since</code> set to the time of your last successful poll, or react to <strong>Status Webhooks</strong>: each one carries <code>consumer_transaction_id</code>, which is the order <code>id</code> here.</li>\n<li><strong>Collect files</strong> from <strong>Order Documents</strong> when an order is <code>complete</code>.</li>\n</ol>\n<h2 id=\"ids\">Ids</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>consumer.id</code></td>\n<td>The person in PSBI. Same id as AutoPilot's <code>consumer_id</code>.</td>\n</tr>\n<tr>\n<td><code>order.id</code></td>\n<td>The background check order. Same id as <code>consumer_transaction_id</code> on status webhooks and on the Gateway status response.</td>\n</tr>\n<tr>\n<td><code>order.external_id</code></td>\n<td>Your <code>external_id</code>, when the order came from your API key. <code>null</code> for orders created any other way.</td>\n</tr>\n</tbody>\n</table>\n</div><p>An id that does not exist and one that belongs to another account answer the same <code>404</code>.</p>\n<h2 id=\"limits\">Limits</h2>\n<p>120 requests per minute per API key. Over the limit returns <code>429</code> with a <code>Retry-After</code> header.</p>\n","_postman_id":"0f411e12-9c73-482e-b695-bb46b57c15be"},{"name":"Status Webhooks","item":[{"name":"Review","id":"0449a303-25c5-4038-8767-1e5c128b1246","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"P51-Partner-Gateway/1.0","type":"text"},{"key":"X-P51-Event","value":"consumer.transaction.review","type":"text"},{"key":"X-P51-Timestamp","value":"2026-09-15T18:22:31.000000Z","type":"text"},{"key":"X-P51-Signature","value":"3f1c9a0e7b…","type":"text","description":"<p>Hex HMAC-SHA256 of the raw body with your signing secret</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"consumer.transaction.review\",\n  \"status\": \"review\",\n  \"external_id\": \"HR-2026-001234\",\n  \"consumer_transaction_id\": \"98765\",\n  \"consumer\": {\n    \"id\": \"54321\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\"\n  },\n  \"portal_url\": \"https://app.psbi.com/client/consumers/54321/transactions/98765/review\",\n  \"occurred_at\": \"2026-09-15T18:22:31Z\"\n}","options":{"raw":{"language":"json"}}},"url":"https://your-app.example.com/psbi/webhooks","description":"<p><strong>Sent by PSBI to your endpoint.</strong></p>\n<p>The person's information is collected and the order is waiting to be submitted, either by the client's team at <code>portal_url</code> or automatically. It is not a results review; nothing has been searched yet.</p>\n<p>Suggested handling: mark the record as waiting to be submitted.</p>\n","urlObject":{"host":["https://your-app.example.com/psbi/webhooks"],"query":[],"variable":[]}},"response":[],"_postman_id":"0449a303-25c5-4038-8767-1e5c128b1246"},{"name":"In Progress","id":"2852296c-6912-47ed-b81c-2edd2430925f","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"P51-Partner-Gateway/1.0","type":"text"},{"key":"X-P51-Event","value":"consumer.transaction.submitted","type":"text"},{"key":"X-P51-Timestamp","value":"2026-09-15T18:22:31.000000Z","type":"text"},{"key":"X-P51-Signature","value":"3f1c9a0e7b…","type":"text","description":"<p>Hex HMAC-SHA256 of the raw body with your signing secret</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"consumer.transaction.submitted\",\n  \"status\": \"in_progress\",\n  \"external_id\": \"HR-2026-001234\",\n  \"consumer_transaction_id\": \"98765\",\n  \"consumer\": {\n    \"id\": \"54321\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\"\n  },\n  \"portal_url\": \"https://app.psbi.com/client/autopilot/consumers/54321\",\n  \"occurred_at\": \"2026-09-15T18:22:31Z\"\n}","options":{"raw":{"language":"json"}}},"url":"https://your-app.example.com/psbi/webhooks","description":"<p><strong>Sent by PSBI to your endpoint.</strong></p>\n<p>The order is submitted and searches are running. Turnaround depends on the searches; county courts can take several business days.</p>\n<p>Suggested handling: mark the record as screening in progress.</p>\n","urlObject":{"host":["https://your-app.example.com/psbi/webhooks"],"query":[],"variable":[]}},"response":[],"_postman_id":"2852296c-6912-47ed-b81c-2edd2430925f"},{"name":"Complete","id":"7678bea3-d301-4834-bcea-230dc920c17e","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"P51-Partner-Gateway/1.0","type":"text"},{"key":"X-P51-Event","value":"consumer.transaction.completed","type":"text"},{"key":"X-P51-Timestamp","value":"2026-09-15T18:22:31.000000Z","type":"text"},{"key":"X-P51-Signature","value":"3f1c9a0e7b…","type":"text","description":"<p>Hex HMAC-SHA256 of the raw body with your signing secret</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"consumer.transaction.completed\",\n  \"status\": \"complete\",\n  \"external_id\": \"HR-2026-001234\",\n  \"consumer_transaction_id\": \"98765\",\n  \"consumer\": {\n    \"id\": \"54321\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\"\n  },\n  \"portal_url\": \"https://app.psbi.com/client/autopilot/consumers/54321\",\n  \"occurred_at\": \"2026-09-15T18:22:31Z\",\n  \"result\": \"needs_review\"\n}","options":{"raw":{"language":"json"}}},"url":"https://your-app.example.com/psbi/webhooks","description":"<p><strong>Sent by PSBI to your endpoint.</strong></p>\n<p>Every search is finished.</p>\n<ul>\n<li><code>result: \"clear\"</code>: nothing needs review.</li>\n<li><code>result: \"needs_review\"</code>: at least one search returned something to review. The client adjudicates in PSBI at <code>portal_url</code>. Do not treat <code>needs_review</code> as a failed or adverse decision.</li>\n</ul>\n<p>The report PDF follows in <strong>Report Ready</strong>.</p>\n","urlObject":{"host":["https://your-app.example.com/psbi/webhooks"],"query":[],"variable":[]}},"response":[],"_postman_id":"7678bea3-d301-4834-bcea-230dc920c17e"},{"name":"Report Ready","id":"b0ab1b71-bf28-48f1-aae1-fed4da90df11","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"User-Agent","value":"P51-Partner-Gateway/1.0","type":"text"},{"key":"X-P51-Event","value":"consumer.transaction.report_generated","type":"text"},{"key":"X-P51-Timestamp","value":"2026-09-15T18:22:31.000000Z","type":"text"},{"key":"X-P51-Signature","value":"3f1c9a0e7b…","type":"text","description":"<p>Hex HMAC-SHA256 of the raw body with your signing secret</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"event\": \"consumer.transaction.report_generated\",\n  \"status\": \"complete\",\n  \"external_id\": \"HR-2026-001234\",\n  \"consumer_transaction_id\": \"98765\",\n  \"consumer\": {\n    \"id\": \"54321\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\"\n  },\n  \"portal_url\": \"https://app.psbi.com/client/autopilot/consumers/54321\",\n  \"occurred_at\": \"2026-09-15T18:22:31Z\",\n  \"result\": \"needs_review\",\n  \"report_url\": \"https://<psbi-report-storage>/reports/98765.pdf\"\n}","options":{"raw":{"language":"json"}}},"url":"https://your-app.example.com/psbi/webhooks","description":"<p><strong>Sent by PSBI to your endpoint.</strong></p>\n<p>The report PDF is generated. Download it from <code>report_url</code> straight away and store it with the same care as any consumer report. <code>result</code> repeats the outcome from <strong>Complete</strong>.</p>\n","urlObject":{"host":["https://your-app.example.com/psbi/webhooks"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0ab1b71-bf28-48f1-aae1-fed4da90df11"}],"id":"d59eb42c-6e38-4440-8ec0-74b9e7dc310b","description":"<h1 id=\"status-webhooks\">Status Webhooks</h1>\n<p>PSBI posts to your HTTPS endpoint as an order moves through screening. These are <strong>requests PSBI sends to you</strong>, not endpoints you call.</p>\n<h2 id=\"turning-them-on\">Turning them on</h2>\n<p>Send your implementation contact:</p>\n<ul>\n<li>the HTTPS URL that should receive webhooks.</li>\n</ul>\n<p>PSBI registers it on your connection and gives you a <strong>signing secret</strong>. Webhooks then cover every order created through your API key, from both AutoPilot enrollments and Gateway transactions.</p>\n<h2 id=\"events\">Events</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>event</code></th>\n<th><code>status</code></th>\n<th>When</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>consumer.transaction.review</code></td>\n<td><code>review</code></td>\n<td>The person's information is collected and the order is waiting to be submitted. <strong>This is not a results review.</strong> On accounts that submit automatically, <code>in_progress</code> follows within seconds.</td>\n</tr>\n<tr>\n<td><code>consumer.transaction.submitted</code></td>\n<td><code>in_progress</code></td>\n<td>The order is submitted and searches are running.</td>\n</tr>\n<tr>\n<td><code>consumer.transaction.completed</code></td>\n<td><code>complete</code></td>\n<td>Every search is finished. <code>result</code> says whether anything needs review.</td>\n</tr>\n<tr>\n<td><code>consumer.transaction.report_generated</code></td>\n<td><code>complete</code></td>\n<td>The report PDF is ready. <code>report_url</code> links to it. This usually follows <code>completed</code> within minutes.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"body\">Body</h2>\n<p>Every event has the same shape. <strong>All values are strings.</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>event</code></td>\n<td>The event name from the table above.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td><code>review</code>, <code>in_progress</code> or <code>complete</code>.</td>\n</tr>\n<tr>\n<td><code>external_id</code></td>\n<td>The <code>external_id</code> you sent when you enrolled or ordered.</td>\n</tr>\n<tr>\n<td><code>consumer_transaction_id</code></td>\n<td>PSBI's order id.</td>\n</tr>\n<tr>\n<td><code>consumer.id</code>, <code>consumer.first_name</code>, <code>consumer.last_name</code></td>\n<td>The person.</td>\n</tr>\n<tr>\n<td><code>portal_url</code></td>\n<td>Where a client user views this in PSBI (a PSBI login is required). On <code>review</code> it opens the order's submit page.</td>\n</tr>\n<tr>\n<td><code>occurred_at</code></td>\n<td>When PSBI generated the webhook (UTC).</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td><code>completed</code> and <code>report_generated</code> only. <code>clear</code> means no search needs review. <code>needs_review</code> means at least one search returned something to review, such as a record found or a verification that could not be confirmed. Adjudication happens in PSBI.</td>\n</tr>\n<tr>\n<td><code>report_url</code></td>\n<td><code>report_generated</code> only. A download link for the report PDF. It is a consumer report, so fetch and store it securely straight away rather than keeping the link.</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"consumer.transaction.completed\",\n  \"status\": \"complete\",\n  \"external_id\": \"HR-2026-001234\",\n  \"consumer_transaction_id\": \"98765\",\n  \"consumer\": {\n    \"id\": \"54321\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\"\n  },\n  \"portal_url\": \"https://app.psbi.com/client/autopilot/consumers/54321\",\n  \"occurred_at\": \"2026-09-15T18:22:31Z\",\n  \"result\": \"needs_review\"\n}\n</code></pre>\n<h2 id=\"headers\">Headers</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Content-Type</code></td>\n<td><code>application/json</code></td>\n</tr>\n<tr>\n<td><code>User-Agent</code></td>\n<td><code>P51-Partner-Gateway/1.0</code></td>\n</tr>\n<tr>\n<td><code>X-P51-Event</code></td>\n<td>The event name.</td>\n</tr>\n<tr>\n<td><code>X-P51-Timestamp</code></td>\n<td>When the request was sent (ISO 8601).</td>\n</tr>\n<tr>\n<td><code>X-P51-Signature</code></td>\n<td>Lowercase hex HMAC-SHA256 of the <strong>raw request body</strong>, keyed with your signing secret.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"verifying-the-signature\">Verifying the signature</h2>\n<p>Compute the HMAC over the exact bytes you received, before parsing the JSON, and compare it in constant time. Reject anything that does not match.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-js\">const crypto = require('crypto');\n\n// Express: app.post('/psbi/webhooks', express.raw({ type: 'application/json' }), handler)\nfunction isFromPsbi(rawBody, signatureHeader, secret) {\n  const expected = crypto.createHmac('sha256', secret).update(rawBody).digest('hex');\n  const received = String(signatureHeader || '').replace(/^sha256=/, '');\n  return received.length === expected.length &amp;&amp;\n    crypto.timingSafeEqual(Buffer.from(received), Buffer.from(expected));\n}\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-php\">$raw = file_get_contents('php://input');\n$expected = hash_hmac('sha256', $raw, $secret);\n\nif (! hash_equals($expected, $_SERVER['HTTP_X_P51_SIGNATURE'] ?? '')) {\n    http_response_code(401);\n    exit;\n}\n</code></pre>\n<h2 id=\"responding\">Responding</h2>\n<ul>\n<li>Return any <strong>2xx</strong> within <strong>30 seconds</strong>. Acknowledge first and do slow work afterwards.</li>\n<li>A timeout or any non-2xx counts as a failed delivery. PSBI tries <strong>3 times in total</strong>, about a minute apart.</li>\n</ul>\n<h2 id=\"designing-your-receiver\">Designing your receiver</h2>\n<ul>\n<li><strong>Duplicates happen.</strong> A retry after a slow response can deliver the same event twice. Deduplicate on <code>external_id</code> + <code>event</code> + <code>occurred_at</code>, or make your updates idempotent.</li>\n<li><strong>Order is not guaranteed.</strong> Don't move a record backwards, for example from <code>complete</code> to <code>in_progress</code>.</li>\n<li><strong>Not every order sends every event.</strong> <code>review</code> can be followed immediately by <code>in_progress</code>. An order that is reopened and completed again sends <code>completed</code> and <code>report_generated</code> again; treat the latest one as current.</li>\n<li><strong>What sends no webhooks:</strong><ul>\n<li><code>enroll_only</code> enrollments</li>\n<li>a transition with no new requirements</li>\n<li>an enroll that found the person already active in that position</li>\n<li>orders PSBI creates later on its own, such as renewals</li>\n</ul>\n</li>\n<li><strong>Missed one?</strong> <strong>Get Enrollment Status</strong> and <strong>Get Transaction Status</strong> return the order's current status, so you can reconcile.</li>\n</ul>\n","_postman_id":"d59eb42c-6e38-4440-8ec0-74b9e7dc310b"}],"event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Response time is acceptable\", function () {","    pm.expect(pm.response.responseTime).to.be.below(30000);","});"]}}],"variable":[{"key":"base_url","value":"https://app.psbi.com","type":"string","description":"PSBI API base URL."},{"key":"api_key","value":"your-api-key-here","type":"string","description":"Your API key from the PSBI implementation team."},{"key":"your_webhook_url","value":"https://your-app.example.com/psbi/webhooks","type":"string","description":"Your webhook endpoint (used by the Status Webhooks examples)."},{"key":"last_autopilot_external_id","value":"","type":"string","description":"Set by the enroll requests."},{"key":"last_consumer_id","value":"","type":"string","description":"Set by synchronous enroll requests; used by Transition by Consumer ID."},{"key":"last_transition_id","value":"","type":"string","description":"Set by the transition requests."},{"key":"last_gateway_external_id","value":"","type":"string","description":"Set by the Gateway create requests."},{"key":"consumer_id","value":"","type":"string","description":"A PSBI person id, for the Records requests."},{"key":"order_id","value":"","type":"string","description":"A PSBI order id (consumer_transaction_id), for the Records requests."},{"key":"report_id","value":"","type":"string","description":"A report id from a documents list."},{"key":"document_id","value":"","type":"string","description":"A document id from a documents list."}]}