Conversation source

The Conversation Part that originated this conversation, which can be Contact, Admin, Campaign, Automated or Operator initiated.

type
string

This includes conversation, email, facebook, instagram, phone_call, phone_switch, push, sms, twitter and whatsapp.

id
string

The id representing the message.

delivered_as
string

The conversation's initiation type. Possible values are customer_initiated, campaigns_initiated (legacy campaigns), operator_initiated (Custom bot), automated (Series and other outbounds with dynamic audience message) and admin_initiated (fixed audience message, ticket initiated by an admin, group email).

subject
string

Optional. The message subject. For Twitter, this will show a generic message regarding why the subject is obscured.

body
string

The message body, which may contain HTML. For Twitter, this will show a generic message regarding why the body is obscured.

object (Conversation part author)

The object who initiated the conversation, which can be a Contact, Admin or Team. Bots and campaigns send messages on behalf of Admins or Teams. For Twitter, this will be blank.

Array of objects (Part attachment)

A list of attachments for the part.

url
string or null

The URL where the conversation was started. For Twitter, Email, and Bots, this will be blank.

redacted
boolean

Whether or not the source message has been redacted. Only applicable for contact initiated messages.

{ "type": "conversation", "id": "3", "delivered_as": "operator_initiated", "subject": "", "body": "<p>Hey there!</p>", "author": { "type": "admin", "id": "274", "name": "Operator", "email": "operator+abcd1234@intercom.io" }, "attachments": [ ], "url": null, "redacted": false }