Message

Create / Import

Creates/Imports a Message in Centelar. The message will get routed to the right Case and Campaign according to the Rules defined by the Centelar administrator.

POST /api/v2/message

Input Parameters

Name Type Description
campaign string Required. Name of the campaign in Centelar
source string Required. Channel of the message. Valid values are email or custom
fromId string Required. Unique ID of the sender of the message (normally an email address)
fromName string Required. Name sender - e.g. John Smith
fromUserName string Logical username of the sender
fromCrmId string CRM id of the sender
fromCrmNick string CRM Nickname of the sender
UUID string Unique ID of the message for the given source. If not sent, Centelar will compute it.
subject string Subject of the message. If null, Centelar will compute it with the first 127 characters of content
content string Required. Complete text of the message
note string Text note to be associated with the Case (supports multiple values)
tag string Tag to be associated with the Case (supports multiple values)

Response Sample

Status: 200 OK
{
  "success": true,
  "case_id": 1,
  "UUID": "FSAOIUFO4324324FJKQWRIO4234IOIOH23"
}