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