AI GNT API
string · uuid · required
string · uuid · required
custom-webhooks
Create Custom Webhook Source
POST
https://api.gntai.dev
/v1/settings/custom-webhooks
Rotate Custom Webhook Source Secret
POST
https://api.gntai.dev
/v1/settings/custom-webhooks/{source_id}/rotate
Mints a fresh signing secret for an existing source, same receiving URL — for a leaked secret or routine rotation, without the customer's app having to be reconfigured with a new URL too.
path Parameters
source_idRotate Custom Webhook Source Secret › Responses
Successful Response
No data returned
Delete Custom Webhook Source
DELETE
https://api.gntai.dev
/v1/settings/custom-webhooks/{source_id}
Hard delete — custom_webhook_items rows for this source cascade with it (migration 0058's ondelete="CASCADE"), so any rule already drafted from this source keeps its citation, but CustomWebhookFetchAdapter's next re-check of it raises ConnectorNotConnectedError (see that module's docstring) instead of finding stale content to compare against.
path Parameters
source_idDelete Custom Webhook Source › Responses
Successful Response
No data returned