Webhooks API
Get a webhook
Retrieve a single webhook object by its ID.
🔑 Access with
Advanced access token with webhooks.read
OAuth access with webhooks.read
get/v2/webhooks/{webhookId}
Request
- Base URLhttps://api.mollie.com
- URLhttps://api.mollie.com/v2/webhooks/{webhookId}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens scopes: webhooks.read
Query parameters
testmodeboolean
You can enable test mode by setting the testmode query parameter to true.
Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
Response
The webhook object.
Example response
{
"resource": "webhook",
"id": "hook_tNP6fpF9fLJpFWziRcgiH",
"url": "https://example.com/webhook-endpoint",
"profileId": "pfl_YyoaNFjtHc",
"createdAt": "2023-03-15T10:00:00+00:00",
"name": "Profile Updates Webhook",
"eventTypes": [
"profile.create",
"profile.blocked"
],
"status": "enabled",
"mode": "live",
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.