Skip to main content

Overview

Returns the minimum event metadata for a single event, including the event name, slug, and which search features (BIB, selfie, name) are enabled. Use this to check capabilities before calling search endpoints.

Endpoint

GET /api/v1/ext/{org_id}/event/{event_id}/details

Path Parameters

ParameterTypeRequiredDescription
org_idnumberYesYour organisation ID
event_idnumberYesThe event to retrieve

Example Request

curl -i \
  -H "X-API-Key: <your_9pic_api_key>" \
  "https://api.9pic.ai/api/v1/ext/903/event/456/details"

Example Response

{
  "event_id": 456,
  "event_name": "Mumbai Marathon 2026",
  "event_slug": "mumbai-marathon-2026",
  "event_date": "2026-01-19T06:00:00",
  "status": "active",
  "event_enabled": true,
  "bib_search": true,
  "selfie_search": true,
  "name_search": false
}

Response Fields

FieldTypeDescription
event_idnumberUnique event identifier
event_namestring | nullDisplay name of the event
event_slugstring | nullURL-friendly slug
event_datestring | nullEvent date in ISO 8601 format
statusstring | nullCurrent event status
event_enabledbooleanWhether the event is live for external/client use
bib_searchbooleanWhether BIB number search is enabled
selfie_searchbooleanWhether selfie/face search is enabled
name_searchbooleanWhether name-based search is enabled
Check the bib_search, selfie_search, and name_search flags before calling the corresponding search endpoints. If a search type is disabled, the search endpoint will return 403.

Error Responses

StatusMeaning
401API key is missing
403API key is invalid, inactive, token does not belong to this organisation, or event does not belong to this organisation
404Event configuration not found