Skip to main content
PUT
/
v1
/
channels
/
{id}
/
widget
/
settings
Atualizar configurações do widget
curl --request PUT \
  --url https://api.timelyai.com.br/v1/channels/{id}/widget/settings \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "primary_color": "<string>",
  "position": "bottom-right",
  "welcome_message": "<string>",
  "placeholder": "<string>"
}
'
{
  "data": {
    "primary_color": "<string>",
    "position": "bottom-right",
    "welcome_message": "<string>",
    "placeholder": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Chave de API obtida no dashboard

Path Parameters

id
string<uuid>
required

ID do canal

Body

application/json
primary_color
string
position
enum<string>
Available options:
bottom-right,
bottom-left
welcome_message
string
placeholder
string

Response

Configurações atualizadas

data
object