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}/smsGET /opportunities/{opportunity_id}/smsGET /accounts/{account_id}/sms
These endpoints are read-only. Sending texts is not supported through the API; texts go out through Coperniq automations.
Filters
pageandpage_size(default 20, max 100; a largerpage_sizereturns400)direction:INBOUNDorOUTBOUNDupdated_afterandupdated_before: ISO 8601 date or date-timeorder_by:ascordescby creation time (defaultdesc)
Fields
id, recordId, direction, status, text, fromPhone, toPhone, fromContact, toContact, fromUser, toUser, createdBy, isMms, media, sentByAutomation, scheduledFor, createdAt and updatedAt.
medialists MMS attachments asfileIdandcontentType. Fetch a file withGET /files/{file_id}.sentByAutomationistruewhen a Coperniq automation sent the text.
A record that doesn’t exist, or isn’t the right type for the endpoint, returns 404.
