Skip to main content
POST
Add test phone number

Authorizations

Authorization
string
header
required

An API key (annie-sk-v2-...) or an OAuth access token, sent as Authorization: Bearer <token>.

Path Parameters

orgId
string<uuid>
required

Organization ID.

Body

Payload to add a number to the test phone number list

phoneNumber
string
required

Phone number with country code, in E.164 format (+1XXXXXXXXXX)

Maximum string length: 32
Example:

"+15559876543"

label
string

Optional note, such as who the number belongs to

Maximum string length: 100
Example:

"Dr. Patel demo"

Response

The test phone number that was added

success
enum<boolean>
required
Available options:
true
data
object
required

A destination allowed for test calls