Create a standalone identity verification
Creates a standalone CPF identity check and returns the link that must
be opened by the person being verified.
This route requires a **master M2M** (`client_credentials`) credential,
`X-Tenant-Id`, the `identity_verification.manage` scope and the
`identity_verification` feature enabled for the tenant. User sessions
and delegated child credentials are rejected.
`callbackUri` must be an **exact match** for a URI registered for the
tenant. Prefix matches, wildcards, case normalization and adding or
removing query parameters are not accepted.
The fixed quota is **10 successful creations per tenant per calendar
month in BRT**. Every `201` consumes one slot, including verifications
that later fail, expire or are never consumed; slots are never
refunded. A closed monthly quota returns HTTP `429` with
`identity_verification_monthly_limit_exceeded`. This is distinct from
the short-window `rate_limited` error, which also uses HTTP `429`.
Do not send `Idempotency-Key`: every POST deliberately opens a new
proof and a `201` always consumes one monthly quota slot.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
X-Tenant-Id
Tenant context used for authorization and routing.
Request
This endpoint expects an object.
document
CPF with exactly 11 digits and no punctuation.
purpose
Sensitive journey that this proof is allowed to authorize.
Allowed values:
referenceId
Caller-owned identifier for the journey being authorized. It must be repeated exactly when consuming.
callbackUri
Exact tenant-registered URI to which the browser returns after the identity journey.
displayMessage
Optional one-line plain text shown to the person. HTML, Markdown, links and controls are rejected. Maximum 240 characters.
ttlMinutes
Lifetime of the pending verification link, in minutes.
consumeTtlMinutes
Time after approval during which the result may be consumed, in minutes.
Response headers
X-RateLimit-Limit
Fixed monthly limit (10).
X-RateLimit-Remaining
Remaining successful creations in the current BRT calendar month.
X-RateLimit-Reset
Unix timestamp for the start of the next BRT calendar month.
Response
Verification created. This response consumes one monthly quota slot.
verificationId
Identifier used by all subsequent identity verification endpoints.
status
A new verification always starts as PENDING.
Allowed values:
verificationLink
Link to open for the person who owns the CPF.
expiresAt
RFC 3339 instant at which the pending link expires.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error