Skip to main content
POST
Create Availability

Overview

This endpoint allows parking spot owners to create availability windows for their spots.

Authentication

Request Body

string
required
ID of the parking spot to make available
string
required
Availability start time (ISO 8601 format)
string
required
Availability end time (ISO 8601 format)

Response

object
required
Created availability object

Example Request

Example Response

Validation Rules

  • start_time must be in the future
  • end_time must be after start_time
  • You can only create availabilities for spots you own
  • Availability windows cannot overlap with existing ones for the same spot