Skip to main content

Worked request and response samples

Copy a request body as written, substitute your own ids, and compare the response envelope. Errors follow Devotel Orbit’s { error, meta } envelope, shown once below under Error envelope.

Send a verification code

POST /api/v1/verify/send
Pick the channel you deliver the code on, and hold onto the returned verification_id for the check call. Request

Check a code

POST /api/v1/verify/check
Send the verification_id from the send call and the code the user typed. Request

Error envelope

An expired or wrong code returns 422 with VALIDATION_ERROR; repeated wrong codes are rate-limited.
422