Tonedocs
API referencetransfer-destinations

Send the verification code

Tone sends a six-digit code, valid for 15 minutes, to the destination's number: on WhatsApp (the default for a mobile number) or by a call that speaks it ("channel": "call", and the only way for a landline). Send it to POST /v1/transfer-destinations/{id}/confirm. verification.channels says which this number can use, default first. Only a pending destination can be verified (409 conflict otherwise). Limits, for WhatsApp and calls together: one a minute and three a day per destination, twenty a day per workspace (429 rate_limited). Needs a live key or the dashboard (422 environment_mismatch for a test key), because it reaches a real phone.

Requires the admin scope. A key with less gets 403 insufficient_scope.

POST
/v1/transfer-destinations/{id}/verify
AuthorizationBearer <token>

Authorization: Bearer tone_live_… or tone_test_…. The prefix IS the environment: a test key reaches only the sandbox, and no request field bridges the two.

In: header

Path Parameters

id*string

The transfer destination's id.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/transfer-destinations/string/verify" \  -H "Content-Type: application/json" \  -d '{    "channel": "whatsapp"  }'
{  "data": {    "createdAt": "2026-10-13T09:20:00.000Z",    "e164": "+919876543210",    "hours": [      {        "days": "mon-sat",        "from": "09:30",        "to": "19:00"      }    ],    "id": "7d1f5c9e-2b3a-4c8d-9e0f-1a2b3c4d5e6f",    "key": "delivery_team",    "label": "Delivery team",    "language": "hi-IN",    "status": "verified",    "updatedAt": "2026-10-13T09:30:00.000Z",    "verification": {      "attemptsLeft": 5,      "callsLeftToday": 2,      "channel": "whatsapp",      "channels": [        "whatsapp",        "call"      ],      "codeExpiresAt": "2026-10-13T09:43:10.000Z",      "delivery": "delivered",      "lastCallAt": "2026-10-13T09:28:10.000Z"    },    "verifiedAt": "2026-10-13T09:30:00.000Z"  }}
Was this page helpful?