cURL
curl --request PUT \ --url https://operator.io/api/webhooks/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "promptTemplate": "<string>", "enabled": true, "regenerateToken": true } '
{ "webhook": { "id": "<string>", "name": "<string>", "promptTemplate": "<string>", "token": "<string>", "enabled": true, "createdAt": "2023-11-07T05:31:56Z" } }
API key (ck_live_...). Create one in Settings > API Keys.
ck_live_...
Set to true to regenerate the trigger URL token.
Updated.
Show child attributes