Purchase phone number
POST /api/v1/phone/numbers/twilio/purchase
Authentication
AuthorizationBearer
Pass a JWT access token or an API key (prefixed with tif_live_) as a Bearer token.
Request
This endpoint expects an object.
phoneNumber
Phone number to purchase in E.164 format
providerId
ID of the provider to purchase through
friendlyName
Optional friendly name for the number
Response
Phone number purchased
accountId
Account that owns this phone number
billingStatus
Current billing status (active, processing, past_due, suspended)
canInitiateCalls
Whether this number can place outbound calls (WhatsApp numbers are receive-only)
capabilities
Supported capabilities (voice, SMS, MMS)
channelType
Routing channel of this number (pstn or whatsapp)
createdAt
Timestamp when the record was created
id
Unique identifier of the phone number
isVerified
Whether the phone number has been verified via caller ID validation
monthlyCost
Monthly recurring cost formatted as a decimal string
phoneNumber
Phone number in E.164 format
providerId
Provider through which this number was provisioned
providerPhoneId
Provider-specific phone number identifier (e.g. Twilio SID)
purchasedAt
Timestamp when the number was purchased
recordingOverride
Recording override setting for calls on this number
status
Current status of the phone number
twilioEdge
Twilio edge location for SIP signaling (e.g. ashburn, frankfurt)
twilioRegion
Twilio API region (us1 or ie1)
updatedAt
Timestamp when the record was last updated
connectedAt
Timestamp when a flow was connected to this number
connectedFlow
Connected flow information (populated when flow is connected)
friendlyName
User-assigned friendly name for the number
nextBillingDate
Next scheduled billing date for the monthly charge
releasedAt
Timestamp when the number was released, if applicable
verifiedAt
Timestamp when the number was verified
Errors
400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error