Skip to main content
POST
Bind a sign-in subject to a person

Authorizations

Authorization
string
header
required

A project key (Developers → API keys). Keep it on your server, not in an app.

Headers

traceparent
string

W3C Trace Context; joins your trace to ours

Idempotency-Key
string
required

A retry with the same key and body returns the first response

Required string length: 1 - 255

Body

application/json

Refused with validation_failed on param subject when already bound; the same subject under another issuer is allowed.

issuer_id
string
required

The trusted issuer the subject belongs to. Not archived.

Pattern: ^iss_[0-7][0-9a-hjkmnp-tv-z]{25}$
subject
string
required

The provider's own user id (the sub of its tokens), exactly as its dashboard shows it: 1 to 255 printable ASCII characters, no spaces. Write-only: sealed, never returned. The same subject under another issuer is a different identity.

Pattern: ^[!-~]{1,255}$
user
string
required

The existing person to bind it to. A person merged into someone else is refused: use the person they were merged into.

Pattern: ^usr_[0-7][0-9a-hjkmnp-tv-z]{25}$

Response

Bind a sign-in subject to a person

id
string
required

An issuer identity ID, starting with iid_.

Pattern: ^iid_[0-7][0-9a-hjkmnp-tv-z]{25}$
issuer_id
string
required

A trusted issuer ID, starting with iss_.

Pattern: ^iss_[0-7][0-9a-hjkmnp-tv-z]{25}$
person_id
string
required

The person the binding was made for. If they were merged into someone, a credential reaches the person kept, and unmerging them gives the binding back.

Pattern: ^usr_[0-7][0-9a-hjkmnp-tv-z]{25}$
origin
enum<string>
required

first_sight: created on the subject's first verified sign-in, as a new person in the issuer's namespace. mapping: bound by a person to an existing person.

Available options:
first_sight,
mapping
mapped_by
object | null
required

The member who made a mapping; null for first_sight.

created_at
string<date-time>
required

A moment in time: UTC, ISO 8601

last_used_at
string<date-time> | null
required

A moment in time: UTC, ISO 8601