curl --request GET \
--url https://copilotz.com/rest/channels \
--header 'Authorization: Bearer <token>'
[
{
"name": "Send Template Message to WhatsApp User",
"description": "Send Template Message to WhatsApp User",
"extId": "249688884896294",
"hook": "rpc",
"callback": "whatsapp",
"handlerUrl": "native:agents/taskManager",
"config": {
"copilotzId": 1,
"streamResponseBy": "turn",
"additionalProperties": "additionalPropertyValue"
}
}
]
curl --request GET \
--url https://copilotz.com/rest/channels \
--header 'Authorization: Bearer <token>'
[
{
"name": "Send Template Message to WhatsApp User",
"description": "Send Template Message to WhatsApp User",
"extId": "249688884896294",
"hook": "rpc",
"callback": "whatsapp",
"handlerUrl": "native:agents/taskManager",
"config": {
"copilotzId": 1,
"streamResponseBy": "turn",
"additionalProperties": "additionalPropertyValue"
}
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object[]
.