Venues

Update an existing venue. Cannot change venue ownership (teamId)

patch/venues/{key}

Request

  • Base URL
    https://api.session.services
  • Auth
    API key in header x-tenant-id

Path parameters

key, string required

Venue key - either a unique ID (ven_xxx format) or URL-friendly slug

Example:ven_01jqpjksnsen9vprw95et60t2m

Request body

object required
locationId, string

Location identifier for this venue

googlePlaceId, string nullable

Google Place ID. Pass null to unlink from Google Places, omit to leave unchanged.

approval, 'PENDING' | 'APPROVED' | 'REJECTED'

Approval status of the venue

name, string

Display name of the venue. Must be between 3 and 100 characters

slug, string

URL-friendly slug for the venue. Must be unique within tenant

description, string nullable

Public-facing description with a maximum length of 10000 characters

image, object nullable

Venue image. Pass null to clear, omit to leave unchanged.

contact, object nullable

Contact information. Pass null to clear all contact fields, omit to leave unchanged.

location, object

Physical location details including address, coordinates, and timezone

capacity, integer nullable

Maximum capacity. Pass null to clear, omit to leave unchanged.

metadata, object

Flexible key-value metadata storage for custom configuration. Similar to Stripe's metadata API. Maximum 50 keys, key names up to 40 characters, values up to 500 characters.

Example request

{
  "locationId": "loc_01h2xk3j9k8m2n5p7q9r1s3t4v",
  "approval": "APPROVED",
  "image": {
    "src": "https://assets.session.services/my-image.jpg",
    "alt": "My Image",
    "width": 1080,
    "height": 1080
  },
  "location": {
    "id": "loc_01hk153x00eh99pagyydz03sbz",
    "googlePlaceId": "ChIJP3Sa8ziYEmsRUKgyFmh9AQM",
    "createdAt": "2026-12-02T02:43:23.597Z",
    "updatedAt": "2026-12-02T02:43:23.597Z",
    "name": "Watson's EQ",
    "address": "The, Entertainment Quarter, 1 Bent St, Moore Park NSW 2021, Australia",
    "city": "Moore Park",
    "state": "New South Wales",
    "postcode": "2021",
    "country": "Australia",
    "latitude": -33.8944593,
    "longitude": 151.2252255,
    "timeZone": "Australia/Sydney",
    "types": [
      "establishment",
      "point_of_interest",
      "stadium"
    ],
    "description": "Historic outdoor amphitheater known for summer concerts",
    "image": {
      "src": "https://assets.session.services/my-image.jpg",
      "alt": "My Image",
      "width": 1080,
      "height": 1080
    }
  }
}

Response

OK

object required
venue, Venue required

Managed venue with custom branding and details. Teams can claim venues which then appear in location search results.

Example response

{
  "venue": {
    "locationId": "loc_01h2xk3j9k8m2n5p7q9r1s3t4v",
    "googlePlaceId": "ChIJP3Sa8ziYEmsRUKgyFmh9AQM",
    "approval": "APPROVED",
    "image": {
      "src": "https://assets.session.services/my-image.jpg",
      "alt": "My Image",
      "width": 1080,
      "height": 1080
    },
    "location": {
      "id": "loc_01hk153x00eh99pagyydz03sbz",
      "googlePlaceId": "ChIJP3Sa8ziYEmsRUKgyFmh9AQM",
      "createdAt": "2026-12-02T02:43:23.597Z",
      "updatedAt": "2026-12-02T02:43:23.597Z",
      "name": "Watson's EQ",
      "address": "The, Entertainment Quarter, 1 Bent St, Moore Park NSW 2021, Australia",
      "city": "Moore Park",
      "state": "New South Wales",
      "postcode": "2021",
      "country": "Australia",
      "latitude": -33.8944593,
      "longitude": 151.2252255,
      "timeZone": "Australia/Sydney",
      "types": [
        "establishment",
        "point_of_interest",
        "stadium"
      ],
      "description": "Historic outdoor amphitheater known for summer concerts",
      "image": {
        "src": "https://assets.session.services/my-image.jpg",
        "alt": "My Image",
        "width": 1080,
        "height": 1080
      }
    }
  }
}

Changes

    • breaking

      request property capacity list-of-types was narrowed by removing types number from media type application/json

    • breaking

      the location/timeZone request property's minLength was increased from 0 to 1

    • breaking

      the metadata/propertyNames request property's minLength was increased from 0 to 1

    27 more changes in this revision