Skip to main content
Dugble provides one API for sending application-to-person SMS messages. Each send validates the destination and sender ID, calculates the message segment count, and queues delivery atomically.

Before you send

You need:
  • A Dugble team and a team token with the sms:send permission
  • 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

A successful request returns 202 Accepted:
Store the Dugble message ID with your application record so you can retrieve the latest delivery state later.

Recipient and content rules

  • to must be a supported E.164 number such as +233201234567.
  • from must match an approved sender ID and can be at most 11 characters.
  • body is required and can contain up to 1,600 Unicode characters.
  • metadata is 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 resulting segments value. Longer messages may use multiple billable segments even though they are submitted through one API request.

List and filter messages

Use GET /sms to retrieve message history. The endpoint supports limit and offset, plus filters that can be combined:

Track a message

The 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.