Skip to main content
POST
/
group
/
create
Criar grupo
curl --request POST \
  --url https://api.multchats.com/v2/group/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "integrationId": "<string>",
  "name": "<string>",
  "participants": [
    "<string>"
  ]
}
'
{
  "success": true,
  "response": {
    "group": {}
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
integrationId
string
required

ID da integração

Pattern: ^c[a-z0-9]{24}$
name
string
required

Nome do grupo

Required string length: 1 - 100
participants
string[]
required

Lista de números de telefone dos participantes

Minimum array length: 1
Required string length: 1 - 255

Response

Grupo criado com sucesso

success
boolean

Indica se a operação foi bem-sucedida

response
object