List all webhooks
Returns all the webhook associated with your team, or an empty array is none have been created.
Parameters
No parameters
Returns
Returns a list of webhook objects.
- cURL
- Node.js
- Python
GET
/webhooks
curl https://production.methodfi.com/webhooks \
-H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
GET
/webhooks
const webhooks = await method.webhooks.list();
GET
/webhooks
webhooks = method.webhooks.list()
RESPONSE
{
"data": [
{
"id": "whk_cSGjA6d9N8y8R",
"type": "payment.update",
"url": "https://api.example.app/webhook",
"auth_token": "md7UqcTSmvXCBzPORDwOkE",
"metadata": null,
"created_at": "2020-12-09T00:41:05.647Z",
"updated_at": "2020-12-09T00:41:05.647Z"
}
]
}