Docs / API

Agenda sessions

An agenda session is an item with a start time and an end time on the agenda of an event (gathering in the schema, selected with gatheringId). The AgendaSession type holds the data of a session.

A session can have a location, speakers, terms, related links, education credits, and a check-in code.

Queries and mutations

Field Use
agendaSessions Lists the agenda sessions of an event.
createAgendaSession Creates an agenda session. Returns the new session.
updateAgendaSession Changes an agenda session. Returns the changed session.
deleteAgendaSession Deletes an agenda session. Returns the deleted session.

The query takes gatheringId as an ID!. The mutations take gatheringId and id as an Int!.

List the agenda sessions

agendaSessions takes gatheringId and filters. filters is an AgendaSessionFilters value. Scalars lists the four filter fields.

The list does not include meetings. To list meetings, use the meetings query. See Meetings.

query ListAgendaSessions($gatheringId: ID!) {
  agendaSessions(gatheringId: $gatheringId) {
    id
    name
    startsAt
    endsAt
    location {
      name
    }
    speakers {
      id
      firstName
      lastName
    }
    terms {
      name
      group {
        name
      }
    }
    educationCredits {
      type
      amount
    }
    relatedLinks {
      name
      url
    }
  }
}
{
  "data": {
    "agendaSessions": [
      {
        "id": "501",
        "name": "Opening keynote",
        "startsAt": "2026-06-15T14:00:00Z",
        "endsAt": "2026-06-15T15:00:00Z",
        "location": { "name": "Main hall" },
        "speakers": [{ "id": "301", "firstName": "Avery", "lastName": "Stone" }],
        "terms": [{ "name": "All levels", "group": { "name": "Level" } }],
        "educationCredits": [{ "type": "CME", "amount": 1.5 }],
        "relatedLinks": [{ "name": "Slides", "url": "https://example.com/slides.pdf" }]
      }
    ]
  }
}

The startsAt and endsAt values are in UTC. See Scalars.

Create an agenda session

createAgendaSession takes gatheringId and an AgendaSessionCreateParams value in agendaSession. The fields name and startsAt are required.

mutation CreateAgendaSession($gatheringId: Int!) {
  createAgendaSession(
    gatheringId: $gatheringId
    agendaSession: {
      name: "Product roadmap"
      startsAt: "2026-06-15T16:00:00Z"
      endsAt: "2026-06-15T17:00:00Z"
      location: { name: "Room 2" }
      description: "What is next for the product."
      externalId: "SES-210"
      speakers: [{ id: 301 }]
      terms: [{ name: "All levels", group: { name: "Level" } }]
      educationCredits: [{ type: "CME", amount: 1.0 }]
      relatedLinks: [{ name: "Slides", url: "https://example.com/roadmap.pdf" }]
      generateCheckInCode: true
      checkInType: "code"
    }
  ) {
    id
    name
    startsAt
    endsAt
    location {
      name
    }
    checkInType
    checkInCode
  }
}
{
  "data": {
    "createAgendaSession": {
      "id": "502",
      "name": "Product roadmap",
      "startsAt": "2026-06-15T16:00:00Z",
      "endsAt": "2026-06-15T17:00:00Z",
      "location": { "name": "Room 2" },
      "checkInType": "code",
      "checkInCode": "k3x9"
    }
  }
}

These rules apply to the input fields.

  • speakers takes a list of SpeakerParams. Each item has the id of a speaker that exists. The app shows the speakers in the order of the list. See Speakers.
  • terms takes a list of TermParams. Give each term a group. Touchpoint uses the group and the term that have the same names. If one does not exist, Touchpoint creates it.
  • educationCredits takes a list of EducationCreditParams. Touchpoint finds the credit type by its label. If the type does not exist, Touchpoint creates it.
  • relatedLinks takes a list of RelatedLinkParams. Each link needs a name. The url is the address that the link opens. See Related links.
  • parentAgendaSessionId makes the session a sub-session of the session with that id.
  • generateCheckInCode set to true makes Touchpoint create a code of 4 characters. Touchpoint makes the code only if the session has no code. The checkInCode field shows the code.
  • checkInType is a text. The CMS offers the values unverified, scan, code, time_bounded, code_and_time_bounded, and none.
  • endsAt cannot be before startsAt.
  • timeZone must be a time zone name, such as America/New_York.

If a value is not valid, the mutation fails.

Change an agenda session

updateAgendaSession takes gatheringId, the id of the session, and an AgendaSessionUpdateParams value in agendaSession. All fields are optional.

mutation UpdateAgendaSession($gatheringId: Int!, $id: Int!) {
  updateAgendaSession(
    gatheringId: $gatheringId
    id: $id
    agendaSession: {
      name: "Product roadmap and Q&A"
      endsAt: "2026-06-15T17:30:00Z"
      speakers: [{ id: 301 }, { id: 302 }]
    }
  ) {
    id
    name
    endsAt
    speakers {
      id
      lastName
    }
  }
}
{
  "data": {
    "updateAgendaSession": {
      "id": "502",
      "name": "Product roadmap and Q&A",
      "endsAt": "2026-06-15T17:30:00Z",
      "speakers": [
        { "id": "301", "lastName": "Stone" },
        { "id": "302", "lastName": "Rivera" }
      ]
    }
  }
}

An update changes only the fields that you send. The list in speakers replaces the old list of speakers. The list in relatedLinks replaces the old list of links. The terms list replaces the terms of the session that have no external source. To keep a term, send it again. The educationCredits list adds a credit, or changes the amount of a credit that has the same type.

If the session has an externalSource, Touchpoint also keeps the speakers and the links that someone added in Touchpoint.

Delete an agenda session

deleteAgendaSession takes gatheringId and the id of the session. It returns the session that it deleted.

mutation DeleteAgendaSession($gatheringId: Int!, $id: Int!) {
  deleteAgendaSession(gatheringId: $gatheringId, id: $id) {
    id
    name
  }
}
{
  "data": {
    "deleteAgendaSession": {
      "id": "502",
      "name": "Product roadmap and Q&A"
    }
  }
}