/sendmessage

This API endpoint will allow you to send a custom SMS message via. the AXN API.


📘

What's Required:

  • A Bearer Token to authenticate your request: /token.
  • An APIKey: (any)

Required User Attributes:

  • A Message user attribute, this is not required to be added your AXN service via. AXN admin.
  • An InternationalTelephone user attribute, this is required to be added to your AXN service via. AXN admin.

Required Attribute Provider:

  • Telesign SMS Messaging Service. Please reach out to your Solutions Architect if you need help enabling.

Request body:

{
    "credential": "",
    "appID":"",
    "apikey": "", 
    "userAttributes": [
        {
            "attributeType": "Message",
            "values": {
                "message": "You've successfully sent a custom text message."
            }
        },
        {
            "attributeType": "InternationalTelephone",
            "values": {
                "dialCode": "1",
                "telephone": ""
            }
        }
    ]
}
Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!