Brivio API reference
Gate

Register a vehicle at the gate: compliance alerts from Fleet, a linked appointment moved to ARRIVED, dispatcher notifications. No document automation runs. Honours Idempotency-Key. (scope: gate:write)

POST
/gate/visits

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key as Bearer token

Request Body

application/json
  1. body
vehicle_plate*string
Length2 <= length <= 20
direction?string

Default OUTBOUND.

Value in"INBOUND""OUTBOUND""OTHER"
trailer_plate?string
Lengthlength <= 20
driver_name?string
Lengthlength <= 255
carrier_id?string
Formatuuid
carrier_name?string
Lengthlength <= 255
partner_id?string
Formatuuid
location_id?string
Formatuuid
dock_name?string
Lengthlength <= 50
purpose?string
Lengthlength <= 255
notes?string
Lengthlength <= 2000
expected_at?string

Set without appointment_id → the visit starts EXPECTED.

Formatdate-time
appointment_id?string

A dock appointment of this organization; it moves to ARRIVED.

Formatuuid

Response Body

OK

application/json
  1. response
data*

The driver's identity-document number and phone are deliberately not exposed.

error*null
curl -X POST "https://example.com/gate/visits" \  -H "Content-Type: application/json" \  -d '{    "vehicle_plate": "string"  }'
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "number": "string",    "direction": "INBOUND",    "status": "EXPECTED",    "source": "MANUAL",    "vehicle_plate": "string",    "trailer_plate": "string",    "fleet_vehicle_id": "ceaff20e-4a5b-4d27-b404-c40b42bbe6c7",    "compliance_alerts": [      {        "kind": "string",        "expiresAt": "2019-08-24T14:15:22Z",        "expired": true      }    ],    "driver_name": "string",    "carrier_id": "48e94619-563d-402c-b442-97b2c8fb116b",    "carrier_name": "string",    "partner_id": "6a3a39f6-861b-4a48-b868-5de838400e06",    "location_id": "46910cc3-ab41-4b80-b4a7-94dab9f1b795",    "dock_name": "string",    "purpose": "string",    "notes": "string",    "expected_at": "2019-08-24T14:15:22Z",    "arrived_at": "2019-08-24T14:15:22Z",    "docked_at": "2019-08-24T14:15:22Z",    "departed_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  },  "error": null}