Create waitlist-spot
curl --request POST \
--url https://b.anny.co/api/v1/waitlist-spots \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "waitlist-spots",
"attributes": {
"start_date": "2026-04-15T09:00:00+02:00",
"end_date": "2026-04-15T11:00:00+02:00"
},
"relationships": {
"resource": {
"data": {
"type": "resources",
"id": "123"
}
},
"service": {
"data": {
"type": "services",
"id": "456"
}
}
}
}
}
'import requests
url = "https://b.anny.co/api/v1/waitlist-spots"
payload = { "data": {
"type": "waitlist-spots",
"attributes": {
"start_date": "2026-04-15T09:00:00+02:00",
"end_date": "2026-04-15T11:00:00+02:00"
},
"relationships": {
"resource": { "data": {
"type": "resources",
"id": "123"
} },
"service": { "data": {
"type": "services",
"id": "456"
} }
}
} }
headers = {"Content-Type": "application/vnd.api+json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/vnd.api+json'},
body: JSON.stringify({
data: {
type: 'waitlist-spots',
attributes: {start_date: '2026-04-15T09:00:00+02:00', end_date: '2026-04-15T11:00:00+02:00'},
relationships: {
resource: {data: {type: 'resources', id: '123'}},
service: {data: {type: 'services', id: '456'}}
}
}
})
};
fetch('https://b.anny.co/api/v1/waitlist-spots', 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://b.anny.co/api/v1/waitlist-spots",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'data' => [
'type' => 'waitlist-spots',
'attributes' => [
'start_date' => '2026-04-15T09:00:00+02:00',
'end_date' => '2026-04-15T11:00:00+02:00'
],
'relationships' => [
'resource' => [
'data' => [
'type' => 'resources',
'id' => '123'
]
],
'service' => [
'data' => [
'type' => 'services',
'id' => '456'
]
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/vnd.api+json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://b.anny.co/api/v1/waitlist-spots"
payload := strings.NewReader("{\n \"data\": {\n \"type\": \"waitlist-spots\",\n \"attributes\": {\n \"start_date\": \"2026-04-15T09:00:00+02:00\",\n \"end_date\": \"2026-04-15T11:00:00+02:00\"\n },\n \"relationships\": {\n \"resource\": {\n \"data\": {\n \"type\": \"resources\",\n \"id\": \"123\"\n }\n },\n \"service\": {\n \"data\": {\n \"type\": \"services\",\n \"id\": \"456\"\n }\n }\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/vnd.api+json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://b.anny.co/api/v1/waitlist-spots")
.header("Content-Type", "application/vnd.api+json")
.body("{\n \"data\": {\n \"type\": \"waitlist-spots\",\n \"attributes\": {\n \"start_date\": \"2026-04-15T09:00:00+02:00\",\n \"end_date\": \"2026-04-15T11:00:00+02:00\"\n },\n \"relationships\": {\n \"resource\": {\n \"data\": {\n \"type\": \"resources\",\n \"id\": \"123\"\n }\n },\n \"service\": {\n \"data\": {\n \"type\": \"services\",\n \"id\": \"456\"\n }\n }\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://b.anny.co/api/v1/waitlist-spots")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/vnd.api+json'
request.body = "{\n \"data\": {\n \"type\": \"waitlist-spots\",\n \"attributes\": {\n \"start_date\": \"2026-04-15T09:00:00+02:00\",\n \"end_date\": \"2026-04-15T11:00:00+02:00\"\n },\n \"relationships\": {\n \"resource\": {\n \"data\": {\n \"type\": \"resources\",\n \"id\": \"123\"\n }\n },\n \"service\": {\n \"data\": {\n \"type\": \"services\",\n \"id\": \"456\"\n }\n }\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"type": "waitlist-spots",
"attributes": {
"start_date": "<string>",
"end_date": "<string>",
"last_notified_at": "<string>",
"notify_count": 123,
"created_at": "<string>"
},
"links": {
"self": "<string>"
},
"relationships": {
"resource": {
"data": {
"type": "<string>",
"id": "<string>"
},
"links": {
"self": "<string>"
}
},
"service": {
"data": {
"type": "<string>",
"id": "<string>"
},
"links": {
"self": "<string>"
}
}
},
"meta": {
"position": 123
}
}
}Passes, Plans & Queue
Create waitlist-spot
Creates a waitlist entry for the authenticated customer. account_id, organization_id, and uuid are filled by the backend.
POST
/
api
/
v1
/
waitlist-spots
Create waitlist-spot
curl --request POST \
--url https://b.anny.co/api/v1/waitlist-spots \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "waitlist-spots",
"attributes": {
"start_date": "2026-04-15T09:00:00+02:00",
"end_date": "2026-04-15T11:00:00+02:00"
},
"relationships": {
"resource": {
"data": {
"type": "resources",
"id": "123"
}
},
"service": {
"data": {
"type": "services",
"id": "456"
}
}
}
}
}
'import requests
url = "https://b.anny.co/api/v1/waitlist-spots"
payload = { "data": {
"type": "waitlist-spots",
"attributes": {
"start_date": "2026-04-15T09:00:00+02:00",
"end_date": "2026-04-15T11:00:00+02:00"
},
"relationships": {
"resource": { "data": {
"type": "resources",
"id": "123"
} },
"service": { "data": {
"type": "services",
"id": "456"
} }
}
} }
headers = {"Content-Type": "application/vnd.api+json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/vnd.api+json'},
body: JSON.stringify({
data: {
type: 'waitlist-spots',
attributes: {start_date: '2026-04-15T09:00:00+02:00', end_date: '2026-04-15T11:00:00+02:00'},
relationships: {
resource: {data: {type: 'resources', id: '123'}},
service: {data: {type: 'services', id: '456'}}
}
}
})
};
fetch('https://b.anny.co/api/v1/waitlist-spots', 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://b.anny.co/api/v1/waitlist-spots",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'data' => [
'type' => 'waitlist-spots',
'attributes' => [
'start_date' => '2026-04-15T09:00:00+02:00',
'end_date' => '2026-04-15T11:00:00+02:00'
],
'relationships' => [
'resource' => [
'data' => [
'type' => 'resources',
'id' => '123'
]
],
'service' => [
'data' => [
'type' => 'services',
'id' => '456'
]
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/vnd.api+json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://b.anny.co/api/v1/waitlist-spots"
payload := strings.NewReader("{\n \"data\": {\n \"type\": \"waitlist-spots\",\n \"attributes\": {\n \"start_date\": \"2026-04-15T09:00:00+02:00\",\n \"end_date\": \"2026-04-15T11:00:00+02:00\"\n },\n \"relationships\": {\n \"resource\": {\n \"data\": {\n \"type\": \"resources\",\n \"id\": \"123\"\n }\n },\n \"service\": {\n \"data\": {\n \"type\": \"services\",\n \"id\": \"456\"\n }\n }\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/vnd.api+json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://b.anny.co/api/v1/waitlist-spots")
.header("Content-Type", "application/vnd.api+json")
.body("{\n \"data\": {\n \"type\": \"waitlist-spots\",\n \"attributes\": {\n \"start_date\": \"2026-04-15T09:00:00+02:00\",\n \"end_date\": \"2026-04-15T11:00:00+02:00\"\n },\n \"relationships\": {\n \"resource\": {\n \"data\": {\n \"type\": \"resources\",\n \"id\": \"123\"\n }\n },\n \"service\": {\n \"data\": {\n \"type\": \"services\",\n \"id\": \"456\"\n }\n }\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://b.anny.co/api/v1/waitlist-spots")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/vnd.api+json'
request.body = "{\n \"data\": {\n \"type\": \"waitlist-spots\",\n \"attributes\": {\n \"start_date\": \"2026-04-15T09:00:00+02:00\",\n \"end_date\": \"2026-04-15T11:00:00+02:00\"\n },\n \"relationships\": {\n \"resource\": {\n \"data\": {\n \"type\": \"resources\",\n \"id\": \"123\"\n }\n },\n \"service\": {\n \"data\": {\n \"type\": \"services\",\n \"id\": \"456\"\n }\n }\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"type": "waitlist-spots",
"attributes": {
"start_date": "<string>",
"end_date": "<string>",
"last_notified_at": "<string>",
"notify_count": 123,
"created_at": "<string>"
},
"links": {
"self": "<string>"
},
"relationships": {
"resource": {
"data": {
"type": "<string>",
"id": "<string>"
},
"links": {
"self": "<string>"
}
},
"service": {
"data": {
"type": "<string>",
"id": "<string>"
},
"links": {
"self": "<string>"
}
}
},
"meta": {
"position": 123
}
}
}⌘I