ChatChannels

Get Channels

GET
Get all the channels

Headers

x-revert-api-tokenstringRequired
Your official API key for accessing revert apis.
x-revert-t-idstringRequired
The unique customer id used when the customer linked their account.
x-api-versionstringOptional
Optional Revert API version you're using. If missing we default to the latest version of the API.

Query parameters

fieldsstringOptional
pageSizestringOptional
cursorstringOptional

Response

This endpoint returns an object
status
enum
Allowed values: okerror
results
list of objects
next
stringOptional
previous
stringOptional
GET
1curl -G https://api.revert.dev/chat/channels \
2 -H "x-revert-api-token: string" \
3 -H "x-revert-t-id: string" \
4 -H "x-api-version: string" \
5 -d fields=string \
6 -d pageSize=string
200Retrieved
1{
2 "status": "ok",
3 "results": [
4 {
5 "id": "string",
6 "name": "string",
7 "createdTimestamp": {}
8 }
9 ],
10 "next": "string",
11 "previous": "string"
12}