REST API

Questions

Reusable attendee questions, such as dietary needs or t-shirt size.

A question is a reusable custom field collected from attendees (dietary restrictions, t-shirt size, arrival method, anything event-specific). A question set places questions on the registration form and the other places attendees answer them.

Answers are stored on each ticket and returned by ?include=custom_fields on Tickets.

The question object

Fields tagged default are always returned, unless ?fields= names a subset. Fields tagged include are returned only when named in ?include=.

A single-question response (get, create and update) also returns options when no include is passed. Passing any include limits it to what you name, so ask for include=options,kind_locked to get both.

Field Type Description
id default integer The question ID.
kind default string The type of answer the question takes. See Question kinds.
name default string The label shown to attendees. Unique among a company’s own questions.
reference default string / null A short admin name, shown in lists and reports.
position default integer Order among the company’s questions, such as the custom field columns on the attendee list. The order on a form is set per question set.
required default boolean Legacy flag, kept for existing integrations. Whether a form requires an answer is set per question set, in the placement’s surfaces_state. See Question placement settings.
printable default boolean Legacy flag that marks the answer for printing, kept for existing integrations.
metadata default object Display settings. The app writes display: dropdown or radio for a multiple_choice question, switch for a checkbox shown as a toggle. Empty ({}) when none are set.
display_defaults default object Copy shown with the input: any of placeholder, details (help text), default_value and error_text. Empty ({}) when none are set.
question_set_fields_count default integer How many question sets place this question.
builtin_attribute default string / null Which built-in question this is, or null for a question the company created. See Built-in questions.
options include array The choices of a multiple_choice question, as { id, name, value, position }. value is null unless one was set. Empty for other kinds.
kind_locked include boolean true when the question has answers, which fixes its kind. See Kind lock.
waiver_document include object / null For a waiver question, the most recently written waiver terms across the sets that place it: { id, question_set_field_id, body, version, acceptance_mode, heading, announcement_content, acceptance_label, banner_url }. acceptance_mode is clickwrap or typed_signature. null for other kinds, or when no terms have been written.

This question was fetched with GET /questions/4821, so it also carries options.

Sample question

{
  "id": 4821,
  "kind": "multiple_choice",
  "name": "T-shirt size",
  "reference": "tshirt",
  "position": 3,
  "required": false,
  "printable": false,
  "metadata": {
    "display": "dropdown"
  },
  "display_defaults": {
    "details": "Pick the size you want on the day."
  },
  "question_set_fields_count": 0,
  "builtin_attribute": null,
  "options": [
    {
      "id": 12,
      "name": "Small",
      "value": null,
      "position": 1
    },
    {
      "id": 13,
      "name": "Medium",
      "value": null,
      "position": 2
    },
    {
      "id": 14,
      "name": "Large",
      "value": "L",
      "position": 3
    }
  ]
}

Question kinds

kind Description
text Single-line text input.
text_area Multi-line text input.
email Email-validated text input.
phone Phone number input.
url Web address input.
number Numeric input.
currency Amount of money.
date Date picker.
checkbox Single checkbox.
multiple_choice One choice from options.
file File upload.
waiver A waiver the attendee accepts. See Custom fields.

Other values can appear on read: full_name, photo, signature and address.

A multiple_choice question takes one answer. If question[metadata] has a multiple_answers key, create and update return 422 with a validation_error on metadata (code multiple_answers_unsupported) and nothing is saved.

Built-in questions

Each company has built-in questions that fill the ticket’s or contact’s own fields rather than storing a custom answer. builtin_attribute names which one: name, email, photo, phone, member_id or list. Every other question has builtin_attribute: null.

Built-in questions can be read but not edited or deleted: update and delete return 404. This only limits the API: whether a built-in is asked (hidden, optional or required) is set per question set in the app. See Question sets.

Kind lock

Once a question has an answer (a kept answer with a value, a chosen option, a file or a signed waiver), its kind can only move between text, text_area, email, phone and url, which all store plain text. Any other kind change returns 422 with a validation_error on kind (code locked_once_answered). To collect a different type, create a new question.

kind_locked reports this lock. Pass ?include=kind_locked on GET /questions, or ?include=options,kind_locked on GET /questions/{id} to keep the options. On a question set, use ?include=questions,questions.kind_locked.

List questions

GET /questions

Returns a page of question objects under data, built-in questions included. Rows carry only the default fields plus whatever include names.

