The message to insert.
The message was createde
{- "channel": "widget_chat",
- "direction": "outbound",
- "from_email": "string",
- "to_email": "string",
- "text": "string",
- "author_id": "string",
- "attachments": [
- {
- "url": "string"
}
]
}
{- "data": {
- "id": "string",
- "created_at": "2015-11-30T00:00:00:000Z",
- "author_id": "string",
- "channel": "widget_chat",
- "direction": "widget_chat",
- "attributes": {
- "text": "string",
- "to_emails": "string",
- "cc_email": "string",
- "from_email": "string",
- "inline_images": "string",
- "attachments": "string",
- "direction": "string",
- "a_phone_number": "string",
- "b_phone_number": "string",
- "is_automated_message": "string",
- "is_auto_reply": "string"
}
}
}
The conversation to create. Only callback and contact form conversations are currently supported.
The conversation was created
{- "channel": "widget_chat",
- "direction": "outbound",
- "queue_id": "string",
- "requester_id": "string",
- "endpoint_id": "string",
- "tags": [
- "string"
]
}
{- "data": {
- "id": 0,
- "created_at": "2015-11-30T00:00:00:000Z",
- "requester_id": "string",
- "channel": "callback",
- "direction": "inbound",
- "queued_at": "2015-11-30T00:00:00:000Z",
- "queue_id": "string",
- "status": "open",
- "status_updated_at": "2015-11-30T00:00:00:000Z",
- "attributes": { },
- "assigned_to": "string",
- "assigned_at": "2015-11-30T00:00:00:000Z"
}
}
A list of activitylog events
{- "data": [
- {
- "id": "string",
- "conversation_id": 0,
- "activity_timestmap": "2015-11-30T00:00:00:000Z",
- "activity_type": "tag_added",
- "author": {
- "id": "string",
- "name": "string",
- "email": "string",
- "phone_number": "string"
}, - "attributes": {
- "tag_name": "string"
}
}
], - "paging": {
- "cursors": {
- "after": "string",
- "before": "string"
}, - "next_page": "string",
- "prev_page": "string"
}
}
A list of activitylog events
{- "data": [
- {
- "id": "string",
- "conversation_id": 0,
- "activity_timestmap": "2015-11-30T00:00:00:000Z",
- "activity_type": "tag_added",
- "author": {
- "id": "string",
- "name": "string",
- "email": "string",
- "phone_number": "string"
}, - "attributes": {
- "tag_name": "string"
}
}
]
}
A list of internal notes
{- "data": [
- {
- "id": "string",
- "created_at": "2015-11-30T00:00:00:000Z",
- "requester_id": "string",
- "text": "string"
}
]
}
A list of messages
{- "data": [
- {
- "id": "string",
- "created_at": "2015-11-30T00:00:00:000Z",
- "author_id": "string",
- "channel": "callback",
- "direction": "callback",
- "attributes": {
- "text": "string",
- "to_emails": "string",
- "cc_email": "string",
- "from_email": "string",
- "inline_images": "string",
- "attachments": "string",
- "direction": "string",
- "a_phone_number": "string",
- "b_phone_number": "string",
- "is_automated_message": "string",
- "is_auto_reply": "string"
}
}
]
}
A single conversation
{- "data": {
- "id": 0,
- "created_at": "2015-11-30T00:00:00:000Z",
- "requester_id": "string",
- "channel": "callback",
- "direction": "inbound",
- "queued_at": "2015-11-30T00:00:00:000Z",
- "queue_id": "string",
- "status": "open",
- "status_updated_at": "2015-11-30T00:00:00:000Z",
- "attributes": { },
- "assigned_to": "string",
- "assigned_at": "2015-11-30T00:00:00:000Z"
}
}
Anonymization request
{- "data": {
- "id": "string",
- "target_entity_id": "string",
- "entity_type": "user",
- "initiated_at": "string",
- "requested_by": "string",
- "processed_at": "string"
}
}
Entity info to schedule anonymization
Scheduled anonymization
{- "entity_id": "string",
- "entity_type": "user",
- "force_anonymization": true
}
{- "data": {
- "id": "string",
- "target_entity_id": "string",
- "entity_type": "user",
- "initiated_at": "string",
- "requested_by": "string",
- "processed_at": "string"
}
}