DialerDay Docs

Texts

SMS conversations; send texts as a team member or a named sender (e.g. your AI), shown only inside the app

Send a text

post/v1/messages
Permission messages:write

Sends an SMS through your Twilio numbers with the same rules as the app: numbers that replied STOP, the do-not-call list, SMS do-not-disturb and quiet hours are refused with 409 (quiet_hours for the last).

sent_as decides who the text shows as sent by in your inbox: a team member, or a name like "AI Assistant". It is internal: the person texted only sees your number.

Needs Texting & shared inbox in your plan.

Permission: messages:write

Headers

Idempotency-Key
string
Retry safely: the first response is replayed for 24 hoursmax 200 chars

Request body

to
string
The number to text (any format). Or give conversation_id / contact_id.max 30 chars
contact_id
integer
Text this contact’s main number
conversation_id
integer
Reply in this conversation (from its own number)
from
string
One of your numbers with texting on (GET /v1/messages/senders). Default: the number last used with this contact, else your defaultmax 30 chars
bodyrequired
string
1–1600 chars
sent_as
object
Who the text is shown as sent by, inside the app only. The person texted only sees your number. Default: the API key’s name.
agent_id
integer
Show the text as sent by this team member
name
string
…or by this name, e.g. "AI Assistant"1–60 chars

Responses

  • 201OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/v1/messages \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "to": "+15551234567",
  "body": "Hi Jane, thanks for your time today!",
  "sent_as": {
    "name": "AI Assistant"
  }
}'
Response · 201
{
  "conversation_id": 9,
  "message": {
    "id": 56,
    "conversation_id": 9,
    "direction": "outbound",
    "body": "Thanks Jane, talk tomorrow!",
    "media": [],
    "status": "queued",
    "error_code": null,
    "agent_id": null,
    "sender_label": "AI Assistant",
    "api_key_id": 4,
    "created_at": "2026-10-07T15:30:00Z"
  }
}

Numbers you can text from

get/v1/messages/senders
Permission messages:read

Needs Texting & shared inbox in your plan.

Permission: messages:read

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/messages/senders \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"
Response · 200
{
  "items": [
    "+14155550100"
  ]
}

List conversations

get/v1/conversations
Permission messages:read

Newest first. One conversation per contact number and your number.

Needs Texting & shared inbox in your plan.

Permission: messages:read

Query parameters

filter
"open" | "unread" | "archived"
default "open"
search
string
Name, number or message textmax 100 chars
limit
integer
1–100 · default 50
offset
integer
default 0

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/conversations \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"
Response · 200
{
  "items": [
    {
      "id": 9,
      "contact_phone": "+15551234567",
      "our_number": "+14155550100",
      "contact_id": 42,
      "contact_name": "Jane Doe",
      "last_message_at": "2026-10-07T15:30:00Z",
      "last_preview": "Thanks Jane, talk tomorrow!",
      "last_direction": "outbound",
      "unread_count": 0,
      "opted_out_at": null,
      "archived_at": null
    }
  ],
  "total": 1
}

A conversation and its messages

get/v1/conversations/{id}
Permission messages:read

The newest 50 messages, oldest first. Page back with before = the oldest message id you have.

Needs Texting & shared inbox in your plan.

Permission: messages:read

Path parameters

idrequired
integer
≥ 1

Query parameters

before
integer

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/conversations/42 \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"
Response · 200
{
  "conversation": {
    "id": 9,
    "contact_phone": "+15551234567",
    "our_number": "+14155550100",
    "contact_id": 42,
    "contact_name": "Jane Doe",
    "last_message_at": "2026-10-07T15:30:00Z",
    "last_preview": "Thanks Jane, talk tomorrow!",
    "last_direction": "outbound",
    "unread_count": 0,
    "opted_out_at": null,
    "archived_at": null
  },
  "messages": [
    {
      "id": 56,
      "conversation_id": 9,
      "direction": "outbound",
      "body": "Thanks Jane, talk tomorrow!",
      "media": [],
      "status": "queued",
      "error_code": null,
      "agent_id": null,
      "sender_label": "AI Assistant",
      "api_key_id": 4,
      "created_at": "2026-10-07T15:30:00Z"
    }
  ]
}

