How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Optibus Private Hires API

The Private Hires API from Optibus — 4 operation(s) for private hires.

Optibus Private Hires API is one of 26 APIs that Optibus publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Private Hires. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and authentication docs.

This API exposes 4 operations across 4 paths, and defines 118 schemas. It is described by OpenAPI 3.0.0, at version 2.8.17.

Requests are made against a single base URL, https://YOUR-OPTIBUS-ACCOUNT.api.ops.optibus.co.

4 operations 4 paths 118 schemas 1 GET2 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.8.17
Base URL
https://your-optibus-account.api.ops.optibus.co
Authentication
API Key
License
Optibus Ltd, All rights reserved
Resource Areas
1

Authentication & Security 1

Optibus Private Hires API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (api_key).

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 1 GET, 2 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Private Hires 4
POST
/private_hires/order
Create private hire order
PostPrivateHireOrder body → 202400409500
GET
/private_hires/order/{orderId}/info
Fetch private hire order
GetPrivateHireOrder 1 param → 200404500
PATCH
/private_hires/order/{orderId}
Update private hire order
PatchPrivateHireOrder 1 param body → 202400404409500
PATCH
/private_hires/order/{orderId}/trips
Update private hire order trips
PatchPrivateHireOrderTrips 1 param body → 202400404409500

Schemas 118

The contract defines 118 schemas that model the data the API accepts and returns. The most detailed are PrivateHireEventInResponse (8 properties), PrivateHireAPIEvent (8 properties), PrivateHireTask (7 properties), PrivateHireErrorDepotNameDetails (6 properties). Each schema is shown below with its type and property counts.

