getEmailThreads
Returns email threads for a folder based on the Created date.
Input parameters
Parameter | Type | Required | Description |
---|---|---|---|
FolderID |
numeric - ID code |
Yes |
The identifier of the folder to retrieve data from. |
FromDate |
date - ISO / UTC |
No |
The start date. |
ToDate |
date - ISO / UTC |
No |
The end date. |
NextPage |
string |
No |
Tells the server the next page of data to retrieve. This parameter should be the same value as what was returned in the response field "NextPage" by the previous call. |
Request format
curl "https://api.boldchat.com/aid/$accountID/data/rest/json/v1/getEmailThreads?auth=$authHash&FolderID=$FolderID"
Return values
Parameter | Type | Description |
---|---|---|
Data |
text - heading |
Header for JSON objects with values. |
Truncated |
boolean |
Whether or not the above JSON array is the complete result set, or if the server limited the returned results. |
NextPage |
string |
If the method called supports it, and the data is truncated, the NextPage parameter will contain the necessary information to pass back to the same server method to get the next page of results. |