POST
/
v1
/
notifications
/
sms
curl --request POST \
  --url https://api.base39.io/v1/notifications/sms \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sms": {
    "to": "+5511912345678",
    "from": "Base39",
    "text": "Olá, mundo!"
  }
}'
{
  "message": "<string>",
  "messageId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
sms
object
required

Response

202
application/json
Retorna quando a mensagem foi aceita. Esta resposta não confirma se a notificação foi enviada.

Mensagem de retorno de sucesso informando que a mensagem foi aceita para processamento.

message
string
required

Mensagem de retorno

messageId
string
required

Identificador da mensagem