Messages
Last updated
Was this helpful?
Last updated
Was this helpful?
Get all messages belonging to the specified . Messages can only be returned for message threads you have created. Note this operation uses and supports .
[PlatformAddress]/api/connector/v1/messages/getAll
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
EnterpriseIds
array of string
optional, max 1000 items
MessageThreadIds
array of string
required, max 1000 items
CreatedUtc
optional, max length 1 months
Limitation
required
Limitation on the quantity of message data returned (using cursor pagination).
Messages
required
The filtered messages.
Cursor
string
optional
Id
string
required
Unique identifier of the message.
MessageThreadId
string
required
Text
string
required
Text of the message.
Sender
required
The sender of the message.
CreatedUtc
string
required
Creation date and time of the message in UTC timezone in ISO 8601 format.
Discriminator
required
The source of the message, either the enterprise or the client application.
Enterprise
- the message was created by an employee of the enterprise
Application
- the message was created by the third party application
[PlatformAddress]/api/connector/v1/messages/add
ClientToken
string
required
Token identifying the client application.
AccessToken
string
required
Access token of the client application.
Client
string
required
Name and version of the client application.
Messages
required
Messages to be added.
Text
string
required
Text of the message.
ThreadId
string
required
Identifier
string
optional
Identifier of the message to be created.
Messages
required
Collection of created messages.
Identifier
string
optional
Identifier of the created message.
Message
string
Unique identifiers of the . If not specified, the operation returns data for all enterprises within scope of the Access Token.
Unique identifiers of from where to return messages.
Interval in which the was created.
array of
Unique identifier of the last and hence oldest message returned. This can be used in in a subsequent request to fetch the next batch of older messages.
Unique identifier of the which the message belongs to.
string
Add the specified messages to the specified . You can only add messages to message threads that you have created.
array of
Unique identifier of the to which the message should be added.
array of
Message that was added to the .