Skip to main content
POST
/
groups
Criar Grupo
curl --request POST \
  --url https://api.wapizap.com/api/v2/groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "instanceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "subject": "Equipe de Vendas",
  "participants": [
    "5511999999999",
    "5511888888888"
  ],
  "description": "<string>"
}
'
{
  "id": "<string>",
  "subject": "<string>",
  "description": "<string>",
  "participants": [
    {
      "id": "<string>",
      "name": "<string>",
      "isAdmin": true
    }
  ],
  "owner": "<string>",
  "creation": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
instanceId
string<uuid>
required
subject
string
required
Example:

"Equipe de Vendas"

participants
string[]
required
Example:
["5511999999999", "5511888888888"]
description
string

Response

201 - application/json

Grupo criado

id
string
subject
string
description
string
participants
object[]
owner
string
creation
integer