x-api-key: ********************
{ "webhookName": "string", "restrictedAppIds": [ "string" ], "webhookType": "job", "endpointUrl": "string", "webhookReference": "string" }
curl --location --request POST 'https://api.promptmate.io/v1/webhooks' \ --header 'Content-Type: application/json' \ --header 'x-api-key;' \ --data-raw '{ "webhookName": "string", "restrictedAppIds": [ "string" ], "webhookType": "job", "endpointUrl": "string", "webhookReference": "string" }'
[ { "webhookId": "string", "webhookName": "string", "restrictedAppIds": [ "string" ], "webhookType": "job", "endpointUrl": "string", "webhookReference": "string" } ]