Register a push subscription (web push or APNs)
POST /api/notifications/subscribe
POST
/api/notifications/subscribe
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”Responses
Section titled “ Responses ”Subscription registered
object
ok
required
boolean
data
required
object
id
required
string
subscribed
required
boolean
transport
required
string
Invalid subscription data or no band membership
object
ok
required
boolean
error
required
string
code
string
Unauthenticated
object
ok
required
boolean
error
required
string
code
string
Forbidden / no permission
object
ok
required
boolean
error
required
string
code
string
Failed to save subscription
object
ok
required
boolean
error
required
string
code
string