Purchase a phone number for a specific account.Documentation Index
Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt
Use this file to discover all available pages before exploring further.
Autorizacion
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version de la API.
Path parameters
The unique identifier of the account
Body
The phone number to purchase
ISO 3166-1 alpha-2 country code of the number
Type of phone number Posibles valores: ‘local’, ‘tollFree’, ‘mobile’
Twilio address SID for compliance
Twilio bundle SID for regulatory compliance
Locality where the number is being purchased
Region where the number is being purchased
Unique request ID for idempotency (fingerprint of the purchase request)
Skip account-level KYC verification if agency-level compliance has already been verified
Respuestas
201 - Phone number successfully purchased. Returns the updated Twilio account state for the account.
201 - Phone number successfully purchased. Returns the updated Twilio account state for the account.
Unique identifier of the Twilio account record
Twilio Account SID
Whether this account is under a GHL-managed Twilio account
Whether SMS validation is enabled
The account ID this Twilio account belongs to
Current migration status of the account
List of numbers being migrated
Map of phone numbers to assigned user IDs
Map of phone numbers to their service type (e.g. ‘conversation’)
Map of phone numbers to their friendly names
New account SID if the account has been migrated to new credentials
400 - Bad request - Invalid parameters or number unavailable
400 - Bad request - Invalid parameters or number unavailable
401 - Unauthorized
401 - Unauthorized
500 - Internal server error - An unexpected error occurred while purchasing the phone number
500 - Internal server error - An unexpected error occurred while purchasing the phone number

