Webhooks
Human only

Create a signed webhook endpoint

Human only: A signed-in owner or admin does this in the browser at gtmswag.com. API keys and OAuth connections receive 403 HUMAN_APPROVAL_REQUIRED with a url to hand to that person. The URL must be public HTTPS on port 443. The response carries the signing secret once. Events created before the endpoint are not sent.

post/webhooks

Request

  • Base URL: https://gtmswag.com/api/v1
  • URL: https://gtmswag.com/api/v1/webhooks
  • Auth: API key in cookie gtm_session

Request body

urlstring required

Public HTTPS destination for signed tracking events.

eventsstring[] required

Event types for this webhook, or all.

Response

Success: {"data": WebhookWithSecret}.

Changes

No recorded changes to this operation across all 1 revision of this API.