Skip to content

Subscribes to push notifications with the specified handler

POST
/api/push-notification/{type}/subscription

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

type*
Typestring
Required
Pattern"\\w+"

Responses

Successful

application/json
JSON
{
"id": 0
}

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python