Astrocal Waitlist API
The Waitlist API from Astrocal — 2 operation(s) for waitlist.
The Waitlist API from Astrocal — 2 operation(s) for waitlist.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/astrocal-dev:astrocal-dev-waitlist-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Astrocal Waitlist API
version: 1.0.0
description: Scheduling API for AI agents and developers
servers:
- url: https://api.astrocal.dev
description: Production
- url: https://api.astrocal.dev
description: Local development
security:
- BearerAuth: []
tags:
- name: Waitlist
paths:
/v1/waitlist:
post:
tags:
- Waitlist
summary: Join waitlist
description: Creates a waitlist entry for a fully-booked slot. Public endpoint — no authentication required. Returns 400 if the waitlist is not enabled for the event type. Returns 409 if already on waitlist or waitlist is full.
security: []
requestBody:
content:
application/json:
schema:
type: object
properties:
event_type_id:
type: string
format: uuid
start_time:
type: string
format: date-time
duration:
type: integer
minimum: 5
maximum: 480
invitee_name:
type: string
minLength: 1
maxLength: 200
invitee_email:
type: string
format: email
invitee_timezone:
type: string
minLength: 1
default: UTC
notes:
type: string
maxLength: 1000
metadata:
type: object
additionalProperties:
nullable: true
required:
- event_type_id
- invitee_name
- invitee_email
responses:
'201':
description: Waitlist entry created
content:
application/json:
schema:
type: object
properties:
id:
type: string
event_type_id:
type: string
format: uuid
start_time:
type: string
nullable: true
duration_minutes:
type: integer
nullable: true
status:
type: string
enum:
- waiting
- promoted
- expired
- cancelled
position:
type: integer
invitee_name:
type: string
invitee_email:
type: string
invitee_timezone:
type: string
notes:
type: string
nullable: true
metadata:
type: object
additionalProperties:
nullable: true
cancel_token:
type: string
booking_id:
type: string
nullable: true
format: uuid
promoted_at:
type: string
nullable: true
expires_at:
type: string
is_test:
type: boolean
created_at:
type: string
required:
- id
- event_type_id
- start_time
- duration_minutes
- status
- position
- invitee_name
- invitee_email
- invitee_timezone
- notes
- metadata
- cancel_token
- booking_id
- promoted_at
- expires_at
- is_test
- created_at
'400':
description: Waitlist not enabled for this event type
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
details:
type: object
additionalProperties:
nullable: true
required:
- code
- message
required:
- error
'409':
description: Already on waitlist or waitlist full
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
details:
type: object
additionalProperties:
nullable: true
required:
- code
- message
required:
- error
operationId: postV1Waitlist
x-operation-id-source: derived
get:
tags:
- Waitlist
summary: List waitlist entries
description: Returns a paginated list of waitlist entries for an event type. Supports filtering by status and start_time.
parameters:
- schema:
type: integer
minimum: 1
maximum: 100
default: 20
required: false
name: limit
in: query
- schema:
type: string
format: uuid
required: false
name: starting_after
in: query
- schema:
type: string
format: uuid
required: true
name: event_type_id
in: query
- schema:
type: string
enum:
- waiting
- promoted
- expired
- cancelled
required: false
name: status
in: query
- schema:
type: string
format: date-time
required: false
name: start_time
in: query
responses:
'200':
description: Paginated list of waitlist entries
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
event_type_id:
type: string
format: uuid
start_time:
type: string
nullable: true
duration_minutes:
type: integer
nullable: true
status:
type: string
enum:
- waiting
- promoted
- expired
- cancelled
position:
type: integer
invitee_name:
type: string
invitee_email:
type: string
invitee_timezone:
type: string
notes:
type: string
nullable: true
metadata:
type: object
additionalProperties:
nullable: true
cancel_token:
type: string
booking_id:
type: string
nullable: true
format: uuid
promoted_at:
type: string
nullable: true
expires_at:
type: string
is_test:
type: boolean
created_at:
type: string
required:
- id
- event_type_id
- start_time
- duration_minutes
- status
- position
- invitee_name
- invitee_email
- invitee_timezone
- notes
- metadata
- cancel_token
- booking_id
- promoted_at
- expires_at
- is_test
- created_at
has_more:
type: boolean
required:
- data
- has_more
'401':
description: Unauthorized
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
details:
type: object
additionalProperties:
nullable: true
required:
- code
- message
required:
- error
operationId: getV1Waitlist
x-operation-id-source: derived
/v1/waitlist/{id}:
delete:
tags:
- Waitlist
summary: Cancel waitlist entry
description: 'Cancels a waitlist entry. Supports two authentication methods: a cancel token via `?token=` query param (for invitee self-service), or an API key via `Authorization: Bearer` header (for developers).'
security: []
parameters:
- schema:
type: string
required: true
name: id
in: path
- schema:
type: string
required: false
name: token
in: query
responses:
'204':
description: Waitlist entry cancelled
'401':
description: Unauthorized — invalid or missing token/API key
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
details:
type: object
additionalProperties:
nullable: true
required:
- code
- message
required:
- error
'404':
description: Waitlist entry not found
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
details:
type: object
additionalProperties:
nullable: true
required:
- code
- message
required:
- error
operationId: deleteV1WaitlistById
x-operation-id-source: derived
get:
tags:
- Waitlist
summary: Get a waitlist entry
description: Returns a single waitlist entry by ID.
parameters:
- schema:
type: string
required: true
name: id
in: path
responses:
'200':
description: Waitlist entry found
content:
application/json:
schema:
type: object
properties:
id:
type: string
event_type_id:
type: string
format: uuid
start_time:
type: string
nullable: true
duration_minutes:
type: integer
nullable: true
status:
type: string
enum:
- waiting
- promoted
- expired
- cancelled
position:
type: integer
invitee_name:
type: string
invitee_email:
type: string
invitee_timezone:
type: string
notes:
type: string
nullable: true
metadata:
type: object
additionalProperties:
nullable: true
cancel_token:
type: string
booking_id:
type: string
nullable: true
format: uuid
promoted_at:
type: string
nullable: true
expires_at:
type: string
is_test:
type: boolean
created_at:
type: string
required:
- id
- event_type_id
- start_time
- duration_minutes
- status
- position
- invitee_name
- invitee_email
- invitee_timezone
- notes
- metadata
- cancel_token
- booking_id
- promoted_at
- expires_at
- is_test
- created_at
'401':
description: Unauthorized
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
details:
type: object
additionalProperties:
nullable: true
required:
- code
- message
required:
- error
'404':
description: Not found
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
details:
type: object
additionalProperties:
nullable: true
required:
- code
- message
required:
- error
operationId: getV1WaitlistById
x-operation-id-source: derived
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: API key authentication. Use your API key as the bearer token.