Get ticket details
curl --request GET \
--url https://api-staging.tickify.io/partners/tickets/{ticketId} \
--header 'x-partner-key: <api-key>'import requests
url = "https://api-staging.tickify.io/partners/tickets/{ticketId}"
headers = {"x-partner-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-partner-key': '<api-key>'}};
fetch('https://api-staging.tickify.io/partners/tickets/{ticketId}', 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://api-staging.tickify.io/partners/tickets/{ticketId}",
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-partner-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://api-staging.tickify.io/partners/tickets/{ticketId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-partner-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://api-staging.tickify.io/partners/tickets/{ticketId}")
.header("x-partner-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.tickify.io/partners/tickets/{ticketId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-partner-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"ticket": {
"_id": "64a1b2c3d4e5f6789012345",
"ticketKey": "a1b2c3d4-e5f6-7890",
"eventKey": "evt_xyz789",
"status": "PAID",
"user": {
"email": "fan@example.com",
"name": "John Doe"
}
}
}Partner Tickets
Get ticket details
Retrieve full details for a specific ticket by its MongoDB ID.
Authorization Check: Ensures the ticket belongs to an event managed by the authenticated partner.
GET
/
partners
/
tickets
/
{ticketId}
Get ticket details
curl --request GET \
--url https://api-staging.tickify.io/partners/tickets/{ticketId} \
--header 'x-partner-key: <api-key>'import requests
url = "https://api-staging.tickify.io/partners/tickets/{ticketId}"
headers = {"x-partner-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-partner-key': '<api-key>'}};
fetch('https://api-staging.tickify.io/partners/tickets/{ticketId}', 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://api-staging.tickify.io/partners/tickets/{ticketId}",
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-partner-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://api-staging.tickify.io/partners/tickets/{ticketId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-partner-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://api-staging.tickify.io/partners/tickets/{ticketId}")
.header("x-partner-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.tickify.io/partners/tickets/{ticketId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-partner-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"ticket": {
"_id": "64a1b2c3d4e5f6789012345",
"ticketKey": "a1b2c3d4-e5f6-7890",
"eventKey": "evt_xyz789",
"status": "PAID",
"user": {
"email": "fan@example.com",
"name": "John Doe"
}
}
}
