Overview
Rewrite API v1 exposes public project endpoints for sending SMS, verifying OTPs, managing templates and webhooks, and reading request logs and webhook deliveries.Base URL
All public endpoints live under:Authentication
Public routes use your API key:Request conventions
- Use
Content-Type: application/jsonon non-GETrequests. - Public send and OTP flows accept either a direct E.164 number in
toor a saved project contact incontact. - Message creation uses
contentfor inline SMS bodies. - Template-backed sends use
templateIdplusvariables. - Message and template metadata are key/value objects, not arrays of pairs.
- Create/send routes support
Idempotency-Key.
Response conventions
Successful responses use theok / data envelope:
cursor.
Public event model
- Delivery lifecycle now includes
message.delivered. - Inbound traffic is represented by
message.received. - Webhook deliveries are documented under
Deliveries, includingGET /deliveriesandGET /webhooks/{id}/deliveries.