PrivateHireServerErrorResponse
object
1 property
PrivateHireErrorServer
object
2 properties 2 required
ExternalPrivateHireErrorTypesEnum.InvalidEventTimeFormat
string
PrivateHireErrorDepotName
object
3 properties 3 required
PrivateHireWarningInvalidLabelCodeDetails
object
3 properties 2 required
ISO8601Time
string
Representation of the time in ISO8601 format, where the minimum is at the start of the operational day (12am night) and the maximum 12 hours the day after the…
PrivateHireEventTypes
PrivateHireTripNotFoundError
object
3 properties 3 required
PrivateHireOrderDoesNotHavePrivateHiresError
object
3 properties 3 required
UpdatePrivateHireTripLockedNotAllowedError
object
3 properties 3 required
PrivateHireErrorInvalidEventTimeFormat
object
3 properties 3 required
PrivateHireErrorDuplicateTaskIdDetails
object
1 property 1 required
ExternalPrivateHireErrorTypesEnum.InvalidEventsChronologicalOrder
string
TaskDisplayIdString
string
External identifier of a private hire trip that should be unique within the system and that will be used internally in Optibus as the display ID.
PrivateHireErrorResponse
object
1 property
PrivateHireErrorMultipleRegions
object
3 properties 3 required
ExternalPrivateHireErrorTypesEnum.PrivateHiresEmpty
string
PrivateHireWarningResponse
object
1 property
ExternalPrivateHireErrorTypesEnum.ConflictProcessingRequest
string
ExternalPrivateHireErrorTypesEnum.InvalidDepotName
string
OtherEventTypes.PullIn
string
ExternalPrivateHireErrorTypesEnum.EventTimeNotWithin36Hours
string
ExternalPatchPrivateHireTripErrorTypesEnum.UpdatePrivateHireTripRegionNotAllowed
string
ExternalPrivateHireErrorTypesEnum.PrivateHireEventsEmpty
string
PatchPrivateHireOrderTripsNotFoundError
OnScheduleEventsTypes.Custom
string
DateTimeValidationErrors
PrivateHireErrorInvalidOrderIdFormatDetails
object
1 property 1 required
ExternalPrivateHireErrorTypesEnum.InvalidEventsTimeOverlap
string
NonEmptyString
string
ExternalPatchPrivateHireTripErrorTypesEnum.UpdatePrivateHireTripLockedNotAllowed
string
OnScheduleEventsTypes.Break
string
Label
VehicleInResponse
OnScheduleEventsTypes.Deadhead
string
OtherEventTypes.PrivateHire
string
PrivateHireErrorEventOverlap
object
3 properties 3 required
ExternalPatchPrivateHireErrorTypesEnum.OrderAlreadyCancelled
string
Pick_DriverBaseInformation.id-or-firstName-or-lastName_
object
From T, pick a set of properties whose keys are in the union K
3 properties 3 required
Undefinable_ISOWithTimeDate_
ExternalPatchPrivateHireTripErrorTypesEnum.PrivateHireTripsWithoutChanges
string
UpdatePrivateHireTripLockedNotAllowedErrorDetails
object
1 property 1 required
Pick_PrivateHireTask.taskId-or-depotName-or-date-or-note_
object
From T, pick a set of properties whose keys are in the union K
4 properties 3 required
PrivateHireLocation
object
4 properties 1 required
PrivateHireErrorEmptyPrivateHires
object
2 properties 2 required
TimeHHmmOrISO8601
PatchPrivateHireOrderRequestError
ExternalPrivateHireErrorTypesEnum.PrivateHiresNonUnique
string
PrivateHireWarningInvalidLabelCode
object
3 properties 3 required
ExternalPrivateHireError
GetPrivateHireOrderResponseError
UpdatePrivateHireTripRegionNotAllowedDetails
object
4 properties 4 required
PrivateHireAPIEvent
object
8 properties 5 required
PrivateHireErrorEventChronologicalOrder
object
3 properties 3 required
PrivateHireConflictProcessingRequestError
object
2 properties 2 required
PrivateHiresNonUniqueError
object
3 properties 3 required
SupportedOrderStatus
string
Private hire order status. - confirmed: the order is meant to have been paid by the hiring entity. In the OPS Optibus platform, when a trip has any driver or v…
PrivateHireErrorDuplicateTaskIds
object
3 properties 3 required
ExternalPrivateHireErrorTypesEnum.TaskIdsAlreadyExists
string
PatchPrivateHireOrderResponse
object
1 property
UpdatePrivateHireTripCancelledNotAllowedErrorDetails
object
1 property 1 required
PrivateHireEventInResponse
object
8 properties 4 required
PrivateHireErrorBeyond36Hours
object
3 properties 3 required
PrivateHireErrorDepotNameDetails
object
6 properties 3 required
UpdatePrivateHireTripRegionNotAllowedError
object
3 properties 3 required
ExternalPrivateHireWarningTypesEnum.InvalidLabelCode
string
ExternalPrivateHireErrorTypesEnum.OrderIdAlreadyExists
string
Pick_PrivateHireTask.taskId_
object
From T, pick a set of properties whose keys are in the union K
1 property 1 required
PrivateHireTaskInResponse
PrivateHireErrorDuplicateOrderIdDetails
object
1 property 1 required
PatchPrivateHireOrderTripsBadRequestErrorResponse
object
1 property
PrivateHireErrorEmptyEvents
object
2 properties 2 required
Omit_PreferencesLabel.type_
Construct a type with the properties of T except for those in type K.
PrivateHireOrderNonExistentError
object
3 properties 3 required
PrivateHireErrorDuplicateOrderId
object
3 properties 3 required
HourMinuteDuration
string
Representation of the time in HH:mm format, where the minimum is 00:00 and maximum 36:00 (12:00 at noon the day after)
PatchPrivateHireTripsBodyRequest
object
1 property 1 required
UpdatePrivateHireTripCancelledNotAllowedError
object
3 properties 3 required
PatchPrivateHireOrderBodyRequest
object
1 property 1 required
PrivateHireOrderInResponse
object
3 properties 3 required
PostPrivateHireOrderRequest
object
3 properties 2 required
PrivateHireErrorEventTimeDetails
object
2 properties 2 required
PatchPrivateHireOrderNotExistResponse
object
1 property
ExternalPrivateHireErrorWarning
ExternalPrivateHireErrorTypesEnum.InvalidEventsTimeOrder
string
PatchPrivateHireOrderTripsNotFoundErrorResponse
object
1 property
ConflictProcessingRequestErrorResponse
object
1 property
PrivateHireTripNotFoundDetails
object
2 properties 2 required
ExternalPrivateHireErrorTypesEnum.DepotsForMultipleRegionsError
string
ExternalPrivateHireErrorTypesEnum.InvalidOrderIdFormat
string
PatchPrivateHireOrderTripsBadRequestError
Undefinable_Pick_DriverBaseInformation.id-or-firstName-or-lastName__
ExternalPatchPrivateHireErrorTypesEnum.OrderNonExistent
string
ExternalPatchPrivateHireErrorTypesEnum.OrderAlreadyConfirmed
string
PrivateHireOrderError
object
1 property 1 required
PrivateHireTask
object
7 properties 4 required
OtherEventTypes.PullOut
string
Pick_Vehicle.id_
object
From T, pick a set of properties whose keys are in the union K
1 property 1 required
Pick_PreferencesLabel.Exclude_keyofPreferencesLabel.type__
object
From T, pick a set of properties whose keys are in the union K
2 properties 2 required
ExternalPatchPrivateHireErrorTypesEnum.OrderDoesNotHavePrivateHires
string
ISOWithTimeDate
string
Stringified ISO8601 date in the form of 2017-07-21T23:59:00+03:00
PrivateHireErrorMultipleRegionsDetails
array
PrivateHireTripsWithoutChangesError
object
2 properties 2 required
PrivateHireErrorEventTime
object
3 properties 3 required
PrivateHireErrorTaskDateDetails
object
2 properties 2 required
PrivateHireErrorInvalidOrderIdFormat
object
3 properties 3 required
ExternalPrivateHireErrorTypesEnum.ServerError
string
Pick_Vehicle.licensePlate-or-type-or-model-or-availableSeats_
object
From T, pick a set of properties whose keys are in the union K
4 properties
OrderIdString
string
External identifier of a private hire order that should be unique within the system
GetPrivateHireOrderResponse
PrivateHireOrderAlreadyConfirmedError
object
3 properties 3 required
PatchPrivateHireCancellation
ExternalPatchPrivateHireTripErrorTypesEnum.PrivateHireTripNotFound
string
PrivateHireOrderAlreadyCancelledError
object
3 properties 3 required
ExternalPrivateHireErrorTypesEnum.InvalidDateFormat
string
PrivateHireErrorTaskDate
object
3 properties 3 required
PrivateHiresNonUniqueDetails
object
1 property 1 required
ExternalPatchPrivateHireTripErrorTypesEnum.UpdatePrivateHireTripCancelledNotAllowed
string

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

optibus-private-hires-api-openapi.yml Raw ↑

Other APIs Optibus publishes across the network.

Optibus Driver Absences API
Optibus Driver App Notifications API
Optibus Driver Custom Attributes API
Optibus Driver Employment Periods API
Optibus Driver Groups API
Optibus Driver Volunteering Periods API
Optibus Drivers API
Optibus Drivers (Deprecated) API
Optibus Event Webhooks API
Optibus Operational Plan API
Optibus Operational Plan (Deprecated) API
Optibus Payroll API
Where this information came from

This is an independent, third-party profile of Optibus Private Hires API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.