List venue tags
curl --request GET \
--url https://platform.uat.nowbookit.com/api/reservations/venue/{venueId}/tags \
--header 'Authorization: Bearer <token>'import requests
url = "https://platform.uat.nowbookit.com/api/reservations/venue/{venueId}/tags"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.uat.nowbookit.com/api/reservations/venue/{venueId}/tags', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://platform.uat.nowbookit.com/api/reservations/venue/{venueId}/tags",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://platform.uat.nowbookit.com/api/reservations/venue/{venueId}/tags"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platform.uat.nowbookit.com/api/reservations/venue/{venueId}/tags")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.uat.nowbookit.com/api/reservations/venue/{venueId}/tags")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "tag_birthday",
"name": "Birthday",
"tagType": {
"id": "tagtype_occasion",
"name": "Occasion"
},
"icon": "cake",
"online": false,
"order": 1
},
{
"id": "tag_allergy_nuts",
"name": "Nut allergy",
"tagType": {
"id": "tagtype_allergy",
"name": "Allergy"
},
"icon": "allergy",
"online": false,
"order": 2
}
]{
"code": "ValidationError",
"message": "Query parameters failed validation",
"requestId": "0f1c9f2e-4b8a-4c1e-9d33-2a7f5b1c8e90",
"errors": {
"partySize": [
"partySize must be at least 1"
],
"endDate": [
"endDate must be on or after startDate"
]
}
}{
"code": "NotFoundError",
"message": "Venue not found: 6247",
"requestId": "0f1c9f2e-4b8a-4c1e-9d33-2a7f5b1c8e90"
}{
"code": "InternalError",
"message": "Internal server error",
"requestId": "0f1c9f2e-4b8a-4c1e-9d33-2a7f5b1c8e90"
}Reservations
List Venue Tags
A venue’s guest tags — allergy, occasion, dietary.
GET
/
venue
/
{venueId}
/
tags
List venue tags
curl --request GET \
--url https://platform.uat.nowbookit.com/api/reservations/venue/{venueId}/tags \
--header 'Authorization: Bearer <token>'import requests
url = "https://platform.uat.nowbookit.com/api/reservations/venue/{venueId}/tags"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.uat.nowbookit.com/api/reservations/venue/{venueId}/tags', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://platform.uat.nowbookit.com/api/reservations/venue/{venueId}/tags",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://platform.uat.nowbookit.com/api/reservations/venue/{venueId}/tags"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platform.uat.nowbookit.com/api/reservations/venue/{venueId}/tags")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.uat.nowbookit.com/api/reservations/venue/{venueId}/tags")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "tag_birthday",
"name": "Birthday",
"tagType": {
"id": "tagtype_occasion",
"name": "Occasion"
},
"icon": "cake",
"online": false,
"order": 1
},
{
"id": "tag_allergy_nuts",
"name": "Nut allergy",
"tagType": {
"id": "tagtype_allergy",
"name": "Allergy"
},
"icon": "allergy",
"online": false,
"order": 2
}
]{
"code": "ValidationError",
"message": "Query parameters failed validation",
"requestId": "0f1c9f2e-4b8a-4c1e-9d33-2a7f5b1c8e90",
"errors": {
"partySize": [
"partySize must be at least 1"
],
"endDate": [
"endDate must be on or after startDate"
]
}
}{
"code": "NotFoundError",
"message": "Venue not found: 6247",
"requestId": "0f1c9f2e-4b8a-4c1e-9d33-2a7f5b1c8e90"
}{
"code": "InternalError",
"message": "Internal server error",
"requestId": "0f1c9f2e-4b8a-4c1e-9d33-2a7f5b1c8e90"
}These ids are what you send as
tagIds on Create a Reservation.Authorizations
Your API key. See Authorization to create one.
Path Parameters
The venue being addressed. Every endpoint on this API is venue-scoped.
Minimum string length:
1Example:
"6247"
Response
The venue's tags, in display order.
Pass this in tagIds when creating a reservation.
Example:
"tag_birthday"
Example:
"Birthday"
The grouping this tag belongs to. Absent on some tags — a tag without a group is still usable.
Show child attributes
Show child attributes
Presentational; safe to ignore.
The venue's own "show this online" flag. Informational only.
Venue-defined display order.