curl --request PUT \
--url https://api.timelyai.com.br/v1/channels/{id}/config \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"phone_number": "<string>",
"api_key": "<string>",
"webhook_url": "<string>"
}
'{
"data": {
"phone_number": "<string>",
"api_key": "<string>",
"webhook_url": "<string>"
}
}Atualiza configurações específicas do canal.
curl --request PUT \
--url https://api.timelyai.com.br/v1/channels/{id}/config \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"phone_number": "<string>",
"api_key": "<string>",
"webhook_url": "<string>"
}
'{
"data": {
"phone_number": "<string>",
"api_key": "<string>",
"webhook_url": "<string>"
}
}