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
/v1/messagesmessages:writeSends 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-Keystring | Retry safely: the first response is replayed for 24 hoursmax 200 chars |
Request body
tostring | The number to text (any format). Or give conversation_id / contact_id.max 30 chars |
contact_idinteger | Text this contact’s main number |
conversation_idinteger | Reply in this conversation (from its own number) |
fromstring | One of your numbers with texting on (GET /v1/messages/senders). Default: the number last used with this contact, else your defaultmax 30 chars |
bodyrequiredstring | 1–1600 chars |
sent_asobject | 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_idinteger | Show the text as sent by this team member |
namestring | …or by this name, e.g. "AI Assistant"1–60 chars |
Responses
201OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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"
}
}'{
"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
/v1/messages/sendersmessages:readNeeds Texting & shared inbox in your plan.
Permission: messages:read
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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"{
"items": [
"+14155550100"
]
}List conversations
/v1/conversationsmessages:readNewest 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" |
searchstring | Name, number or message textmax 100 chars |
limitinteger | 1–100 · default 50 |
offsetinteger | default 0 |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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"{
"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
/v1/conversations/{id}messages:readThe 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
idrequiredinteger | ≥ 1 |
Query parameters
beforeinteger |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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"{
"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
/v1/conversations/{id}/readmessages:writeNeeds Texting & shared inbox in your plan.
Permission: messages:write
Path parameters
idrequiredinteger | ≥ 1 |
Headers
Idempotency-Keystring | Retry safely: the first response is replayed for 24 hoursmax 200 chars |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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
/v1/conversations/{id}/archivemessages:writeNeeds Texting & shared inbox in your plan.
Permission: messages:write
Path parameters
idrequiredinteger | ≥ 1 |
Headers
Idempotency-Keystring | Retry safely: the first response is replayed for 24 hoursmax 200 chars |
Request body
archivedboolean | default true |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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
/v1/contacts/{id}/messagesmessages:readAcross all your numbers, newest 50, oldest first. Page back with before.
Needs Texting & shared inbox in your plan.
Permission: messages:read
Path parameters
idrequiredinteger | ≥ 1 |
Query parameters
beforeinteger |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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"{
"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
/v1/messages/{id}/media/{n}messages:readn 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
idrequiredinteger | ≥ 1 |
nrequiredstring |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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
/v1/sms-templatesmessages:readNeeds Texting & shared inbox in your plan.
Permission: messages:read
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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
/v1/sms-templatesmessages:writeNeeds Texting & shared inbox in your plan.
Permission: messages:write
Headers
Idempotency-Keystring | Retry safely: the first response is replayed for 24 hoursmax 200 chars |
Request body
namerequiredstring | 1–100 chars |
bodyrequiredstring | 1–1600 chars |
Responses
201OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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
/v1/sms-templates/{id}messages:writeNeeds Texting & shared inbox in your plan.
Permission: messages:write
Path parameters
idrequiredinteger | ≥ 1 |
Request body
namerequiredstring | 1–100 chars |
bodyrequiredstring | 1–1600 chars |
Responses
200OK400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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
/v1/sms-templates/{id}messages:writeNeeds Texting & shared inbox in your plan.
Permission: messages:write
Path parameters
idrequiredinteger | ≥ 1 |
Responses
204Done400Invalid request (validation_error, bad_request)401Missing or invalid API key402Your plan does not include this (plan_required, plan_limit, subscription_inactive)403The key lacks the permission (insufficient_scope)404Not found409Not 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"