POST
/
api
/
v1
/
notifications
curl --request POST \
  --url https://app.pnta.io/api/v1/notifications \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "notification": {
    "title": "<string>",
    "body": "<string>",
    "link_to": "<string>",
    "targets": [
      "<string>"
    ]
  }
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

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

Body

application/json

Notification details

The body is of type object.

Response

201

created