Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The Telnyx-assigned agent identifier.

Body

application/json
phone_number
string
required
Maximum string length: 16
Pattern: ^\+[1-9][0-9]{1,14}$

Response

The test device was added or already existed.

test_device_id
string<uuid>
required
phone_number
string
required
invite_status
enum<string>
required
Available options:
PENDING,
ACCEPTED,
DECLINED