API Documentation
Hooks
Channels
Get by Id
GET
/
rest
/
channels
/
{id}
Copy
curl --request GET \
--url https://copilotz.com/rest/channels/{id} \
--header 'Authorization: Bearer <token>'
Copy
{
"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"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200 - application/json
Successful response
Response containing channel details.
Copy
curl --request GET \
--url https://copilotz.com/rest/channels/{id} \
--header 'Authorization: Bearer <token>'
Copy
{
"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"
}
}
Assistant
Responses are generated using AI and may contain mistakes.