DG REACH API
Messaging primitives your team can ship with.
Create a message, retain your reference, and consume delivery events. The API follows familiar HTTP conventions and returns structured errors.
Authentication
Pass an API key as a Bearer token over HTTPS. Keys are scoped to your account and shown only once when created.
Authorization: Bearer dg_live_your_api_key
Send a message
Submit destinations in E.164 format. Use a stable reference from your system to correlate message events.
curl -X POST https://api.corvantatech.com/v1/messages \
-H "Authorization: Bearer $DG_REACH_KEY" \
-H "Content-Type: application/json" \
-d '{"to":"+14155550128","from":"DGReach","text":"Your code is 482091","reference":"auth_9812"}'Accepted response
202 Accepted
{
"id": "msg_01K1...",
"status": "accepted",
"segments": 1,
"reference": "auth_9812"
}Delivery events
Configure an HTTPS webhook to receive ordered status changes. A message may move through accepted, submitted, delivered, or failed.
- Verify webhook signatures before processing
- Return a 2xx response quickly
- Make event handling idempotent