curl -X GET \
  'https://app.guestmanager.com/api/public/v2/questions?include=options' \
  -H 'Authorization: Token abcdefg' \
  -H 'Content-Type: application/json'

List parameters

Parameter Type Description
page[cursor] string Opaque cursor token. Send empty for first page. See Pagination.
page[size] integer Records per page. Default 10, maximum 100.
sort[{field}] string Sort by id, created_at, updated_at, name. Value is asc or desc.
fields string Comma separated list of fields to return.
include string Comma separated: options, kind_locked, waiver_document. See The question object.

Get question

GET /questions/{id}

Returns a question object, including a built-in one.

curl -X GET \
  'https://app.guestmanager.com/api/public/v2/questions/4821?include=options,kind_locked' \
  -H 'Authorization: Token abcdefg' \
  -H 'Content-Type: application/json'

Create question

POST /questions

Creates a question in the company’s library. Returns 201 with the question object. To ask it on a form, place it in a question set with POST /question_set_fields. See Question placement settings.

Create a multiple-choice question

curl -X POST \
  https://app.guestmanager.com/api/public/v2/questions \
  -H 'Authorization: Token abcdefg' \
  -H 'Content-Type: application/json' \
  -d '{
    "question": {
      "name": "T-shirt size",
      "kind": "multiple_choice",
      "options": [
        { "name": "Small",  "position": 1 },
        { "name": "Medium", "position": 2 },
        { "name": "Large",  "position": 3 }
      ]
    }
  }'

Create parameters

Parameter Type Required Description
question[name] string yes The label shown to attendees. Must be unique among the company’s own questions.
question[kind] string yes One of the question kinds.
question[reference] string no A short admin name, shown in lists and reports.
question[position] integer no Order among the company’s questions. The order on a form is set per question set.
question[metadata][display] string no How the input is drawn. See metadata in The question object.
question[display_defaults] object no Any of placeholder, details, default_value and error_text.
question[options] array no The choices of a multiple_choice question. Array of { name, value, position }. Not checked: a multiple_choice question saves without any. Use _destroy: true to remove an existing option on update.
question[required] boolean no Legacy flag, kept for existing integrations. Set whether a form requires an answer on the question set placement instead.
question[printable] boolean no Legacy flag, kept for existing integrations.

Update question

PATCH /questions/{id}

Takes the same parameters as create. Returns the question object. A change applies to every question set that places the question.

To change the options of a multiple_choice question, pass options with the existing option IDs. An option without an id is added, and _destroy: true removes one:

{
  "question": {
    "options": [
      { "id": 12, "name": "Small",   "position": 1 },
      { "id": 13, "name": "Medium",  "position": 2 },
      { "id": 14, "name": "X-Large", "position": 3 },
      { "name": "XX-Large", "position": 4 },
      { "id": 15, "_destroy": true }
    ]
  }
}

An answered question’s kind is locked. See Kind lock.

Delete question

DELETE /questions/{id}

Deletes the question and removes it from every question set that places it. Returns 204 No Content. Its answers are deleted too: they no longer appear in a ticket’s custom_fields.

If a display-logic condition in any question set reads this question, the delete returns 422 with type has_dependents and a message naming the questions and groups whose conditions read it, and nothing is deleted. Remove those conditions first. The same applies to removing a choice (an options entry with _destroy) that a condition’s value points at.

List question set overrides

GET /question_sets/overrides

Lists upcoming events whose own event settings choose a question set, overriding the company default: { data: [{ event: { id, name }, question_set: { id, name } }] }. A recurring series is listed once, under the series’ event id. The list is not paginated.

  • Only the event’s own setting counts. A set chosen for one of the event’s ticket types, or for a ticket type in general, is not listed here; it shows in that set’s usage.
  • Draft (inactive) sets are left out, because a draft set is not applied to the event.
  • An event set to collect no questions is listed with the system set named “No questions”.

Added 2026-11-20.

Question groups

A question set can arrange its questions into groups. A placement joins one through question_set_field[question_group_id], and GET /question_sets/{id}?include=groups returns the set’s groups in order.

POST /question_groups, PATCH /question_groups/{id} and DELETE /question_groups/{id} create, update and delete a group. Deleting a group keeps its questions and ungroups them.

