{ "opencollection": "1.0.0", "info": { "name": "BlaBlaCar Bus Bookings API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Bookings", "type": "folder" }, "items": [ { "info": { "name": "BlaBlaCar Bus Create Booking", "type": "http" }, "http": { "method": "POST", "url": "https://bus-api.blablacar.com/v1/bookings", "body": { "type": "json", "data": "{}" } }, "docs": "Create a confirmed booking for one or more passengers on a specific trip. Returns booking confirmation with ticket identifiers and electronic ticket data." }, { "info": { "name": "BlaBlaCar Bus Get Booking", "type": "http" }, "http": { "method": "GET", "url": "https://bus-api.blablacar.com/v1/bookings/:booking_id", "params": [ { "name": "booking_id", "value": "booking-500123", "type": "path", "description": "Unique booking identifier" } ] }, "docs": "Retrieve details of an existing booking by its identifier." }, { "info": { "name": "BlaBlaCar Bus Cancel Booking", "type": "http" }, "http": { "method": "DELETE", "url": "https://bus-api.blablacar.com/v1/bookings/:booking_id", "params": [ { "name": "booking_id", "value": "booking-500123", "type": "path", "description": "Unique booking identifier to cancel" } ] }, "docs": "Cancel an existing booking. Cancellation policies and refund eligibility depend on the fare type." } ] } ], "bundled": true }