Getting started
Draft
This page is the draft of the v1 API contract (DESIGN.md §6), tested on SANDBOX first. Shapes may change before go-live.
SMS Gateway is the central link to SMS providers (TRUE and SANDBOX). Clients send through one API and receive delivery reports (DR) and inbound messages (MO) by webhook.
Steps
- Get an API key (
keyId+secret) from the administrator (admin → Clients → API keys) and register the IPs you call from - Sign every request as in Signature
- Send with
POST /v1/messages - Set a webhook URL and receive webhooks on status changes, or poll
GET /v1/messages/{messageId} - Test every case on SANDBOX with Test on SANDBOX step by step
Base URL
| Environment | URL |
|---|---|
| dev (developer machine) | http://localhost:30080 |
| production | not set yet |
Every request and response is JSON (Content-Type: application/json); times are RFC 3339.