Choose the webhook's events

Replace the list of event kinds the workspace's webhook endpoint receives. An empty list sends nothing.

PUThttps://app.trygtm.com/api/v1/integrations/webhook/events
Scope
write

Headers

Idempotency-Keystringoptional
A key unique to this write, up to 255 characters. A retry carrying the same key returns the first response instead of running again. Kept for 24 hours.

Body

eventsstring[]required
The event kinds to deliver.reply.receivedreply.opt_outmeeting.bookedcontact.createdsequence.step

Request

curl -X PUT https://app.trygtm.com/api/v1/integrations/webhook/events \
  -H "Authorization: Bearer $TRYGTM_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "events": "reply.received"
  }'

Response

{
  "data": {
    "events": [
      "reply.received",
      "meeting.booked"
    ]
  }
}

Was this page helpful?