Skip to navigation

New: SMS history endpoints

Read the text messages (SMS and MMS) on a record, for syncing to a CRM or reporting.

  • GET /projects/{project_id}/sms
  • GET /opportunities/{opportunity_id}/sms
  • GET /accounts/{account_id}/sms

These endpoints are read-only. Sending texts is not supported through the API; texts go out through Coperniq automations.

Filters

  • page and page_size (default 20, max 100; a larger page_size returns 400)
  • direction: INBOUND or OUTBOUND
  • updated_after and updated_before: ISO 8601 date or date-time
  • order_by: asc or desc by creation time (default desc)

Fields

id, recordId, direction, status, text, fromPhone, toPhone, fromContact, toContact, fromUser, toUser, createdBy, isMms, media, sentByAutomation, scheduledFor, createdAt and updatedAt.

  • media lists MMS attachments as fileId and contentType. Fetch a file with GET /files/{file_id}.
  • sentByAutomation is true when a Coperniq automation sent the text.
{
"id": 1002,
"recordId": 4821,
"direction": "OUTBOUND",
"status": "delivered",
"text": "Thursday at 9am works. See you then!",
"fromPhone": "+14155550199",
"toPhone": "+14155550142",
"fromContact": null,
"toContact": { "id": 311, "name": "Maria Alvarez" },
"fromUser": { "id": 42, "firstName": "Sam", "lastName": "Rivera" },
"toUser": null,
"createdBy": { "id": 42, "firstName": "Sam", "lastName": "Rivera" },
"isMms": false,
"media": [],
"sentByAutomation": false,
"scheduledFor": null,
"createdAt": "2026-11-18T16:10:45.000Z",
"updatedAt": "2026-11-18T16:10:47.000Z"
}

A record that doesn’t exist, or isn’t the right type for the endpoint, returns 404.