/
/API DO CHAT
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 2mo ago · Updated 2mo ago
  • postCreate
  • postGet Quick Reply By ID
  • postUpdate
  • postDelete
  • postCreate
  • postGet department by id
  • postList
  • postGet users in department
  • postUpdate
  • postCreate
  • postGet tag by id
  • postList leads by tag
  • postUpdate
  • postCreate
  • postUpdate
  • postGet tags by lead id
  • postGet lead by id
  • postGet lead by phone number
  • postList all message by session
  • postSend file from URL
  • postSend Contact
  • postRead message
  • postGet or create session by number
  • postGet session by id
  • postList
  • postList from lead
  • postAssign to user
  • postAssign to department
  • postFinish
  • postCreate
  • postList
  • postGet ending by id
  • postUpdate
  • postGet user by id
  • postGet all users by instance
  • postEdit user
  • postRegister
  • postGet templates
  • postSend template
  • postCreate
  • postUpdate
  • postGet widget by id
  • postList
  • postAssign label
  • postUnassign label
  • getreports
  • postUpdate owner
  • postCreate comment
  • deleteDelete Comment
  • postList
  • postSend Buttons
  • postSend List

Create

Cria um widget

post/widgets/create

Headers

instance-tokenstring required

Request body

instanceIdstring required

Código da instância

namestring required

Nome do Widget

numberstring required

Telefone da instância para contato

messagestring

Mensagem que será apresenta no WhatsApp do cliente ao clicar no botão de Widget do seu site

labelstring

Nome apresentado no Widget em seu site, ex.: Fale conosco

colorstring

Cor do botão em hexadecimal, ex.: #089186

positionstring

Posição do Widget

Response

200

object required

Changes