For the complete documentation index, see llms.txt. This page is also available as Markdown.

Alphanumeric Senders

Overview

Alphanumeric originators are combinations of letters (alphabets) and numbers (digits) for sending SMS messages to mobile phones. Alphanumerics work one way and are the most common form of originator worldwide except for the USA and Canada.

Alphanumeric originators do not have a country of origin and have to be registered in destination countries individually. Some countries may require additional registration processes to ensure the alphanumeric sender ID meets local compliance requirements.

Originator Restrictions

  • If you use a company or brand name as the originator, the number of characters needs to be between 3 and 11.

API Access

The following API requests can only be made using a valid access key, and attached to an access role, with an access policy that at least specifies the permissions to the resources outlined in each section below. Learn more about API access.

List Alphanumeric Senders

In order to retrieve all alpha numbers available in your workspace you can use this request.

List Workspace Alpha Numbers

get

List alpha numbers for the given workspace. This endpoint supports pagination. To learn more about pagination, refer to API Access Common Usage Page.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token

Path parameters
workspaceIdstring · uuidRequired

The unique identifier of the workspace.

Query parameters
limitinteger · max: 100Optional

Limits the number of results to return.

Default: 25
pageTokenstringOptional

The cursor that keeps track of the current position in the results.

reversebooleanOptional

Reverses the order in which the results are returned.

Default: false
Responses
200

OK

application/json
nextPageTokenstringOptional

The token that can be passed as pageToken in URL to retrieve the next set of results. If missing, no more results to display. To know more, refer to the pagination section.

get/workspaces/{workspaceId}/numbers-alpha

Get an Alphanumeric Sender

In order to retrieve an alpha number available in your workspace you can use this request.

Get Workspace Alpha Number

get

Get a specific alpha number for a given workspace by id.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token

Path parameters
workspaceIdstring · uuidRequired

The unique identifier of the workspace.

alphaNumberIdstringRequired
Responses
200

OK

application/json

A representation of an alpha number. It contains details such as the endpoint it is associated with and more.

idstring · uuidRequired

The unique identifier of the alpha number.

endpointIdstring · uuidRequired

The unique identifier of the endpoint that the alpha number is associated with.

alphaStringstringRequired

The alpha string of the alpha number. This is usually the phone number in string format following the international format.

Example: +05060
createdAtstring · date-timeRequired
updatedAtstring · date-timeRequired
get/workspaces/{workspaceId}/numbers-alpha/{alphaNumberId}

Add country destination to an Alphanumeric Sender

Activate Workspace Endpoint Destinations

post
Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token

Path parameters
endpointIdstringRequired

Your endpoint ID. In some cases (e.g. Long Code Numbers) this value is equal to the number ID.

workspaceIdstring · uuidRequired

The unique identifier of the workspace.

Query parameters
validatebooleanOptional

When set, only validates the request payload without mutating any data.

Body
capabilitystring · enumRequiredPossible values:
countryCodesstring · iso3166-1[] · min: 1 · max: 100Required
Responses
200

Validation Response

application/json
post/workspaces/{workspaceId}/endpoints/{endpointId}/destinations/activate

Cancel country destination from an Alphanumeric Sender

Cancel Workspace Endpoint Subscription

post

Use this endpoint to deactivate a subscription. That will stop charges and messages from being sent.

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token

Path parameters
workspaceIdstring · uuidRequired

The unique identifier of the workspace.

endpointIdstringRequired

Your endpoint ID. In some cases (e.g. Long Code Numbers) this value is equal to the number ID.

subscriptionNamestringRequired

Your number subscription name. For long code numbers, the subscription name is 'main'. For short code and alpha numbers, the subscription name is the same as the country code of the destination which you want to subscribe to.

Example: main
Responses
200

OK

application/json
namestringRequired

The name of the subscription. For long codes, this value will be main. For alpha and short code numbers, this value will be the destination country code.

statusstring · enumRequired

The status of the endpoint subscription. It can be active or inactive.

Possible values:
post/workspaces/{workspaceId}/endpoints/{endpointId}/subscriptions/{subscriptionName}/cancel

Remove country destination from an Alphanumeric Sender

Deactivate Workspace Endpoint Destinations

post
Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token

Path parameters
workspaceIdstring · uuidRequired

The unique identifier of the workspace.

endpointIdstringRequired

Your endpoint ID. In some cases (e.g. Long Code Numbers) this value is equal to the number ID.

Body
capabilitystring · enumRequiredPossible values:
countryCodesstring · iso3166-1[] · min: 1 · max: 25Required
Responses
200

OK

application/json
post/workspaces/{workspaceId}/endpoints/{endpointId}/destinations/deactivate

Last updated

Was this helpful?