cURL
curl --request POST \ --url https://api.ubpass.co/v1/wallet-pass/notifications \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data '{ "passSerialNumber": "<string>", "notificationName": "<string>", "notificationMessage": "<string>", "status": "Draft", "scheduledTime": "2023-11-07T05:31:56Z" }'
{ "passSerialNumber": "<string>", "notificationName": "<string>", "notificationMessage": "<string>", "status": "Draft", "scheduledTime": "2023-11-07T05:31:56Z" }
Create a push notification. The notification can be sent immediately or scheduled for a later time.
Notification request body
The body is of type object.
object
Notification record has been created successfully.
The response is of type object.