Rent a phone number from the telephony inventory
Rents an available number returned by GET /product/get-available-numbers. Charges the organization the prorated amount returned by GET /product/proration-amount immediately, then the monthly rate on each billing cycle.
Always call GET /product/proration-amount first to surface the immediate charge to your customer. The endpoint may return 200 with a body containing requiresAction: true when payment requires customer interaction (3-D Secure, etc.) — handle that branch in your client.
Released later via POST /product/release-number.
Request body
Example request
{
"phoneNumber": "13183747513"
}Response
Rental processed. Inspect data.requiresAction to determine whether the customer needs to complete a payment-method action.
Example response
{
"status": true
}Changes
Changed in 2 of the 54 revisions of this API.3
- ○
added the new
customenum value to the request propertyrequest-property-enum-value-added
- ○
added the new
whatsappenum value to the request propertyrequest-property-enum-value-added
- ○
- ○
endpoint added
endpoint-added
- ○