Step 5: retrieve a webhook
You can look up details about a specific webhook by specifying its ID in the following request.
SandboxProduction
curl -i -X GET \
'https://api-sandbox.equalsmoney.com/v2/webhooks/{webhookId}' \
-H 'Authorization: ApiKey {apiKey}'
curl -i -X GET \
'https://api.equalsmoney.com/v2/webhooks/{webhookId}' \
-H 'Authorization: ApiKey {apiKey}'
If your request is successful, you'll receive a 200
response containing details about the webhook.
{
"id": "542609c1-8bf9-46b1-830f-4b87d09d3cf1",
"productId": "d926625b-5e11-4ec1-b4cd-0af2a8021efc",
"accountId": "F51310",
"webhookEventTypeId": "a4dcc403-41aa-4f2e-acf6-32dbaec78e72",
"url": "https://webhook.site/07a975c2-3f9d-4952-8ea5-98dc688cab7c",
"enabled": true,
"authorizationHeader": null,
"sharedSecret": null,
"createdAt": "2024-01-09T10:33:33.000Z",
"updatedAt": "2024-01-09T10:33:33.000Z",
"webhookEventTypeName": "AccountActivated"
}