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

Lista de passageiros que receberão a notificação. Deve conter ao menos um item e todos os itens devem ser numéricos. Limite máximo de 1000 itens.

Required array length: 1 - 1000 elements
mensagem
string
required

Mensagem da notificação.

Maximum string length: 255
titulo
string

Título da notificação.

Maximum string length: 40

Response

Notificação enviada com sucesso

The response is of type object.