Skip to main content
POST
/
session
/
{sessionId}
/
group
/
{jid}
/
promote
Promote
curl --request POST \
  --url https://api.zappaz.io/api/v1/session/{sessionId}/group/{jid}/promote \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
[
  "5511999999999",
  "5522888888888"
]
'
{
  "status": {}
}

Authorizations

Authorization
string
header
required

Token de usuário ou sessão, passado diretamente como uma string no cabeçalho 'Authorization'. O token de usuário tem escopo sobre todas as sessões pertencentes ao usuário. O token de sessão é limitado à própria sessão.

Path Parameters

sessionId
string
required

Identificador único da sessão

jid
string
required

Group identifier (JID) in the format '[email protected]'

Body

application/json

Array of phone numbers to promote to admin.

Número de telefone de um participante em formato internacional sem o sinal '+' (ex: '5511999999999')

Example:
["5511999999999", "5522888888888"]

Response

Participants promoted successfully

status
object

Status of the operation for each participant