Skip to main content
POST
Import a carrier number
For Telnyx, Thoughtly verifies the account’s webhook public key before saving it. If verification is unavailable, this request returns 503 without changing the carrier. Retry with the same idempotency key or contact support if the problem persists. See Bring your own carrier.

Authorizations

Authorization
string
header
required

Workspace API token from Settings → Developer.

Headers

Idempotency-Key
string

Reuse with an identical request for 24 hours. A replay returns the current resource state; after 24 hours the key can create a new resource.

Required string length: 1 - 255
Pattern: ^[!-~]+$

Body

application/json
provider
enum<string>
required
Available options:
twilio
phone_number
string
required
Pattern: ^\+[1-9]\d{7,14}$
Example:

"+14155550100"

account_sid
string
required
Pattern: ^AC[0-9a-fA-F]{32}$
auth_token
string
required
write-only

Response

Number imported.

id
string<uuid>
phone_number
string
provider
string
status
enum<string>
Available options:
pending,
ready,
failed,
requires_review
outbound_enabled
boolean
is_default
boolean
direct_call_supported
boolean

Whether this number supports direct API calls, including carrier, region, and Telnyx webhook-key readiness.

outbound_only
boolean

Whether this carrier number has its inbound voice webhook disabled in Thoughtly.