Onboarding

Verify an agent account with its OTP

Activate an account created by `sign_up` by submitting the 6-digit code emailed to its `human_email`. On success the account is lifted off the restricted new-account limits to its full plan. The code expires 10 minutes after it is issued and allows 5 attempts. A wrong or expired code fails verification; obtain a fresh code by calling `sign_up` again with the same `human_email`. Unauthenticated — the account is verified by possession of the code, not by an API key.

POST
/verify

Activate an account created by sign_up by submitting the 6-digit code emailed to its human_email. On success the account is lifted off the restricted new-account limits to its full plan.

The code expires 10 minutes after it is issued and allows 5 attempts. A wrong or expired code fails verification; obtain a fresh code by calling sign_up again with the same human_email.

Unauthenticated — the account is verified by possession of the code, not by an API key.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

The one-time code from the signup verification email.

Response Body

application/json

application/json

curl -X POST "https://example.com/verify" \  -H "Content-Type: application/json" \  -d '{    "otp_code": "string"  }'
{  "verified": true}
{  "name": "validation",  "errors": {    "property1": "string",    "property2": "string"  }}