SmartGare
API referenceEndpoints

Register a vehicle

Creates a vehicle for a known type.

POST/referential/v1/vehicles

Creates a vehicle for a known type.

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/vehicles" \  -H "Content-Type: application/json" \  -d '{    "type": "string",    "plateNumber": "string",    "seatingMode": "UNNUMBERED"  }'
{  "id": "string"}