Mark a conversation read

post/v1/conversations/{id}/read
Permission messages:write

Needs Texting & shared inbox in your plan.

Permission: messages:write

Path parameters

idrequired
integer
≥ 1

Headers

Idempotency-Key
string
Retry safely: the first response is replayed for 24 hoursmax 200 chars

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/v1/conversations/42/read \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"

Archive or unarchive a conversation

post/v1/conversations/{id}/archive
Permission messages:write

Needs Texting & shared inbox in your plan.

Permission: messages:write

Path parameters

idrequired
integer
≥ 1

Headers

Idempotency-Key
string
Retry safely: the first response is replayed for 24 hoursmax 200 chars

Request body

archived
boolean
default true

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/v1/conversations/42/archive \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "archived": true
}'

Every text with a contact

get/v1/contacts/{id}/messages
Permission messages:read

Across all your numbers, newest 50, oldest first. Page back with before.

Needs Texting & shared inbox in your plan.

Permission: messages:read

Path parameters

idrequired
integer
≥ 1

Query parameters

before
integer

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/contacts/42/messages \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"
Response · 200
{
  "items": [
    {
      "id": 56,
      "conversation_id": 9,
      "direction": "outbound",
      "body": "Thanks Jane, talk tomorrow!",
      "media": [],
      "status": "queued",
      "error_code": null,
      "agent_id": null,
      "sender_label": "AI Assistant",
      "api_key_id": 4,
      "created_at": "2026-10-07T15:30:00Z"
    }
  ]
}

Download an MMS attachment

get/v1/messages/{id}/media/{n}
Permission messages:read

n is the attachment’s position in the message’s media list, from 0.

Needs Texting & shared inbox in your plan.

Permission: messages:read

Path parameters

idrequired
integer
≥ 1
nrequired
string

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/messages/42/media/{n} \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"

List saved replies

get/v1/sms-templates
Permission messages:read

Needs Texting & shared inbox in your plan.

Permission: messages:read

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl https://api.dialerday.com/v1/sms-templates \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"

Create a saved reply

post/v1/sms-templates
Permission messages:write

Needs Texting & shared inbox in your plan.

Permission: messages:write

Headers

Idempotency-Key
string
Retry safely: the first response is replayed for 24 hoursmax 200 chars

Request body

namerequired
string
1–100 chars
bodyrequired
string
1–1600 chars

Responses

  • 201OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X POST https://api.dialerday.com/v1/sms-templates \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Jane",
  "body": "string"
}'

Update a saved reply

put/v1/sms-templates/{id}
Permission messages:write

Needs Texting & shared inbox in your plan.

Permission: messages:write

Path parameters

idrequired
integer
≥ 1

Request body

namerequired
string
1–100 chars
bodyrequired
string
1–1600 chars

Responses

  • 200OK
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X PUT https://api.dialerday.com/v1/sms-templates/42 \
  -H "Authorization: Bearer $DIALERDAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Jane",
  "body": "string"
}'

Delete a saved reply

delete/v1/sms-templates/{id}
Permission messages:write

Needs Texting & shared inbox in your plan.

Permission: messages:write

Path parameters

idrequired
integer
≥ 1

Responses

  • 204Done
  • 400Invalid request (validation_error, bad_request)
  • 401Missing or invalid API key
  • 402Your plan does not include this (plan_required, plan_limit, subscription_inactive)
  • 403The key lacks the permission (insufficient_scope)
  • 404Not found
  • 409Not possible right now (e.g. the number is on the do-not-call list, quiet hours, opted out)
  • 429Rate limited: see the Retry-After header
curl -X DELETE https://api.dialerday.com/v1/sms-templates/42 \
  -H "Authorization: Bearer $DIALERDAY_API_KEY"