Skip to main content
PUT
/
v1
/
channels
/
{id}
/
config
Update channel configuration
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>"
  }
}

Authorizations

x-api-key
string
header
required

API key obtained from the dashboard

Path Parameters

id
string<uuid>
required

Channel ID

Body

application/json
phone_number
string
api_key
string
webhook_url
string<uri>

Response

Configuration updated

data
object