cURL
curl --request POST \ --url https://{tenant}/api/hooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "header_map": {}, "method": "<string>", "name": "<string>", "target_path": "<string>" } '
{ "ID": "<string>", "Message": "<string>", "Meta": "<unknown>", "Status": "<string>" }
Create a webhook. The webhook method and target_path fields are required. Method can either be DELETE,GET,PUT,POST or PATCH.
The Tyk Dashboard API Access Credentials
Webhook data.
Show child attributes
Webhook created.
Was this page helpful?