GET
/api/v1/experiencesScope: experiences:read
Every experience in the organization, published and unpublished. Requires the "experiences:read" scope.
Query parameters#
| Field | Type | Description |
|---|---|---|
limit | integermin 1 · max 100 · default 25 | How many results to return, 1-100. Defaults to 25. |
order | stringdefault "desc" | Sort by creation time: "desc" (newest first, default) or "asc". "asc""desc" |
starting_after | string≥ 1 chars | The next_cursor from a previous page. Opaque — pass it back verbatim. |
published | string | Filter on publication state. Omit to get both published and unpublished. "true""false" |
updated_since | string | Only experiences changed at or after this ISO 8601 timestamp. |
Example request#
bash
curl -X GET "https://your-site.awrora.app/api/v1/experiences" \
-H "Authorization: Bearer $AWRORA_API_KEY"Responses#
200A page of experiences.400Invalid request — codes "validation_failed" or, on an endpoint that requires one, "idempotency_key_required".401Missing, invalid, revoked or expired API key — codes "api_key_missing", "api_key_invalid", "api_key_revoked", "api_key_expired".403The API app is off, the plan does not include the API, or the key lacks the required scope — codes "app_not_enabled", "plan_upgrade_required", "insufficient_scope" (the last carries "required_scope").429Rate limit exceeded — code "rate_limited". See the x-ratelimit-* headers.500Something went wrong on our side — code "internal_error".
Response 200
| Field | Type | Description |
|---|---|---|
datarequired | object[] | The page of results, in the requested order. |
has_morerequired | boolean | True when more results exist after this page. Fetch them with next_cursor. |
next_cursorrequired | string | null | Pass this back as ?starting_after= to fetch the next page. Null when has_more is false. Opaque — do not parse it. |
200 response
{
"data": [
{
"id": "res_8f2k3n",
"slug": "string",
"title": "string",
"is_published": true,
"excerpt": "string",
"duration_minutes": -9007199254740991,
"duration": "string",
"difficulty": "string",
"address": "string",
"latitude": 1,
"longitude": 1,
"image_url": "https://example.com/webhooks/awrora",
"languages": [
"string"
],
"tags": [
"string"
],
"price_from": {
"amount_minor": -9007199254740991,
"currency": "SEK"
},
"price_tiers": [
{
"id": "res_8f2k3n",
"name": "string",
"price": {
"amount_minor": null,
"currency": null
},
"seats_per_unit": -9007199254740991
}
],
"min_participants": -9007199254740991,
"hours_before_booking_closes": -9007199254740991,
"created_at": "string",
"updated_at": "string"
}
],
"has_more": true,
"next_cursor": "string"
}