Register a visitor's OneSignal push subscription
POST/api/widget/push-subscriptions
Binds the visitor's OneSignal subscription id (from the widget's OneSignal SDK) to their contact, so the server can push them when an agent replies. Requires a valid widget session token; idempotent.
Request
Responses
- 204
- 403
- 422
Registered.
Authenticated but not allowed.
The request failed validation.