curl --request GET \
--url https://api.timelyai.com.br/v1/channels \
--header 'x-api-key: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "whatsapp",
"status": "active",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"total_pages": 123
}
}Retorna lista de canais de comunicação.
curl --request GET \
--url https://api.timelyai.com.br/v1/channels \
--header 'x-api-key: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "whatsapp",
"status": "active",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"total_pages": 123
}
}Chave de API obtida no dashboard
Número da página
x >= 1Itens por página
1 <= x <= 100whatsapp, telegram, email, website, instagram