Skip to main content
GET
/
community
/
companies
/
v1
Retrieve companies
curl --request GET \
  --url https://api.spacebring.com/community/companies/v1 \
  --header 'Authorization: Basic <encoded-value>'
{
  "companies": [
    {
      "billingAddress": "<string>",
      "businessAddress": {
        "city": "<string>",
        "countryCode": "<string>",
        "line1": "<string>",
        "line2": "<string>",
        "postalCode": "<string>",
        "state": "<string>"
      },
      "createDate": "2023-11-07T05:31:56Z",
      "credits": {
        "expiring": 123,
        "permanent": 123
      },
      "dayPasses": {
        "expiring": 123
      },
      "deleteDate": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "legalName": "<string>",
      "locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "metadata": {},
      "notes": "<string>",
      "subscriptionRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "taxId": "<string>",
      "title": "<string>"
    }
  ],
  "nextPageToken": "<string>"
}

Authorizations

Authorization
string
header
required

See our authentication documentation for how to authorize your requests

Headers

spacebring-network-id
string<uuid>

The id of the network. Required when using bearer token authentication

Query Parameters

locationRef
string<uuid>
required

The id of the location.

limit
integer<int64>
default:25

The number of items to return

Required range: 1 <= x <= 100
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.

title
string

Filter by company's title

types
enum<string>

Filter by types. Pass them as comma separated values.

Available options:
member,
nonmember

Response

OK

companies
object[]
nextPageToken
string

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