Prerequisites
- Before you can use the Wavix Messaging API, you need to create a Wavix account.
- You also need to create or get your API key.
Sender ID registration
A sender ID is the message sender detail that recipients see on their devices. Sender IDs can be numeric or alphanumeric, presenting a brand or service name. Before you send an SMS message, register a numeric or alphanumeric sender ID on the Wavix platform. Alphanumeric sender ID:- Must be between 3 and 11 characters long.
- Can contain uppercase and lowercase ASCII letters, digits, hyphen (-), plus (+), underscore (_), ampersand (&), and space.
- Should not contain only digits.
- Must be an SMS-enabled DID on your account.
- Third-party numbers and DIDs that do not support inbound SMS cannot be used as a sender ID.
Register a sender ID using the app
1
Access Sender ID registration
- Sign in to your Wavix account.
- In the top menu, select SMS → Sender IDs.
- Select Create new.
2
Select Sender ID type
- Select Alphanumeric to use a brand or service name as your sender ID.
- Select Numeric to use a phone number as your sender ID.
Then select Next.
3
Select destination countries
Select your destination countries. Sender ID regulation varies by country and sender ID type; some destinations may be unavailable. Then select Next.

4
Select use case
Select your use case for messaging. Options include Promotional, Transactional, or Authentication. Enter your sender ID name, estimate your monthly message volume, and provide sample messages you plan to send.
Then select Next.

5
Summary and confirmation
Review the sender ID, type, and destination countries. Your sender ID will be automatically allow-listed for countries where no additional paperwork is required. Countries that require manual registration will be highlighted.
Select Confirm.
You can immediately start sending messages to countries that do not require manual sender ID registration.
Register a sender ID using the API
Sender ID regulations vary by country. You can register a sender ID using the API only in countries where it can be provisioned in self-service mode. To check if a numeric or alphanumeric sender ID can be registered in self-service mode for a particular country, use:country_code
: 2-letter ISO code of the countrysender_type
: Sender ID type, can be either numeric or alphanumeric
HTTP 200 OK
status code. The response body indicates if a numeric or an alphanumeric sender ID can be registered in self-service mode in the country.
self_service
attribute value is true
, the sender ID can be registered using this API. Otherwise, the sender ID needs to be created using the app and go through the review or registration procedure.
To register a new sender ID, use the following method:
sender_id
: the name of the sender IDcountries
: an array of countries the sender ID needs to be registered intype
: sender ID type
HTTP 200 OK
status code. The response body contains the sender ID details.
id
: system-generated unique ID of the sender IDallowlisted_in
: an array of countries the sender ID is automatically provisionedsender_id
: name of the sender IDtype
: sender ID type
Get a list of sender IDs on the account
To get a list of sender IDs, use the following method. This method does not require any parameters.id
: unique ID of the sender IDallowlisted_in
: an array of countries the sender ID is automatically provisionedsender_id
: the name of the sender IDtype
: sender ID type
Delete a sender ID
To delete a sender ID, use the following method:id
: unique ID of the sender ID
HTTP 204 No Content
status code without the response body.
Send a message
To send an SMS or MMS message, use the following method:from
: the sender ID to be used to send an SMS, must be a registered sender ID on your account.to
: a subscriber to send the message to, must be a properly formatted phone number in E.164 format.message_body.text
: the text of the SMS message to be sent.message_body.media
: an array of URLs to media files to be included in the message attachments. In case the parameter is specified and its value is different fromnull
, the message will be sent as MMS. The URLs must point to publicly available resources.
HTTP 201 Created
status code. The response body contains the sent message details.
Response example:
Get message details
To get the message details, including delivery status, use the following method:message_id
: the unique identifier of the message on the Wavix platform for which the details are requested.
HTTP 200 OK
status code. The response body contains the message details.
Response example:
Unsubscribe a recipient
If you need to unsubscribe a recipient from receiving SMS or MMS messages, use the following method:sender_id
: sender ID of which the phone number will be opted out. If not specified, the phone number will be opted out of all SMS messages.phone_number
: the phone number to be opted out
HTTP 204 No Content
status code.