List My Tickets
curl --request GET \
--url https://www.gomry.com/api/v1/me/tickets \
--header 'X-API-KEY: <api-key>'import requests
url = "https://www.gomry.com/api/v1/me/tickets"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://www.gomry.com/api/v1/me/tickets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.gomry.com/api/v1/me/tickets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.gomry.com/api/v1/me/tickets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.gomry.com/api/v1/me/tickets")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.gomry.com/api/v1/me/tickets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"tickets": [
{
"ticket_id": "<string>",
"status": "<string>",
"attendance": "<string>",
"ticket_type": {},
"holder": {},
"can_transfer": true,
"order_id": {},
"event": {},
"pending_transfer": {}
}
],
"truncated": true
}Personal agents: my account
List My Tickets
The signed-in person’s own tickets, for their personal agent
GET
/
me
/
tickets
List My Tickets
curl --request GET \
--url https://www.gomry.com/api/v1/me/tickets \
--header 'X-API-KEY: <api-key>'import requests
url = "https://www.gomry.com/api/v1/me/tickets"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://www.gomry.com/api/v1/me/tickets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.gomry.com/api/v1/me/tickets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.gomry.com/api/v1/me/tickets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.gomry.com/api/v1/me/tickets")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.gomry.com/api/v1/me/tickets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"tickets": [
{
"ticket_id": "<string>",
"status": "<string>",
"attendance": "<string>",
"ticket_type": {},
"holder": {},
"can_transfer": true,
"order_id": {},
"event": {},
"pending_transfer": {}
}
],
"truncated": true
}Returns the tickets the signed-in person holds or was invited with, one entry per ticket, ordered by event date.
Tickets are found by the account and by its verified email addresses, so tickets bought as a guest with the same address are included. Tickets for deleted events are left out.
Personal agents only. Call it with a Personal Agent Protocol Session Token (
Authorization: DPoP <token> plus a DPoP proof), signed in with the poppy:read scope. Discovery: https://www.gomry.com/.well-known/poppy.json. An organization API key or an agent credential gets 403 personal_agent_only: it has no “me”.Errors
| Status | error | Meaning |
|---|---|---|
| 403 | sign_in_required | The Session is signed out. WWW-Authenticate: DPoP error="sign_in_required". Sign the person in, then retry. |
| 403 | insufficient_scope | The Session lacks poppy:read. WWW-Authenticate names the scope. |
| 403 | personal_agent_only | Not a Personal Agent Protocol Session. |
Query Parameters
string
default:"upcoming"
upcoming (events that have not ended, soonest first), past (most recent first), or all.Response
array
Show Ticket object
Show Ticket object
string
Pass this to the transfer endpoints.
string
valid, checked_in, pending_approval, invited or maybe.string
going (holds a ticket), invited (invited, has not accepted), awaiting_approval (the organizer has not approved yet) or interested (waitlist or maybe).string | null
The ticket type’s name.
object
name and email on the ticket.boolean
True when this account holds the ticket and it can be offered now: valid, not checked in, no transfer waiting. A ticket from a multi-ticket order can still be refused with
shared_payment.string | null
The order it was bought on.
object
id, name, url (the public event page), starts_at and ends_at (ISO 8601, UTC), timezone (IANA) and venue (name, address).object | null
A transfer waiting to be accepted:
to_email, to_name, expires_at, expired.boolean
True when the person has more tickets than one response holds (200).

