cURL
curl --request POST \ --url https://cloud-api.phala.com/api/v1/workspace/webhooks \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "events": [ "<string>" ], "name": "<string>", "secret": "<string>" } '
{ "id": "<string>", "url": "<string>", "events": [ "<string>" ], "enabled": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "secret": "<string>", "name": "<string>" }
100
Successful Response
Was this page helpful?