Migrating from Pindrop
If your platform already integrates directly with Pindrop Passport, you can move it to Confirm without rewriting it. Confirm serves a Pindrop-compatible API: the same paths, query parameters, request bodies, response bodies and error shapes as Pindrop Passport 1.2.1.12, for the Passport endpoints listed below.
What you change
Only two things:
- Base URL. Replace
https://api2.pindrop.iowithhttps://api.getconfirmed.org/external/pindrop. Every path after it stays the same:/v1/authenticatebecomeshttps://api.getconfirmed.org/external/pindrop/v1/authenticate. - Credentials. Send a Confirm reseller token as the Bearer token instead of a Pindrop OAuth token, and add an
InstitutionKeyheader to every request.
Response bodies are Pindrop's. They are not wrapped in Confirm's usual { "success": …, "error": … } envelope.
Voiceprints do not move. Voices enrolled in your own Pindrop tenant stay there. Enrollment starts fresh on Confirm's tenant: callers are enrolled again as you send SUCCESSFUL feedback for them.
Getting a token
Request a token with your service-account credentials, exactly as described in Getting Started. The token in the response is your Bearer token.
curl -X POST https://api.getconfirmed.org/external/token/request \
-H "accessToken: <your-onboarding-access-token>" \
-H "Content-Type: application/json" \
-d '{ "email": "svc@your-reseller.com", "password": "••••••••" }'
→ { "success": true, "token": "8f1c0e2a-7b34-4a5d-9c2e-1f6b9a0d4e77", … }
The token stays valid for 30 minutes after its last use. When it expires, requests return Pindrop's 401 body and you request a new one, as you would refresh a Pindrop OAuth token.
Request headers
| Header | Required | Meaning |
|---|---|---|
Authorization | Yes | Bearer <token>, the token from /external/token/request. |
InstitutionKey | Yes | The child institution the request is for. One reseller token covers several institutions, so Confirm needs to know which one on every request. |
RequestedBy | No | Who is making the request, for Confirm's records. Defaults to pindrop-compat. |
curl -X POST "https://api.getconfirmed.org/external/pindrop/v1/authenticate?interaction_id=5bf4d9cc-f6e0-4961-8f23-8479b34fb5d7&account_alias=00123" \
-H "Authorization: Bearer 8f1c0e2a-7b34-4a5d-9c2e-1f6b9a0d4e77" \
-H "InstitutionKey: acme-cu"
→ { "data": { "account_alias": "00123", "authentication_reasons": ["Green Voice Match"],
"authentication_result": true, "authentication_score": 0.99374604,
"request_id": "89ea3d58-e576-40f8-b610-e9ee321c2d84" } }
Supported endpoints
Confirm mirrors the Passport endpoints below. Paths are relative to https://api.getconfirmed.org/external/pindrop.
| Pindrop endpoint | Supported | What Confirm also does |
|---|---|---|
GET /v2/interaction/{interaction_id}/caller_id_validation | Yes | Nothing else. |
POST /v1/authenticate?interaction_id=…&account_alias=… | Yes (interaction ID mode) | Attaches the call to the person and records the result, as the Confirm dashboard does. |
POST /v1/account_interactions/feedback | Yes | SUCCESSFUL records a verification, like /external/calls/{voiceId}/enroll. FAILED rejects the voice, like /external/calls/{voiceId}/reject-voice. UNKNOWN is only passed to Pindrop. auth_method and voice_removal are passed through. |
POST /v1/account/removal/list | Yes | Records each account as opted out of voice. |
DELETE /v1/account/removal/list | Yes | Records each account as opted back in to voice. |
POST /v1/authenticate?filter=… (call correlation) | No | Returns 400. Use interaction_id. |
| All other Passport endpoints (correlation_id, call state and transfer, correlate account, list_type, fraud feedback, nightly reports, custom attributes, v1 caller ID validation, GET/PUT removal list) | No | Returns 404 with "detail": "endpoint not supported by Confirm". |
interaction_id is the call's Pindrop interaction ID, the same value as Confirm's voiceId. An alternate ID that Pindrop sent for the call also works. A call that does not belong to the InstitutionKey you sent returns 404.
Account aliases are Confirm person IDs
Send the member's Confirm person ID as account_alias: the same personId you use with the rest of the Reseller API. Confirm keeps each institution's accounts apart on its Pindrop tenant, so you never add an institution prefix yourself, and every alias you get back (in responses and in error details) is the person ID you sent.
Without an account_alias, /v1/authenticate behaves like Pindrop with no identity claim: the call is scored, account_alias comes back as "", and nothing is recorded against a person.
Errors
Errors use Pindrop's body:
{ "errors": [ { "id": "fc9a81dc-40d3-9290-b046-c66d09c27777", "status": "404", "code": "", "detail": "interaction not found" } ] }
| Status | When |
|---|---|
400 | A required field is missing or invalid, call correlation mode was used, or Pindrop refused the request (for example "account already exists: 00123"). |
401 | The Bearer token is missing, invalid or expired. The body has Pindrop's "title": "Token verification failed" form. |
403 | InstitutionKey is missing, or is not one of your institutions. |
404 | The interaction is not one of this institution's calls, or the endpoint is not supported. |
500 | Confirm could not complete the request. Retry later. |
Behaviour differences to know about
- Authenticate can decline. Confirm stops asking Pindrop about a call once it is settled: after the call has ended, after the caller was already fully authenticated or rejected, after a red policy, or when the call was already evaluated for a different person.
/v1/authenticatethen returns 400"authentication is not available for this interaction". Poll the result you already have rather than authenticating again. - One person per call. The first
account_aliasyou send for a call (on authenticate, or onSUCCESSFUL/FAILEDfeedback) attaches the call to that person. Authenticate or feedback naming anyone else then returns 400"account_alias does not match the account on this interaction". - No-claim authenticate (no
account_alias) only works before the call is attached to a person. Once it is, send the alias. - Limits. Removal-list requests need at least one non-empty list, hold at most 100 accounts per list, and every alias must be non-empty and at most 128 characters.
- Retries. A
500or a relayed429can be retried; it does not block later requests for the call.