Pular para o conteúdo principal
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>"
  }
}

Autorizações

x-api-key
string
header
obrigatório

Chave de API obtida no dashboard

Parâmetros de caminho

id
string<uuid>
obrigatório

ID do canal

Corpo

application/json
primary_color
string
position
enum<string>
Opções disponíveis:
bottom-right,
bottom-left
welcome_message
string
placeholder
string

Resposta

Configurações atualizadas

data
object