curl --request POST \
--url https://api.tickable.io/tickets/{ticket_id}/scan \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"scanner_id": "e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f"
}
'import requests
url = "https://api.tickable.io/tickets/{ticket_id}/scan"
payload = { "scanner_id": "e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({scanner_id: 'e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f'})
};
fetch('https://api.tickable.io/tickets/{ticket_id}/scan', 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.tickable.io/tickets/{ticket_id}/scan",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'scanner_id' => 'e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.tickable.io/tickets/{ticket_id}/scan"
payload := strings.NewReader("{\n \"scanner_id\": \"e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.tickable.io/tickets/{ticket_id}/scan")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"scanner_id\": \"e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tickable.io/tickets/{ticket_id}/scan")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"scanner_id\": \"e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f\"\n}"
response = http.request(request)
puts response.read_body{
"ticket_id": "c3d4e5f6-7890-4a1b-2c3d-4e5f6a7b8c9d",
"status": "valid",
"scanned_before": false,
"event": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"title": "Summer Festival 2026",
"location": "Vondelpark"
},
"timeslot": {
"title": "Morning Session",
"starts_at": "2026-06-15T10:00:00Z",
"ends_at": "2026-06-15T12:00:00Z"
},
"ticket_type": {
"id": "b2c4e6a8-1234-4f5a-9c8d-0e1f2a3b4c5d",
"name": "Early Bird",
"price": 2500
},
"owner_name": "Jane Doe",
"owner_email": "jane@example.com",
"seat": "A12",
"scanned_at": "2026-06-15T14:30:00Z",
"cancelled_at": null,
"related_tickets": [
{
"id": "a1b2c3d4-5678-4e9f-0a1b-2c3d4e5f6a7b",
"seat": "A13",
"owner_name": "John Doe",
"owner_email": "john@example.com",
"scanned_at": null,
"cancelled_at": null,
"ticket_type_name": "Early Bird"
}
]
}Scan Ticket
Scan a ticket using a scanner registered to your organization. If scanner_id is omitted, the first active scanner in your organization is used. The scanner’s profile rules, timeslot restrictions, and scan windows are enforced automatically. Requires the tickets.write scope.
curl --request POST \
--url https://api.tickable.io/tickets/{ticket_id}/scan \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"scanner_id": "e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f"
}
'import requests
url = "https://api.tickable.io/tickets/{ticket_id}/scan"
payload = { "scanner_id": "e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({scanner_id: 'e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f'})
};
fetch('https://api.tickable.io/tickets/{ticket_id}/scan', 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.tickable.io/tickets/{ticket_id}/scan",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'scanner_id' => 'e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.tickable.io/tickets/{ticket_id}/scan"
payload := strings.NewReader("{\n \"scanner_id\": \"e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.tickable.io/tickets/{ticket_id}/scan")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"scanner_id\": \"e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tickable.io/tickets/{ticket_id}/scan")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"scanner_id\": \"e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f\"\n}"
response = http.request(request)
puts response.read_body{
"ticket_id": "c3d4e5f6-7890-4a1b-2c3d-4e5f6a7b8c9d",
"status": "valid",
"scanned_before": false,
"event": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"title": "Summer Festival 2026",
"location": "Vondelpark"
},
"timeslot": {
"title": "Morning Session",
"starts_at": "2026-06-15T10:00:00Z",
"ends_at": "2026-06-15T12:00:00Z"
},
"ticket_type": {
"id": "b2c4e6a8-1234-4f5a-9c8d-0e1f2a3b4c5d",
"name": "Early Bird",
"price": 2500
},
"owner_name": "Jane Doe",
"owner_email": "jane@example.com",
"seat": "A12",
"scanned_at": "2026-06-15T14:30:00Z",
"cancelled_at": null,
"related_tickets": [
{
"id": "a1b2c3d4-5678-4e9f-0a1b-2c3d4e5f6a7b",
"seat": "A13",
"owner_name": "John Doe",
"owner_email": "john@example.com",
"scanned_at": null,
"cancelled_at": null,
"ticket_type_name": "Early Bird"
}
]
}Authorizations
Pass as Authorization: Bearer {token}. Accepts either an OAuth2 JWT access token or an API key (tk_live_...) created from the Tickable dashboard.
Path Parameters
Ticket ID
"c3d4e5f6-7890-4a1b-2c3d-4e5f6a7b8c9d"
Body
Scanner ID. If omitted, the first active scanner in your organization is used.
"e5f6a7b8-9012-4c3d-4e5f-6a7b8c9d0e1f"
Response
Scan result
"c3d4e5f6-7890-4a1b-2c3d-4e5f6a7b8c9d"
valid, scanned, cancelled, not_allowed "valid"
false
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
"Jane Doe"
"jane@example.com"
"A12"
"2026-06-15T14:30:00Z"
null
Other tickets in the same order, if the event has order scanning enabled
Show child attributes
Show child attributes