D Line API
REST and webhooks for calls, texts, voicemail and your workspace.
Quickstart
Create a key, call GET /v1/me and verify your first webhook in Node or Python.
API reference
Every endpoint, object and webhook event, generated from the OpenAPI 3.1 contract.
Errors
The error envelope and the full list of error codes, with what to do about each.
Changelog
What changed in the contract and when.
What the API covers
- Workspace: your numbers (with 10DLC state), users and extensions.
- Messages: send SMS/MMS, read history and conversations, upload media.
- Opt-outs: read and manage the workspace suppression list.
- Calls: call history with one clear outcome per call, recordings, transcripts and AI summaries.
- Voicemail: messages, transcripts and read state.
- Webhooks: signed events (Standard Webhooks), delivery logs, retries and replay.
Basics
- Base URL
https://api.d-line.app/v1, JSON over HTTPS. - Authenticate with
Authorization: Bearer dl_live_…. Test keys (dl_test_…) never reach carriers. - IDs are prefixed ULIDs (
call_01J9…); timestamps are UTC RFC 3339; numbers are E.164. - The contract is open: download openapi.yaml to generate a client.