Skip to main content

Notification on New Booking Creation

Webhook 

The bookingCreated webhook event is triggered when there is a new booking created from any sources.

Supported roles

  • Fleet manager

Request

Header Parameters

    x-gojo-request-signature stringrequired

    HMAC hash combining your shared secret and the request payload. Utilize this hash to authenticate and validate incoming requests from Good Journey. This ensures the security and integrity of the data received.

Body

    bookId stringrequired
    groupId string
    source string

    Booking source:

    • Command Center
    • Car-hailing
    • Street sharing
    • Partner
    • Passenger app
    • API
    • PWA
    • Booking.com
    • HolidayTaxis
    • Hoppa
    status string

    Booking status:

    • accepted - Provider accepted
    • driverAssigned - Booking has been assigned to driver
    • driverOnTheWay - Driver has started job and on the way to the pickup point
    • driverArrived - Driver has arrived at the pickup point
    • passengerOnBoard - Passenger has been picked up
    • droppedOff - Dropped off
    • canceled - Canceled
    • passengerNoShow - Passenger was a no-show
    • incident - Booking has been marked as incident by the provider
    • completed - Completed
    bookingReference string
    vehicleIdentifier integer

    Vehicle identifier number for multiple vehicles with the same booking reference

    booker object
    title string
    firstName string
    lastName string
    phone string

    Phone number in E.164 format. Required if email is not provided.

    email string

    Booker’s email address. Required if phone is not provided.

    passenger object
    title string
    firstName string
    lastName string
    phone string

    Phone number in E.164 format

    email string
    driver object
    phone string

    Phone number in E.164 format

    firstName string
    lastName string
    avatar string
    vehicle object
    plateNumber string

    Vehicle license plate number

    make string

    Vehicle manufacturer/brand

    model string

    Vehicle model name

    color string

    Vehicle color

    pickup object
    latitude numberrequired

    Possible values: >= -90 and <= 90

    longitude numberrequired

    Possible values: >= -180 and <= 180

    address string
    city string
    country string
    postcode string
    destination object
    latitude numberrequired

    Possible values: >= -90 and <= 90

    longitude numberrequired

    Possible values: >= -180 and <= 180

    address string
    city string
    country string
    postcode string
    pickupDateTime date-time

    Pickup time in UTC timezone

    vehicleType string
    flightNumber string

    Passenger's flight number, if applicable. Useful for airport pickup coordination and flight tracking.

    corporate object

    Corporate account information. If empty, the booking is considered an individual booking.

    id string
    name string
    internalComment string

    Internal notes visible only to dispatchers and operations staff. Used for internal coordination or operator instructions.

    comment string

    Driver note. Additional notes or instructions visible to both the driver and passenger (e.g., passenger preferences, pickup details, or contact instructions).

    noPassengers integer

    Number of passengers

    noLuggage integer

    Number of luggage

    price object
    value numberrequired
    currency stringrequired
    duration integer

    Total trip duration in seconds from pickup to drop-off

    trackLink string

    Tracking URL of booking

Loading...