Skip to content
Opinav
Developer Türkçe

OPINAV DEVELOPERS

Connect your app
to Opinav.

Send transfer reservations from your own application and follow their status in Opinav.

Reservation requestscURL

POST apiCreateReservation

Send the transfer details and passengers.

curl -X POST "https://api.opinav.com/v1/apiCreateReservation" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "date": "YYYY-MM-DD",
  "time": "09:30",
  "externalBookingId": "DEMO-001",
  "pickupAddress": "Kadıköy/İstanbul",
  "dropoffAddress": "İstanbul Havalimanı/İstanbul",
  "vehicleTypeName": "Vito Luxury",
  "passengers": [
    {
      "name": "Demo",
      "surname": "Passenger",
      "phone": "05550000000",
      "cinsiyet": "E"
    }
  ],
  "currency": "TRY",
  "paymentType": "transfer"
}'

GET apiGetReservation

Read the current status using your booking reference.

curl -X GET "https://api.opinav.com/v1/apiGetReservation?externalBookingId=DEMO-001" \
  -H "x-api-key: YOUR_API_KEY"

POST apiUpdateReservation

Change the pickup time on a pending reservation.

curl -X POST "https://api.opinav.com/v1/apiUpdateReservation" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reservationId": "PENDING_RESERVATION_ID",
  "time": "18:30"
}'

POST apiCancelReservation

Cancel a reservation you previously created.

curl -X POST "https://api.opinav.com/v1/apiCancelReservation" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "externalBookingId": "DEMO-001"
}'
Reservation endpoint details →
Explore the documentation

Reservation API

Authenticate with an API key and create, read, update or cancel transfer reservations. Explore fields, examples and HTTP error responses.

https://api.opinav.com/v1
  • POST apiCreateReservation
  • GET apiGetReservation
  • POST apiUpdateReservation
  • POST apiCancelReservation