Session Data
/api/event-sessions/{session_id}
Returns one session by its session ID. Use the with parameter to include extra data.
Requires your API key in the Authorization: Bearer <API key> header.
Path parameters#
| Name | Required | Description |
|---|---|---|
session_id |
Yes | The session ID. |
Query parameters#
| Name | Required | Description |
|---|---|---|
with |
No | Comma-separated list of extra data to include: files, email_shares, text_shares, surveys. |
Response#
| Field | Description |
|---|---|
session_id |
Session ID. |
datetime |
Session date and time, formatted DD/MM/YYYY h AM/PM. |
hidden |
1 if the session is hidden from the gallery. |
blocked |
1 if the session is blocked from all views. |
files |
Media in the session (only with with=files). Same fields as Find Media. |
email_shares, text_shares, surveys |
Only included when requested. |
Returns 404 if the session is not in your account.
curl -g 'https://eventkite.app/api/event-sessions/{session_id}?with=files' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json'
const res = await fetch("https://eventkite.app/api/event-sessions/{session_id}?with=files", {
method: "GET",
headers: {
"Authorization": "Bearer <YOUR_API_KEY>",
"Accept": "application/json",
"Content-Type": "application/json",
},
});
const data = await res.json();
import requests
url = "https://eventkite.app/api/event-sessions/{session_id}"
params = {
"with": "files",
}
headers = {
"Authorization": "Bearer <YOUR_API_KEY>",
"Accept": "application/json",
"Content-Type": "application/json",
}
res = requests.get(url, params=params, headers=headers)
print(res.json())
$ch = curl_init('https://eventkite.app/api/event-sessions/{session_id}?with=files');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer <YOUR_API_KEY>',
'Accept: application/json',
'Content-Type: application/json',
],
]);
$data = json_decode(curl_exec($ch), true);
{
"data": {
"session_id": "ABC123XYZ",
"datetime": "14/02/2026 7PM",
"hidden": 0,
"blocked": 0,
"files": [
{
"event_url": "https://gallery.example.com/g/summer-party-2026",
"session_url": "https://gallery.example.com/g/summer-party-2026/s/ABC123XYZ",
"session_id": "ABC123XYZ",
"type": "photo",
"manually_uploaded": 1,
"file_url": "https://files.example.com/media/ABC123XYZ/photo-1.jpg",
"width": 1800,
"height": 1200
}
]
}
}