Skip to main content
POST
Create a verification session

Authorizations

Authorization
string
header
required

Dock API key. Send Authorization: Bearer <api key>.

Headers

Idempotency-Key
string

Optional retry key, up to 256 characters. Reuse the same key and unchanged JSON payload after an ambiguous result. A changed payload returns 409 IDEMPOTENCY_CONFLICT; an in-progress operation returns 503 IDEMPOTENCY_IN_PROGRESS with Retry-After: 2.

Maximum string length: 256

Body

application/json
pid
string
required
Example:

"PID-AB12CD34"

clientId
string
required

Developer-defined identifier for the user or flow you are verifying.

guildId
string | null

Response

Verification session created or existing pending session reused.

status
integer
required
Example:

200

data
object
required

Endpoint-specific response payload.

meta
object
required
timestamp
string<date-time>
required