Before you send
You need:- A Dugble team and a team token with the
sms:sendpermission - An approved sender ID for the destination country
- A supported recipient number in E.164 format
- A non-empty message body
Keep team tokens on your server. Never expose them in browser or mobile application code.
Send an SMS
202 Accepted:
Recipient and content rules
tomust be a supported E.164 number such as+233201234567.frommust match an approved sender ID and can be at most 11 characters.bodyis required and can contain up to 1,600 Unicode characters.metadatais optional and must be valid JSON.
Message segments
Dugble determines whether the message uses GSM-7 or UCS-2 encoding and calculates the number of SMS segments required. The retrieve response includes the resultingsegments value.
Longer messages may use multiple billable segments even though they are submitted through one API request.
List and filter messages
UseGET /sms to retrieve message history. The endpoint supports limit and offset, plus filters that can be combined:
Track a message
last_event field contains the latest normalized delivery state.
Sending SMS
Learn the request fields and recommended sending workflow.
Sender IDs
Understand sender approval and country-specific identity.
Schedule SMS
Send later, reschedule, or cancel a scheduled SMS.
Delivery status
Interpret normalized delivery states and failures.
SMS analytics
Review delivery rates and country-level performance.