Skip to main content
POST
Import customers from Persona Connect share tokens

Authorizations

x-api-key
string
header
required

Headers

x-idempotency-key
string<uuid>
required

Unique key (UUID) to ensure request idempotency on POST, PUT and PATCH requests.

A key is scoped to your client, the HTTP method and the path, and is remembered for 24 hours after a successful (below 400) response. Repeating the same request (same JSON body, whatever the key order or whitespace) with the same key within that window returns the original response with X-Idempotent-Replayed: true instead of executing the request again. Using the same key on the same endpoint with a different body returns 422 with problem type idempotency-key-reused; the request is not executed. Error responses (4xx and 5xx) are not remembered, so a request refused for a fixable reason can be corrected and retried under the same key. Request bodies that are not JSON (for example file uploads) are not compared.

Body

application/json
tokens
string[]
required

Persona Connect share tokens (cnst_...) to import. Up to 5,000 per request — split larger migrations into multiple batches (each returns its own job).

Required array length: 1 - 5000 elements

Response

Import job accepted and queued

job_id
string
status
string
total
integer

Number of tokens accepted into the job

accepted
integer
skipped_count
integer

Number of token strings that could not be queued

skipped
object[]

Token strings that could not be queued, with their index and reason (malformed, duplicate in batch, or already imported). This is about the token string only — never a compliance decision about a person or application.