curl --request GET \
--url https://{tenant}/api/hooks \
--header 'Authorization: Bearer <token>'{
"hooks": [
{
"method": "POST",
"target_path": "https://httpbin.org/expired-keys",
"api_model": {},
"event_timeout": 0,
"header_map": {
"secret": "superscretkey",
"x-auth": "authvalue"
},
"id": "664b613f5715ec4c96cbef3e",
"name": "Expired Keys webhook",
"org_id": "5e9d9544a1dcd60001d0ed20",
"template_path": "templates/default_webhook.json",
"webhook_id": "1f78e319202b430e92286cff3ca759e3"
}
],
"pages": 123
}Return a paginated list of webhooks.
curl --request GET \
--url https://{tenant}/api/hooks \
--header 'Authorization: Bearer <token>'{
"hooks": [
{
"method": "POST",
"target_path": "https://httpbin.org/expired-keys",
"api_model": {},
"event_timeout": 0,
"header_map": {
"secret": "superscretkey",
"x-auth": "authvalue"
},
"id": "664b613f5715ec4c96cbef3e",
"name": "Expired Keys webhook",
"org_id": "5e9d9544a1dcd60001d0ed20",
"template_path": "templates/default_webhook.json",
"webhook_id": "1f78e319202b430e92286cff3ca759e3"
}
],
"pages": 123
}The Tyk Dashboard API Access Credentials
Use p query parameter to say which page you want returned. Send number less than 0 to return all items.
Webhook fetched.
Show child attributes
"POST"
"https://httpbin.org/expired-keys"
0
"664b613f5715ec4c96cbef3e"
"Expired Keys webhook"
"5e9d9544a1dcd60001d0ed20"
"templates/default_webhook.json"
"1f78e319202b430e92286cff3ca759e3"
Was this page helpful?