cURL
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 }
Cria um novo grupo
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"Equipe de Vendas"
["5511999999999", "5511888888888"]
Grupo criado
Show child attributes