create otp request

Start a verification. Returns a keyword and a link that opens a pre-filled message to the instance's number; the end user sends it and receives the code. Without identity the request registers a new account (mode register); with an identity returned earlier it checks that the same account answers (mode check). The request is valid for 10 minutes. Needs the update ability.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

Instance ID

Body Params
string | null

An identity returned by a previous verification. Present: check mode. Absent: register mode. A pseudonym, not a secret; format v1_ plus 52 characters of A-Z and 2-7.

string | null
enum

Language of the built-in texts: the reply that carries the code and the not-linked hint. Default en. A text the instance has replaced is sent as written.

Allowed:
string | null

Your product name. Shown in front of the code in the built-in reply; in an instance's own reply text it fills {app_name}. Letters, digits, spaces and . , & ' - only.

Responses

401

Unauthorized — invalid or missing bearer token

403

Forbidden — insufficient permissions or account blocked

404

Not found — instance or verification request does not exist or does not belong to you

otp_disabled: verification is switched off for this instance

invalid_identity (flat error) when identity is not a value returned by this API; the usual validation envelope for locale and app_name.

rate_limited: the instance or customer budget is spent. Retry after the Retry-After header (seconds).

instance_not_ready: the instance is offline, restarting or cannot run verification right now

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json