cURL
curl --request POST \ --url http://localhost:3001/portal-api/webhooks \ --header 'Content-Type: application/json' \ --data '{ "Name": "<string>", "URL": "<string>", "Method": "<string>", "Timeout": 123, "Events": [ "AccessRequestApproved" ] }'
{ "ID": "<string>", "Name": "<string>", "URL": "<string>", "Method": "<string>", "Timeout": 123, "Headers": [ { "ID": "<string>", "Name": "<string>", "Value": "<string>" } ], "Events": [ "AccessRequestApproved" ], "CreatedAt": "2023-06-25 13:37", "UpdatedAt": "2023-06-25 13:37" }
Creates a new webhook configuration.
Show child attributes
Was this page helpful?