Skip to main content
GET
/
events
/
v1
Retrieve events
curl --request GET \
  --url https://api.spacebring.com/events/v1 \
  --header 'Authorization: Basic <encoded-value>'
{
  "events": [
    {
      "confirmationEmail": {
        "enabled": true,
        "template": "<string>"
      },
      "createDate": "2023-11-07T05:31:56Z",
      "customTax": {
        "enabled": true,
        "rate": 123
      },
      "endDate": "2023-11-07T05:31:56Z",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "limitedAttendees": {
        "enabled": true,
        "limit": 0
      },
      "location": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "timezoneId": "<string>",
        "title": "<string>"
      },
      "locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "media": [
        {
          "key": "<string>",
          "url": "<string>"
        }
      ],
      "networkRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "price": {
        "credits": {
          "amount": 123,
          "enabled": true,
          "amountDiscounted": 123
        },
        "money": {
          "amount": 123,
          "enabled": true,
          "amountDiscounted": 123
        }
      },
      "showAttendees": true,
      "startDate": "2023-11-07T05:31:56Z",
      "title": "<string>",
      "attendees": 0,
      "cancelDate": "2023-11-07T05:31:56Z",
      "deleteDate": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "imageUrl": "<string>",
      "joined": true,
      "locale": "<string>",
      "venue": "<string>"
    }
  ],
  "searchQueryNext": "<string>"
}

Authorizations

Authorization
string
header
required

See our authentication documentation for how to authorize your requests

Query Parameters

locationRef
string<uuid>
required

The id of the location.

limit
integer
default:25

The number of events to retrieve. Default: 25

nextPageToken
string

Token to retrieve the next page of results. Opaque cursor token for retrieving the next page of results. Pass this value as the nextPageToken query parameter in your next request.

order
string

The order of the events. createDate:asc, createDate:desc, startDate:asc, startDate:desc, endDate:asc, endDate:desc or relevance

Response

OK

events
object[]
searchQueryNext
string

Pre-built query string for the next page of results. Contains all active filter parameters combined with the next page token, ready to append to the endpoint URL.