POST
/control-plane/api/v1/v1/organizations/{organization_id}/push/subscribe
Authentication
API Key (BearerAuth)
Header:
Authorization
Path Parameters
organization_idstringrequired
Organization ID
Request Body
Push subscription data
Required
endpointstringrequired
keysobjectrequired
Example:
{
"endpoint": "string",
"keys": {
"auth": "string",
"p256dh": "string"
}
}Responses
201
Created
Example:
{
"key": "value"
}400
Bad Request
Example:
{
"key": "value"
}401
Unauthorized
Example:
{
"key": "value"
}500
Internal Server Error
Example:
{
"key": "value"
}