Registers an HTTPS endpoint to receive CloudEvents-formatted webhook notifications for the given session. Payloads are signed with your organization's static webhook signing secret (Standard Webhooks, HMAC-SHA256, 'webhook-signature' header).
Security
keycloakAuthLive or keycloakAuthTest
- Mock serverhttps://doc.mifundo.com/_mock/mca/v1/sessions/{sessionId}/webhook-subscriptions
- Production APIhttps://api.mifundo.com/mca/v1/sessions/{sessionId}/webhook-subscriptions
- Test APIhttps://apitest.mifundo.com/mca/v1/sessions/{sessionId}/webhook-subscriptions
curl -i -X POST \
'https://doc.mifundo.com/_mock/mca/v1/sessions/{sessionId}/webhook-subscriptions' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"url": null,
"eventTypes": null
}'Created
Event types delivered to the subscriber (e.g. 'com.mifundo.customer.input-received.v1').
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459", "url": null, "eventTypes": null, "createdAtUtc": "2019-08-24T14:15:22Z" }