Skip to main content

List public car rental branches (v1)

Method & Path

GET /api/v1/public/:workspaceSlug/carrental/branches

Actual path: /v1/public/:workspaceSlug/carrental/branches

Description

List branches for a car rental workspace. Used on the public booking form to select pickup/return branch.

Authentication

None – Public endpoint.

Path parameters

ParameterTypeRequiredDescription
workspaceSlugstringYesPublic slug from carrental-settings.

Response 200 OK

{
"items": [
{
"id": "...",
"name": "Downtown Branch",
"address": "123 Main St",
"createdAt": "...",
"updatedAt": "..."
}
]
}

Common errors

  • 404: Car rental not found for this slug.
  • 500: Server error.