A tag is a label on a ticket, a contact or an event. The check-in app shows a ticket’s tags when the ticket is scanned, and a prominent tag shows as a colored band on the scan screen.
Tags are created and edited in the Guest Manager dashboard or the Event Ticketing app. Through the API you can list them here, and add or remove them on a ticket with PATCH /tickets/{id}/tags. Tags can’t be created, changed or deleted through the API.
The tag object
Fields tagged default are always returned, unless ?fields= names a subset. A tag has no include relationships.
| Field | Type | Description |
|---|---|---|
id default
|
integer |
The tag ID. This is the ID PATCH /tickets/{id}/tags and filter[tag_ids] on tickets take. |
name default
|
string |
The tag name. |
checkin_display default
|
string |
How the check-in app shows the tag: standard, prominent (a colored band on the scan screen) or hidden (kept off the scan screen). |
color default
|
string |
none, green, yellow, red, indigo, orange, purple, teal, gray, pink or blue. A prominent tag is required to have a color. |
Sample tag
{
"id": 3312,
"name": "Waiver signed",
"checkin_display": "prominent",
"color": "green"
}
List tags
/tagsReturns a page of tag objects under data: every tag on the account, hidden ones included. Deleted tags are left out.
This endpoint is cursor-paginated for every API key. A request without page[cursor] returns the first page, and a request with page[number] returns 400 with type invalid_parameters. The default page holds 10 tags, so send page[size]=100 or follow meta.page.next_cursor to read them all. See Pagination.
curl -X GET \
'https://app.guestmanager.com/api/public/v2/tags?page[cursor]=&page[size]=100&sort[name]=asc' \
-H 'Authorization: Token abcdefg' \
-H 'Content-Type: application/json'
List parameters
| Parameter | Type | Description |
|---|---|---|
page[cursor] |
string |
Opaque cursor token. Send empty for the first page. |
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. |