List hooks for the current account with optional filters.
curl --request GET \
--url https://api.example.com/api/v1/hooks{
"items": [
{
"id": "<string>",
"account_id": "<string>",
"name": "<string>",
"description": "<string>",
"trigger": {},
"condition": "<string>",
"actions": [
{}
],
"enabled": true,
"last_run_at": "2023-11-07T05:31:56Z",
"next_run_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"cron": "<string>",
"cron_description": "<string>"
}
],
"total": 123
}Filter by trigger type
Filter by enabled status
1 <= x <= 200x >= 0curl --request GET \
--url https://api.example.com/api/v1/hooks{
"items": [
{
"id": "<string>",
"account_id": "<string>",
"name": "<string>",
"description": "<string>",
"trigger": {},
"condition": "<string>",
"actions": [
{}
],
"enabled": true,
"last_run_at": "2023-11-07T05:31:56Z",
"next_run_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"cron": "<string>",
"cron_description": "<string>"
}
],
"total": 123
}