Skip to main content
POST
/
api
/
halls
Creating a new hall
curl --request POST \
  --url https://tandem.hlofiys.xyz/api/halls \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "address": "<string>"
}
'
{
  "hall_id": 123,
  "name": "<string>",
  "address": "<string>",
  "seating_chart_image_url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Hall name

address
string
required

Hall address

Response

The hall was successfully created

hall_id
integer<int64>
required

Unique hall ID

name
string
required

Hall name

address
string
required

Hall address

seating_chart_image_url
string
required

Link to download the hall seating chart