N
Novu3mo ago
Ragu

WebHooks - Currently I have setup a push webHook in self hosted instance

The response received in provided URL is in below format, which is verbose and contains only title and content. Is there any options to provide just a json payload with required info to the URL. { "target": ["subscriber-token-for-push-webhook-provider"], "title": "Push Webhook message title", "content": "push Webhook content body", "overrides": { "data": { "custom_message": "this is custom message from payload push webhook demo" } }, "payload": { "custom_message": "this is custom message from payload push webhook demo", "source": "test-workflow", "subscriber": { // subscriber fields "_id": "65c0d71c0959a38e8857b131", "_organizationId": "organizationId", "_environmentId": "environmentId", "firstName": "Pawan", "lastName": "Jain", "phone": "+123456789", "subscriberId": "push-webhook-demo-subscriber-id", "email": "pawan+push+web+hook+demo@domain.com", "channels": [ { "credentials": { "deviceTokens": ["subscriber-token-for-push-webhook-provider"] }, "_integrationId": "integrationId", "providerId": "push-webhook" } ], "data": { // custom data field of subscriber "isDeveloper": "true" }, "deleted": false, "createdAt": "2024-02-05T12:39:56.379Z", "updatedAt": "2024-02-05T12:54:08.684Z", "v": 0, "id": "65c0d71c0959a38e8857b131" }, "step": { // digest variables "digest": false, "events": [], "total_count": 0 } } }
3 Replies
Pawan Jain
Pawan Jain3mo ago
Ragu, what exact information you are looking to send?
Ragu
RaguOP3mo ago
Hi @Pawan Jain It's some json payload, which they can consume on some events. But apart from payload, there are other details which sent in response. So I wanted to just send payload json.
Pawan Jain
Pawan Jain3mo ago
Thanks. Sharing feedback with team so we will consider this while working on similar feature in new dashboard

Did you find this page helpful?