> ## Documentation Index
> Fetch the complete documentation index at: https://www.carstoragesoftware.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create parking spot

> Requires `write:parking`.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/parking-spots
openapi: 3.0.0
info:
  title: Car Storage Software API
  version: 1.1.0
  description: >-
    Team-scoped REST API for Car Storage Software. Authenticate with a team API
    key (`Authorization: Bearer <key>` or `x-api-key: <key>`) created under
    Settings → Integrations → API. Keys carry granular `read:*` / `write:*`
    scopes; read never implies write.
servers:
  - url: https://www.carstoragesoftware.com
security: []
paths:
  /api/v1/parking-spots:
    post:
      tags:
        - Parking
      summary: Create parking spot
      description: Requires `write:parking`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/V1ParkingSpotCreate'
      responses:
        '201':
          description: Created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1ParkingSpotResponse'
        '401':
          description: Missing, invalid, revoked, or expired API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: API key missing required scope, or API disabled for team.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '422':
          description: Request validation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    V1ParkingSpotCreate:
      type: object
      properties:
        name:
          type: string
          minLength: 1
        description:
          type: string
          nullable: true
        locationId:
          type: string
          nullable: true
          format: uuid
        customerId:
          type: string
          nullable: true
          format: uuid
        reservedCarId:
          type: string
          nullable: true
          format: uuid
        reservedCustomerId:
          type: string
          nullable: true
          format: uuid
        isActive:
          type: boolean
        sortOrder:
          type: integer
        tags:
          type: array
          items:
            type: string
        isLiftSpot:
          type: boolean
        liftHeight:
          type: integer
          nullable: true
        isMotorcycleSpot:
          type: boolean
      required:
        - name
    V1ParkingSpotResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/V1ParkingSpot'
      required:
        - data
    ApiError:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        details:
          nullable: true
      required:
        - error
    V1ParkingSpot:
      type: object
      properties:
        id:
          type: string
          format: uuid
        teamId:
          type: string
        locationId:
          type: string
          nullable: true
          format: uuid
        name:
          type: string
        description:
          type: string
          nullable: true
        customerId:
          type: string
          nullable: true
          format: uuid
        reservedCarId:
          type: string
          nullable: true
          format: uuid
        reservedCustomerId:
          type: string
          nullable: true
          format: uuid
        isActive:
          type: boolean
        sortOrder:
          type: integer
          nullable: true
        tags:
          type: array
          nullable: true
          items:
            type: string
        isLiftSpot:
          type: boolean
          nullable: true
        liftHeight:
          type: integer
          nullable: true
        isMotorcycleSpot:
          type: boolean
        createdAt:
          type: string
          nullable: true
          format: date-time
        updatedAt:
          type: string
          nullable: true
          format: date-time
      required:
        - id
        - teamId
        - locationId
        - name
        - description
        - customerId
        - reservedCarId
        - reservedCustomerId
        - isActive
        - sortOrder
        - tags
        - isLiftSpot
        - liftHeight
        - isMotorcycleSpot
        - createdAt
        - updatedAt
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Team API key from Settings → Integrations. Use `Authorization: Bearer
        <key>` or `x-api-key`.

````

## Related topics

- [Reserve a parking spot](/docs/parking-spots/reserve-a-parking-spot.md)
- [Assign a parking spot](/docs/parking-spots/assign-a-parking-spot.md)
- [Parking Spots overview](/docs/parking-spots/overview.md)
- [Set up parking spots and zones](/docs/parking-spots/set-up-parking-spots-and-zones.md)
- [Create parking assignment](/docs/api-reference/parking/create-parking-assignment.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.