ChatChannels

Get Channels

GET
https://api.revert.dev/chat/channels
Get all the channels

Headers

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

Query parameters

fields
optional string
pageSize
optional string
cursor
optional string

Response

This endpoint return an object.
status
enum
Allowed values: okerror
results
list of objects
next
optional string
previous
optional string
GET
/chat/channels
curl -G https://api.revert.dev/chat/channels \
-H "x-revert-api-token: string" \
-H "x-revert-t-id: string" \
-H "x-api-version: string" \
-d fields=string \
-d pageSize=string
Response
{
"status": "ok",
"results": [
{
"id": "string",
"name": "string",
"createdTimestamp": {}
}
],
"next": "string",
"previous": "string"
}