Create Subscription For Webhook Notifications

POST {{baseUrl}}/notifications/webhooks/subscriptions

Subscribe to webhook notification by providing subscription details.

Upon successful subscription, webhook notification will be delivered on provided URL.

Supported regions: πŸ‡¦πŸ‡Ί

Request Body

{"url"=>"https://www.mydomain.com/notification", "notificationType"=>"CONSENT"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring
App-Keystring
App-Tokenstring

RESPONSES

status: Created

{"id":"58afc6e5-7293-4d4a-b6de-005269f37992","url":"https://www.mydomain.com/notification","notificationType":"CONSENT","signingKey":"zg4U0v1IvTzFEHIXzJMxPHnfUwWZAMVpXrUuNuL9IvZI0QzkDdwp39IAKuNOFxOVqCOgHLMS1Zpe4ZL40NX83aJkqI6v0Ez5B7BLBtvr7Ag11kPH3uG1taTeOV0CTyI4LOg7ohSHn0DqaRu2aBq26KI90nYe0CecTCzzhu4yMXL43JV8YfydAexNdkzfg8tY44MlhBPUh2neHW2EFTT2ja4s4Ul10JgID03un8WBSrIm2adHw3QYJB4jk4k1e","createdDate":"2022-07-16T06:06:20Z","lastUpdatedDate":"2022-07-16T06:06:20Z"}