Webhooks

A webhook sends data from Touchpoint to your system. Touchpoint sends an HTTP request to an address that you give when data of an event (gathering in the schema) changes. You do not have to ask for the data with a query.

A webhook belongs to one event. It receives the changes of that event only.

Webhook types

Touchpoint sends four types of webhook notifications. Each webhook type has a name. Touchpoint puts the name in the X-Touchpoint-Event header of each notification.

Webhook typeX-Touchpoint-EventTouchpoint sends a notification when
Agenda Session Bookmarksagenda_session_bookmarksAn attendee bookmarks an agenda session, or removes a bookmark.
Check Inscheck_insAn attendee checks in.
LeadsleadsA lead is created or changed.
Survey Responsessurvey_responsesA survey response is created or changed.

Set up a webhook

Certain sets up webhooks for you. Send these values to your Certain contact:

Touchpoint adds http:// to an address that has no scheme. Use an https:// address.

One webhook can have more than one webhook type. An event can have more than one webhook. Each webhook that has the webhook type receives its own notification.

The request

Touchpoint sends each notification as an HTTP POST request. The body is JSON.

HeaderContent
Content-Typeapplication/json
Acceptapplication/json
User-AgentTouchpoint-Webhook
X-Touchpoint-EventThe name of the webhook type.
X-Touchpoint-DeliveryA unique identifier (UUID). Each request has its own value.
X-Touchpoint-TimestampThe time when Touchpoint sent the request, as Unix time in seconds.

The body has the same shape for each webhook type. It has the key action and one key for the data. The name of the key for the data depends on the webhook type.

"<resource>": { }

Touchpoint reads the data with a GraphQL query after the change. The sections that follow show the query of each webhook type and an example body.

The names in the body are the names in the query. They are lower case words that have underscores, for example first_name. They are not the camelCase names of the public API.

Fields that have no value are null. An id is a string. A time is a Datetime value. See Scalars.

Agenda session bookmarks

The action is created when an attendee bookmarks an agenda session. The action is removed when an attendee removes the bookmark. The data is in the key agenda_session_bookmark.

"agenda_session_bookmark": {
  "updated_at": "2026-06-14T09:30:12Z",
  "external_id": "crm-4471",
  "external_source": "crm"
}

Check-ins

The action is created. The data is in the key check_in.

A check-in at an agenda session has exhibitor set to null. A check-in at an exhibitor has agenda_session set to null.

"check_in": {
  "checked_in_at": "2026-06-15T14:02:11Z",
  "checked_out_at": null,
  "created_at": "2026-06-15T14:02:12Z",
  "exhibitor": null
}

Leads

The action is created or updated. The data is in the key lead.

The field_values list holds the values of the custom fields of the lead.

"lead": {
  "id": "9301",
  "lead_code": "L-48213",
  "first_name": "Jordan",
  "last_name": "Patel",
  "address": null,
  "street1": null,
  "street2": null,
  "city": "Austin",
  "state": "TX",
  "postal_code": "78701",
  "phone": "+1 555 0100",
  "email": "jordan.patel@example.com",
  "notes": "Wants a demo next week.",
  "created_at": "2026-06-15T15:20:45Z",
  "updated_at": "2026-06-15T15:20:45Z",
  "scanned_at": "2026-06-15T15:20:40Z",
  "scanned_by": {
    "id": "102",
    "first_name": "Riley",
    "last_name": "Chen",
    "organization": "Acme Robotics"
  },
  "exhibitor": {
    "id": "701",
    "name": "Acme Robotics",
    "external_id": null
  },
  "field_values": [
    {
      "id": "55001",
      "value": "Option A|Option B",
      "field_definition": {
        "id": "3001",
        "field_type": "choice",
        "label": "Interest",
        "options": { "choices": ["Option A", "Option B"], "multiple": true }
      }
    }
  ]
}

Survey responses

The action is created or updated. The data is in the key survey_response.

The answers list holds one entry for each answer. The agenda_session is null when the survey is not tied to an agenda session.

"survey_response": {
  "id": "7701",
  "created_at": "2026-06-15T16:10:03Z",
  "updated_at": "2026-06-15T16:10:03Z",
  "survey": { "id": "301", "name": "Session feedback" },
  "external_source": null,
  "login_email": "morgan.hayes@example.com",
  "answers": [
    {
      "id": "88001",
      "answer": "Very useful",
      "question": { "id": "4001", "name": "How useful was the session?" }
    }
  ]
}

Answer a request

Answer each request with an HTTP status code from 200 to 202. Touchpoint then counts the delivery as done. The body of your answer is not used.

Touchpoint counts the delivery as failed in these cases:

Answer fast. Do your own processing after you send the answer.

Retries

Touchpoint makes up to five attempts to deliver each request to each webhook. Touchpoint stops after the fifth attempt.

The time between attempts grows. Touchpoint waits about 5 minutes before the second attempt. The waits that follow are about 10, 15, and 20 minutes. Each wait can be up to one minute longer. The fifth attempt starts about 50 minutes after the first.

Touchpoint can send requests at the same time. A retry can arrive after a request for a later change. Do not assume that requests arrive in the order of the changes.

This article is a copy of Webhooks in the Touchpoint API documentation.

Source: https://touchpoint-support.certain.com/hc/en-us/articles/45282691647767-Webhooks

Published:

Keywords: Touchpoint, webhooks, HTTP POST, GraphQL