Get Experience Category
Retrieve a single experience category by its ID.
Endpointโ
GET /v1/experience-categories/{id}
Authenticationโ
Requires an API key with the experiences:read scope.
Parametersโ
| Parameter | Type | Location | Description |
|---|---|---|---|
id | integer | path | The category ID |
Responseโ
Success (200 OK)โ
{
"data": {
"id": 1,
"name": "Water Activities",
"description": "Kayaking, surfing, and paddleboarding",
"image": "https://equipdash.com/storage/categories/water.jpg",
"parent_id": null,
"parent": null,
"children": [
{
"id": 3,
"name": "Kayaking Tours",
"description": "Guided kayak adventures",
"image": null,
"parent_id": 1,
"experience_count": 4,
"created_at": "2025-01-15T00:00:00+00:00",
"updated_at": "2025-01-15T00:00:00+00:00"
}
],
"experience_count": 6,
"linked_types": ["rentals"],
"created_at": "2025-01-01T00:00:00+00:00",
"updated_at": "2025-01-01T00:00:00+00:00"
},
"meta": {
"request_id": "req_abc123",
"timestamp": "2026-01-15T12:00:00+00:00"
}
}
Response Fieldsโ
| Field | Type | Description |
|---|---|---|
id | integer | Unique category identifier |
name | string | Category name |
description | string|null | Category description |
image | string|null | Category image URL |
parent_id | integer|null | Parent category ID |
parent | object|null | Parent category summary (id, name) |
children | array | Child categories |
experience_count | integer | Number of experiences in this category, including experiences for which this is a secondary category. |
linked_types | array | Other booking types this category is linked to (rentals, store); empty when not linked |
created_at | string | ISO 8601 datetime |
updated_at | string | ISO 8601 datetime |
Errorsโ
| Status | Code | Description |
|---|---|---|
| 401 | authentication_required | No API key provided |
| 401 | invalid_api_key | Invalid API key |
| 403 | insufficient_scope | API key lacks experiences:read scope |
| 404 | resource_not_found | Category does not exist |
Example Requestโ
curl -X GET "https://app.equipdash.com/api/v1/experience-categories/1" \
-H "Authorization: Bearer eqd_live_abc123xyz789..."