Skip to main content
GET
/
bookings
/
availability
cURL
curl --request GET \
  --url https://api-alpha.fourvenues.com/integrations/bookings/availability \
  --header 'integration_id: <api-key>' \
  --header 'secret: <api-key>' \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "data": {
    "_id": "Jm2n1r0ap0000flml5q27d6tlXmHR3uM",
    "slug": "1707920571709",
    "order": 3,
    "name": "Copia de Terraceeeeeeee",
    "description": "L | M | X",
    "active": true,
    "hours": [
      {
        "format": "00:00",
        "selected": false
      }
    ],
    "slugs_types": [
      "1709119852219"
    ],
    "spaces": [
      {
        "_id": "1696325534220",
        "type": "table",
        "name": "19",
        "bookings": [
          {
            "_id": "Zlvknuyd006m7019ydvoyauwwT5dJ0UM",
            "for": 1,
            "code": "QKOU3RK4A",
            "status": "accepted",
            "deposit": 0,
            "deposit_paid": 0,
            "name": "Jim Carrey",
            "price": 10
          }
        ]
      }
    ]
  }
}

Authorizations

integration_id
string
header
required

Identifier of the integration (Auth v1)

secret
string
header
required

Secret of the organization (Auth v1)

x-api-key
string
header
required

API key (Auth v2)

Query Parameters

event_id
string

Id of the event

Response

HTTP OK

success
boolean
Example:

true

data
object