This tutorial walks you through sending your first SMS with the Wavix API.
Prerequisites
- A Wavix account. A sandbox account works.
- Your API key.
Find your sender number
When your sandbox becomes active, Wavix provisions a free phone number to your account. You’ll use it as the sender.
- Sign in to the Wavix portal.
- Go to Numbers & trunks.
- Copy the number listed under My numbers, in E.164 format.
Send the message
Send a If successful, the service returns the
POST request to the messages endpoint. Replace the API key, the sender number (from), and the destination (to).In the sandbox,
to must be your verified number. The platform rejects any other destination. For the full rules, see Sandbox.HTTP 201 Created status code and the message details, including a message_id and a status of accepted. Your verified number should receive the message shortly.Check delivery
Use the The
message_id from the response to check the delivery status:status field moves from accepted to sent to delivered. For what each status means, see Send SMS messages.You can also check delivery in the Wavix portal. In the top menu, select History → SMS history, then open the Outbound tab to see your sent messages and their status.Next steps
- Send to any recipient: Go live.
- Use MMS, tags, and other options: Send SMS messages.
- Receive and reply to messages: Receive SMS messages.