Skip to content
Search
K
Main Navigation
Guide
Rest API
Wiki
Appearance
Menu
Return to top
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
Type
API Key (header: X-CSRF-Token)
Parameters
Path Parameters
type
*
Type
string
Required
Pattern
"\\w+"
Responses
200
401
404
Successful
Content-Type
application/json
Schema
JSON
JSON
{
"id"
:
0
}
POST
/api/push-notification/{type}/subscription
Playground
Authorization
api_key
Variables
Key
Value
type
*
Try it out
Samples
cURL
JavaScript
PHP
Python
cURL
JavaScript
PHP
Python