API reference
Account & Utility
6 endpoints. Add your API key in the authentication panel to send test requests from this page.
List applications
/api/external/v1/applicationsReturns a paginated list of all workspace applications owned by the user. Applications represent the business context (e.g. ACME Dental) and contain data stores.
Parameters
pageinteger (int32)queryPage number (0-indexed)
sizeinteger (int32)queryItems per page (max 100)
Responses
200Paginated list of applications401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
Get wallet balance
/api/external/v1/balanceReturns the current wallet balance, free minutes, and pricing information for the user. Useful for monitoring credit status to ensure uninterrupted service.
Responses
200Current balance details401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
List phone numbers
/api/external/v1/phone-numbersReturns a list of all phone numbers assigned to the user associated with the API key. Includes status, provider information, and current active call counts.
Responses
200List of phone numbers401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
Provision a phone number
/api/external/v1/phone-numbersProvision a new phone number using Twilio, Telnyx, Vonage or BYO provider.
Request body application/json
providerstringnumbersstringlabelstringpoolLabelstringpurposestringvoiceAiProviderstringpoolManagedbooleanpoolPhoneNumberIdstring (uuid)sipTrunkCredentialIdstring (uuid)sipServerstringsipPortinteger (int32)sipUsernamestringsipPasswordstringsipRegistrationbooleanregistrationDomainstringregistrationUsernamestringregistrationRealmstringusePublicIpInContactbooleanoutboundLeadingPlusbooleancallerIdLeadingPlusbooleanoutboundSipServerstringoutboundSipPortinteger (int32)outboundSipUsernamestringoutboundSipPasswordstringuseUsernameAsCallerIdbooleanuseOutboundUsernameAsCallerIdbooleansipRoutingProviderstringsipSoftphoneEnabledbooleanallowNonE164booleantwilioAccountSidstringtwilioAuthTokenstringtwilioVoiceApiKeySidstringtwilioVoiceApiKeySecretstringtwilioVoiceAppSidstringsmsEnabledbooleanwhatsappEnabledbooleanwhatsappProviderstringwhatsappFlowIdstring (uuid)whatsappMetaPhoneNumberIdstringwhatsappMetaAccessTokenstringwhatsappMetaVerifyTokenstringwhatsappMetaAppSecretstringtelnyxApiKeystringvonageApiKeystringvonageApiSecretstringexternalServerUrlstringexternalServerSecretHeaderstringexternalServerSecretValuestring
Responses
200Provisioned phone number401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
Update a phone number
/api/external/v1/phone-numbers/{id}Updates the configuration of an existing phone number.
Parameters
idstring (uuid)pathRequired
Request body application/json
labelstringpoolLabelstringpurposestringvoiceAiProviderstringsipServerstringsipPortinteger (int32)sipUsernamestringsipPasswordstringsipSoftphoneEnabledbooleantwilioAccountSidstringtwilioAuthTokenstringtwilioVoiceApiKeySidstringtwilioVoiceApiKeySecretstringtwilioVoiceAppSidstringsmsEnabledbooleansmsAutoReplyModestringsmsAutoReplyWindowStartstringsmsAutoReplyWindowEndstringwhatsappEnabledbooleanwhatsappProviderstringdisconnectWhatsappbooleanwhatsappFlowIdstring (uuid)whatsappMetaPhoneNumberIdstringwhatsappMetaAccessTokenstringwhatsappMetaVerifyTokenstringwhatsappMetaAppSecretstringwhatsappAutoReplyModestringwhatsappAutoReplyWindowStartstringwhatsappAutoReplyWindowEndstringtelnyxApiKeystringvonageApiKeystringvonageApiSecretstringassignedAgentIdstring (uuid)unassignAgentbooleanassignedOutboundAgentIdsarray of string (uuid)clearOutboundAgentsbooleaninboundBehaviorstringforwardNumberstringringAgentsConfigRingAgentsConfigoverrideConcurrencyLimitsbooleanmaxOutboundinteger (int32)maxInboundinteger (int32)releasePoolAssignmentbooleanexternalServerUrlstringexternalServerSecretHeaderstringexternalServerSecretValuestringclearExternalServerSecretboolean
Responses
200Updated phone number details401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
Release/Delete a phone number
/api/external/v1/phone-numbers/{id}Releases or deletes an existing phone number.
Parameters
idstring (uuid)pathRequired
Responses
200Phone number successfully released401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found