List all chats
Changed onReturns a list of chats. Some optional parameters are available to filter the results.
Request
- Base URLhttps://api1.unipile.com:13111
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Whether you want to get either unread chats only, or read chats only.
A cursor for pagination purposes. To get the next page of entries, you need to make a new request and fulfill this field with the cursor received in the preceding request. This process should be repeated until all entries have been retrieved.
A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).
A limit for the number of items returned in the response. The value can be set between 1 and 250.
A filter to target items related to a certain provider.
An Unipile account id or a list of Unipile account ids separated by commas.
A filter to target items related to a certain account. Can be a comma-separated list of ids.
Response
OK. Request succeeded.
Changes
- warning
added the new
errors/password_reset_requiredenum value to theresponse property for the response status
- warning