Skip to main content
GET
/
venues
Retrieve Venues
curl --request GET \
  --url https://api.nuwebgroup.com/v1/venues \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "type": "venues",
      "id": 1,
      "attributes": {
        "name": "O2 Arena",
        "address": "Peninsula Square",
        "city": "London",
        "region": "London",
        "country": "United Kingdom",
        "postcode": "SE10 0DX",
        "latitude": "51.503038",
        "longitude": "0.0031543",
        "capacity": 20000
      },
      "relationships": {
        "cities": {
          "data": {
            "type": "cities",
            "id": 1
          }
        }
      }
    }
  ],
  "meta": {
    "total": 100
  },
  "included": [
    {
      "type": "cities",
      "id": 1,
      "attributes": {
        "name": "London",
        "region": "Greater London",
        "country": "United Kingdom"
      }
    }
  ],
  "links": {
    "first": "http://api.willms.com/v1/venues?page=1",
    "last": "http://api.willms.com/v1/venues?page=5",
    "prev": "http://api.willms.com/v1/venues?page=2",
    "next": "http://api.willms.com/v1/venues?page=5",
    "self": "http://api.willms.com/v1/venues?page=3"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.nuwebgroup.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The 'Bearer' token can be obtained from the token management interface or via the login endpoint using your admin user credentials.

Headers

X-NU-COMPANY-ID
integer

The ID of the company this operation should be performed against.

Accept-Language
string

Sets the preferred language for localised response content (e.g. en, fr, de). If the requested language is not supported by the company, the company fallback language will be assumed.

Response

Successful request to fetch venues.

data
object[]

The ID of the company the venue belongs to.

included
object[]

An array of included relationship resources.