Docs / API
API
The Touchpoint GraphQL API lets your systems read and change event data. Use it to copy data between Touchpoint and your own systems.
What the API covers
The API works on the data of an event (gathering in the schema, selected with gatheringId). The table shows what you can do with each kind of data.
| Data | Read | Change |
|---|---|---|
| Attendees | Yes | Create, change, and delete |
| Agenda sessions | Yes | Create, change, and delete |
| Exhibitors | Yes | Create, change, and delete |
| Meetings | Yes | Create, change, and delete |
| Speakers | Yes | Create, change, and delete |
| Events | Yes | Create and change |
| Check-ins | Yes | No |
| Leads | Yes | No |
| Survey responses | Yes | No |
| Info items | Yes | No |
| Related links | Yes | No |
The reference lists every query in RootQueryType and every mutation in RootMutationType.
Connect
Send every request to this address.
https://api.certaintouchpoint.com/graphql
Use the HTTP method POST and a JSON body. Every query and mutation field needs a bearer token, except login and pulse.
To get a token, call the login mutation with the credentials of an API user. The token is valid for one day. See Getting started for each step.
Which events an API user can reach
You create API users in the CMS. An API user is one of two kinds.
- An organization-wide API user reaches every event of the organization.
- A restricted API user reaches only the events that you select for it.
A restricted API user cannot use the gatherings query or the createGathering mutation. Both of them work on an app.
If a request names an event that the API user cannot reach, the answer is the error Unauthorized gathering id.
Names and tools
Field names and argument names use camelCase. The API supports introspection, so GraphQL tools can load the schema. The reference lists every type and field.
Touchpoint also supports webhooks, which send event changes to your systems.
Guides
- Getting started shows how to sign in and send your first query.
- Pagination shows how to read a long list of attendees.
- Errors lists the errors and the HTTP status codes.
- Scalars describes the date and file formats.
- Types describes the types that many queries share.