List all webhooks
Changed onReturns a paginated list of your webhooks. If no webhook endpoints are available, the resulting array will be empty. This request should never throw an error.
Request
- Base URLhttps://api.mollie.com
- URLhttps://api.mollie.com/v2/webhooks
- 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
Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the result set.
The maximum number of items to return. Defaults to 50 items.
Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from newest to oldest.
The list of events to enable for this webhook. You may specify '*' to add all events, except those that require explicit selection.
Used to filter out only the webhooks that are subscribed to certain types of events.
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.
Headers
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Response
A list of webhooks. For a complete reference of the webhook object, refer to the Get hook endpoint documentation.
Example response
{
"count": 5,
"_embedded": {
"webhooks": [
{
"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"
}
}
}
]
},
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"previous": {
"href": "https://...",
"type": "application/hal+json"
},
"next": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Changes
- warning
added the new
unmatched-credit-transfer.expiredenum value to the////response property for the response status - warning
added the new
unmatched-credit-transfer.match.completedenum value to the////response property for the response status - warning
added the new
unmatched-credit-transfer.match.failedenum value to the////response property for the response status - warning
added the new
unmatched-credit-transfer.matchedenum value to the////response property for the response status - warning
added the new
unmatched-credit-transfer.return.completedenum value to the////response property for the response status - warning
added the new
unmatched-credit-transfer.return.failedenum value to the////response property for the response status - warning
added the new
unmatched-credit-transfer.returnedenum value to the////response property for the response status - info
added the new enum value
unmatched-credit-transfer.expiredto thequeryrequest parametereventTypes - info
added the new enum value
unmatched-credit-transfer.match.completedto thequeryrequest parametereventTypes - info
added the new enum value
unmatched-credit-transfer.match.failedto thequeryrequest parametereventTypes - info
added the new enum value
unmatched-credit-transfer.matchedto thequeryrequest parametereventTypes - info
added the new enum value
unmatched-credit-transfer.return.completedto thequeryrequest parametereventTypes - info
added the new enum value
unmatched-credit-transfer.return.failedto thequeryrequest parametereventTypes - info
added the new enum value
unmatched-credit-transfer.returnedto thequeryrequest parametereventTypes
- warning
- warning
added the new
unmatched-credit-transfer.receivedenum value to the////response property for the response status - info
added the new enum value
unmatched-credit-transfer.receivedto thequeryrequest parametereventTypes
- warning