Get a conversation
const url = 'https://digize.com/api/v1/conversations/example';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://digize.com/api/v1/conversations/example \ --header 'x-api-key: <x-api-key>'A conversation with its newest 500 messages and calls, oldest first, with links to their files and recordings.
Needs the crm:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Done
object
object
The workspace’s number or address the contact writes to.
Emails only.
The member answering it, by user id.
A text conversation whose contact replied STOP: nothing can be texted to them until they reply START.
Oldest first, the newest 500.
object
A text or email, or a call to one of the workspace’s numbers.
Pending until Twilio takes it, then queued, sent and delivered, or failed or undelivered; received for one that came in.
Why it didn’t go.
object
A signed link that works for an hour.
The whole email, when it was too long to show here.
Example
{ "channel": "sms", "status": "open", "lastMessage": { "kind": "message", "direction": "in", "authorKind": "contact", "status": "pending" }, "messages": [ { "kind": "message", "direction": "in", "author": { "kind": "contact" }, "status": "pending", "call": { "status": "ringing", "recording": { "kind": "voicemail", "status": "pending" } } } ]}What was sent isn’t valid (invalid).
object
object
object
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
object
object
object
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
object
object
object
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}