Field Type Description
id integer The group ID.
name string / null The heading shown above the group’s questions.
description string / null Text shown under the heading.
position integer Order among the set’s groups.
conditions object / null Display logic for the whole group, in the same shape as a placement’s conditions. A question in a group whose rule is not met is hidden, whatever its own rule says.
style string standard (the default) or waiver. A waiver group is drawn as one signing step: the first waiver’s terms, the group’s questions, then each waiver as a signature. It behaves as standard until it holds a waiver question with terms.
Parameter Type Description
question_group[question_set_id] integer Required on create. The set the group belongs to.
question_group[name] string The heading.
question_group[description] string Text under the heading.
question_group[conditions] object Display logic. Replaces the stored rule.
question_group[style] string standard or waiver. Any other value returns 422.

A waiver group holds attendee questions only. Adding a buyer (order-bound) question to one, or changing a group that holds one to waiver, returns 422.

style added 2026-11-26.

Waiver documents

A waiver question’s terms are a waiver document on its placement (POST /waiver_documents, PATCH /waiver_documents/{id}). terms_url is an optional link to the full terms, shown to signers beside the terms text. It must start with http:// or https://; anything else returns 422. Changing it does not change the document’s version.

terms_url added 2026-11-26.

Question placement settings

A question is placed into a question set through a question set field (POST /question_set_fields, PATCH /question_set_fields/{id}). Per-placement settings such as surfaces_state and lock_after live there, and transfer_behavior is returned on each question set field (and on each row of a question set’s questions).

Parameter Type Description
question_set_field[transfer_behavior] string What happens to the answer when a ticket is transferred. merge: the recipient keeps any answer they already gave and gets the sender’s answer where they have none. carry: the sender’s answer always wins. reset: the recipient starts blank. null (the default) means merge, except for waiver questions, which default to reset. Any other value returns 422.

A waiver signature is copied to the recipient only when transfer_behavior is merge or carry. The copy is marked with transferred_from_ticket (the sender’s ticket number) in the signature’s agreement metadata.

A custom question created or updated through the API without an attendee_form surface in surfaces_state is hidden on the Guest Manager attendee registration page. Include attendee_form in surfaces_state (for example "attendee_form": "optional") for the question to appear there.

Display logic

A question set field and a question group can each carry conditions, which decide when the question or the whole group is shown:

"conditions": {
  "operator": "and",
  "conditions": [
    { "question_ref": "4711", "op": "lt", "value": 18 }
  ]
}
  • question_ref is the id of another question set field in the same set, as a string. It must be a question placed before this one. A group’s condition can’t read a question in that group.
  • op must suit the kind of the question it reads (see the table). On a multiple_choice question, value is a choice id (eq, neq) or an array of choice ids (in, not_in). present and blank take no value.
  • operator is and (every condition must match, the default) or or (any one).
  • Send {} to remove all conditions.
Kind of the question read Allowed op
multiple_choice eq, neq, in, not_in, present, blank
number eq, neq, gt, lt, present, blank
checkbox, file, photo, signature present, blank
any other kind eq, neq, present, blank

An invalid condition returns 422 with a validation_error on conditions. Conditions saved before 2026-11-29 keep saving until you change them.

Other refusals that protect display logic:

  • DELETE /question_set_fields/{id} returns 422 (type has_dependents) when another question’s or a group’s conditions read that question.
  • Setting question_group_id to a group whose conditions read this question returns 422 on question_group (code rule_reads_member): the group would hide itself.

Added 2026-11-29.

Question set usage

GET /question_sets and GET /question_sets/{id} return a usage object saying where each set is in use:

"usage": {
  "events_count": 40,
  "events": [{ "id": 512, "name": "Summer Fest" }]
}
Field Type Description
events_count integer Number of events the set applies to. An event counts when the set is chosen for the event, for one of the event’s ticket types, or for a ticket type in general. Deleted events and ticket types are not counted.
events array Up to 12 of those events as { id, name }, newest first. Use events_count for the total.

Pass context_event_id on GET /question_sets/{id} to leave that event out of both fields.

Changed 2026-11-20: usage used to count only events where the set was chosen for one of the event’s ticket types, and listed every such event. It now counts all three, and events is capped at 12.

Question set settings

GET /question_sets, GET /question_sets/{id}, POST /question_sets and PATCH /question_sets/{id} read and write auto_transfer on a question set.

Field / Parameter Type Default Description
auto_transfer / question_set[auto_transfer] boolean false When true, entering an attendee name and an email address different from the buyer’s automatically starts a ticket transfer to that attendee so they can complete their own details and sign waivers. Requires transfers to be enabled on the ticket type.

Added 2026-12-02.