Skip to main content
POST
/
chat
/
pin
Fixar/desafixar chat
curl --request POST \
  --url https://api.wppfy.com/chat/pin \
  --header 'Content-Type: application/json' \
  --header 'token: <api-key>' \
  --data '
{
  "number": "5511999999999",
  "pin": true
}
'
{
  "response": "Chat pinned"
}

Authorizations

token
string
header
required

Body

application/json
number
string
required

Número do chat no formato internacional completo (ex: "5511999999999") ou ID do grupo (ex: "123456789-123456@g.us")

Example:

"5511999999999"

pin
boolean
required

Define se o chat deve ser fixado (true) ou desafixado (false)

Example:

true

Response

Chat fixado/desafixado com sucesso

response
string

Mensagem de confirmação

Example:

"Chat pinned"