Message threads
Get all message threads
Get all message threads that you have created, filtered by time interval and/or specific message thread IDs. Note this operation uses Pagination and supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/messageThreads/getAll
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Token identifying the client application. |
| string | required | Access token of the client application. |
| string | required | Name and version of the client application. |
| array of string | optional, max 1000 items | Unique identifiers of the Enterprises. If not specified, the operation returns data for all enterprises within scope of the Access Token. |
| array of string | optional, max 1000 items | Unique identifiers of Message threads. Required if no other filter is provided. |
| optional, max length 3 months | Interval in which the Message thread was created. Required if no other filter is provided. | |
| optional, max length 3 months | Interval in which the Message thread was updated. Required if no other filter is provided. | |
| required | Limitation on the quantity of message thread data returned (using cursor pagination). |
Response
Property | Type | Contract | Description |
---|---|---|---|
| array of Message threads | required | The filtered message threads. |
| string | optional | Unique identifier of the last and hence oldest message thread returned. This can be used in Limitation in a subsequent request to fetch the next batch of older message threads. |
Message thread
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Unique identifier of the message thread. |
| string | required | The sender of the original message in the thread. |
| string | required | Subject of the message thread. |
| string | required | Creation date and time of the message thread in UTC timezone in ISO 8601 format. |
| string | required | Last update date and time of the message thread in UTC timezone in ISO 8601 format. |
Add message thread
Creates a new Message thread on behalf of the specified customer, i.e. the sender of the original message in the message thread.
Request
[PlatformAddress]/api/connector/v1/messageThreads/add
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Token identifying the client application. |
| string | required | Access token of the client application. |
| string | required | Name and version of the client application. |
| string | required | The sender of the original message in the thread. |
| string | required | Subject of the message thread. |
Response
Property | Type | Contract | Description |
---|---|---|---|
| array of Message threads | required | The created message threads. |
Last updated