Skip to main content
POST
Enviar notificação push

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

api-key
string
header
required

Obrigatório. Sua chave API.

Body

application/json
passageiros
integer[]
required

Obrigatório. Lista de usuários que irão receber as notificações.

mensagem
string
required

Obrigatório. Mensagem da notificação. Limite de 255 caracteres.

Maximum string length: 255
titulo
string

Opcional. Título da notificação. Limite de 40 caracteres.

Maximum string length: 40

Response

200 - application/json

Sucesso

The response is of type object.