---
updatedAt: 2026-06-02T13:36:45.000Z
agentTools:
  projectIndex: https://developers.forto.com/llms.txt
---

# Create a booking request

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/v1/booking-requests": {
      "post": {
        "operationId": "createv1",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBookingRequestBody"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created booking request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateBookingRequestResponse"
                }
              }
            }
          },
          "400": {
            "description": "Request is malformed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Authorization failed for this request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIAuthenticationError"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIAuthorizationError"
                }
              }
            }
          },
          "404": {
            "description": "Requested resource cannot be found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APINotFoundError"
                }
              }
            }
          },
          "default": {
            "description": "Default Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ],
        "summary": "Create a booking request",
        "tags": [
          "Booking Request"
        ]
      }
    }
  },
  "info": {
    "title": "Forto Platform API",
    "description": "Public API schema",
    "version": "1.0",
    "contact": {
      "name": "Customer Integrations Team",
      "url": "",
      "email": ""
    }
  },
  "servers": [
    {
      "url": "https://public-api.forto.io",
      "description": "Our Sandbox API"
    },
    {
      "url": "https://public-api.forto.com",
      "description": "Our Production API"
    }
  ],
  "components": {
    "securitySchemes": {
      "Authorization": {
        "scheme": "bearer",
        "bearerFormat": "Forto API Key Format",
        "type": "http",
        "description": "API Key"
      }
    },
    "schemas": {
      "ErrorDetails": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "description": "Field causing the issue"
          },
          "value": {
            "type": "object",
            "description": "Value of the field causing the issue"
          },
          "location": {
            "type": "string",
            "description": "Location of the field causing the issue",
            "enum": [
              "path",
              "body",
              "query"
            ]
          },
          "issue": {
            "type": "string",
            "description": "The reason for the error"
          }
        },
        "required": [
          "field",
          "issue"
        ]
      },
      "APIValidationError": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "default": "ValidationException",
            "description": "Name of ValidationException",
            "enum": [
              "ValidationException"
            ]
          },
          "debugID": {
            "type": "string",
            "description": "Internal identifier used for correlation purposes."
          },
          "message": {
            "type": "string",
            "description": "Message describing the error."
          },
          "informationLink": {
            "type": "string",
            "description": "URI for detailed information related to this error for the developer."
          },
          "details": {
            "description": "Additional details for the error. ",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErrorDetails"
            }
          }
        },
        "required": [
          "name",
          "debugID",
          "message",
          "details"
        ]
      },
      "APIAuthenticationError": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "default": "AuthenticationException",
            "description": "Name of AuthenticationException",
            "enum": [
              "AuthenticationException"
            ]
          },
          "debugID": {
            "type": "string",
            "description": "Internal identifier used for correlation purposes."
          },
          "message": {
            "type": "string",
            "description": "Message describing the error."
          },
          "informationLink": {
            "type": "string",
            "description": "URI for detailed information related to this error for the developer."
          },
          "details": {
            "description": "Additional details for the error. ",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErrorDetails"
            }
          }
        },
        "required": [
          "name",
          "debugID",
          "message"
        ]
      },
      "APIAuthorizationError": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "default": "AuthorizationException",
            "description": "Name of AuthorizationException",
            "enum": [
              "AuthorizationException"
            ]
          },
          "debugID": {
            "type": "string",
            "description": "Internal identifier used for correlation purposes."
          },
          "message": {
            "type": "string",
            "description": "Message describing the error."
          },
          "informationLink": {
            "type": "string",
            "description": "URI for detailed information related to this error for the developer."
          },
          "details": {
            "description": "Additional details for the error. ",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErrorDetails"
            }
          }
        },
        "required": [
          "name",
          "debugID",
          "message"
        ]
      },
      "APINotFoundError": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "default": "NotFoundException",
            "description": "Name of NotFoundException",
            "enum": [
              "NotFoundException"
            ]
          },
          "debugID": {
            "type": "string",
            "description": "Internal identifier used for correlation purposes."
          },
          "message": {
            "type": "string",
            "description": "Message describing the error."
          },
          "informationLink": {
            "type": "string",
            "description": "URI for detailed information related to this error for the developer."
          },
          "details": {
            "description": "Additional details for the error. ",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErrorDetails"
            }
          }
        },
        "required": [
          "name",
          "debugID",
          "message"
        ]
      },
      "APIError": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Human readable, unique name of the error."
          },
          "debugID": {
            "type": "string",
            "description": "Internal identifier used for correlation purposes."
          },
          "message": {
            "type": "string",
            "description": "Message describing the error."
          },
          "informationLink": {
            "type": "string",
            "description": "URI for detailed information related to this error for the developer."
          },
          "details": {
            "description": "Additional details for the error. ",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErrorDetails"
            }
          }
        },
        "required": [
          "name",
          "debugID",
          "message"
        ]
      },
      "CustomerTag": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "value"
        ]
      },
      "BookingRequestLocation": {
        "type": "object",
        "properties": {
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          }
        },
        "required": [
          "lat",
          "lng"
        ]
      },
      "BookingRequestAddressDetails": {
        "type": "object",
        "properties": {
          "googlePlaceId": {
            "type": "string"
          },
          "formattedAddress": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "location": {
            "$ref": "#/components/schemas/BookingRequestLocation"
          },
          "cityCode": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "plusCompoundCode": {
            "type": "string"
          },
          "plusGlobalCode": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "district": {
            "type": "string"
          },
          "street": {
            "type": "string"
          },
          "streetNumber": {
            "type": "string"
          }
        },
        "required": [
          "googlePlaceId",
          "formattedAddress",
          "countryCode",
          "city",
          "location"
        ]
      },
      "BookingRequestContainer": {
        "type": "object",
        "properties": {
          "commodityType": {
            "type": "string"
          },
          "customerReference": {
            "type": "string"
          },
          "externalId": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "containerType": {
            "type": "string",
            "enum": [
              "22GP",
              "42GP",
              "45GP",
              null,
              "LCL"
            ]
          },
          "width": {
            "type": "number",
            "description": "Required when its an LCL Container"
          },
          "height": {
            "type": "number",
            "description": "Required when its an LCL Container"
          },
          "length": {
            "type": "number",
            "description": "Required when its an LCL Container"
          },
          "weight": {
            "type": "number",
            "description": "Required when its an LCL Container"
          }
        },
        "required": [
          "quantity",
          "containerType"
        ]
      },
      "BookingRequestParty": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "externalId": {
            "type": "string"
          }
        }
      },
      "BookingRequestDetails": {
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "fcl",
              "lcl"
            ],
            "type": "string"
          },
          "mode": {
            "enum": [
              "sea",
              "air",
              "rail",
              "seaAir"
            ],
            "type": "string"
          },
          "cargoReadyDate": {
            "type": "string",
            "format": "date-time"
          },
          "deliveryType": {
            "enum": [
              "port-port",
              "door-door",
              "port-door"
            ],
            "type": "string"
          },
          "origin": {
            "type": "string",
            "description": "Required when delivery type is door-door"
          },
          "destination": {
            "type": "string",
            "description": "Required when delivery type is port-door or door-door"
          },
          "pol": {
            "type": "string",
            "description": "Required when delivery type is port-port or port-door",
            "example": "DEHAM"
          },
          "pod": {
            "type": "string",
            "description": "Required when delivery type is port-port",
            "example": "VNSGN"
          },
          "originObject": {
            "$ref": "#/components/schemas/BookingRequestAddressDetails"
          },
          "destinationObject": {
            "$ref": "#/components/schemas/BookingRequestAddressDetails"
          },
          "incoterm": {
            "type": "string",
            "enum": [
              "EXW",
              "FCA_LW",
              "FCA_T",
              "FAS",
              "FOB",
              "CFR",
              "CIF",
              "CPT",
              "CIP",
              "DPU",
              "DAP",
              "DDP"
            ]
          },
          "containers": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BookingRequestContainer"
            }
          },
          "customs": {
            "type": "boolean"
          },
          "requiredCustomTypes": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "standard",
                "fiscal",
                "t1",
                "t1_only",
                "t2",
                "t2_only"
              ]
            }
          },
          "hsCodesCount": {
            "type": "number"
          },
          "specialEquipment": {
            "type": "boolean"
          },
          "dangerousGoods": {
            "type": "boolean"
          },
          "bookingParty": {
            "enum": [
              "buyer",
              "seller"
            ],
            "type": "string"
          },
          "consigneeInformation": {
            "$ref": "#/components/schemas/BookingRequestParty"
          },
          "shipperInformation": {
            "$ref": "#/components/schemas/BookingRequestParty"
          },
          "pickupInformation": {
            "$ref": "#/components/schemas/BookingRequestParty"
          },
          "deliveryInformation": {
            "$ref": "#/components/schemas/BookingRequestParty"
          },
          "emissions": {
            "type": "number",
            "description": "Indication of emissions for the shipment that would be created by the booking request (KgCO2e)"
          },
          "tags": {
            "description": "User-defined array of tags, in key-value format, which will be propagated to any shipment created from the booking request",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerTag"
            }
          },
          "isStackable": {
            "type": "boolean",
            "description": "Cargo items can only be stacked for LCL shipments"
          }
        },
        "required": [
          "type",
          "mode",
          "cargoReadyDate",
          "deliveryType",
          "incoterm",
          "containers",
          "customs",
          "requiredCustomTypes",
          "hsCodesCount",
          "specialEquipment",
          "dangerousGoods",
          "bookingParty"
        ]
      },
      "BookingRequestAssignees": {
        "type": "object",
        "properties": {
          "opsId": {
            "type": "string"
          },
          "salesId": {
            "type": "string"
          }
        },
        "required": [
          "opsId"
        ]
      },
      "BookingRequestProgressionSettings": {
        "type": "object",
        "properties": {
          "shouldAutoConfirm": {
            "type": "boolean"
          },
          "shouldAutoGenerateSheet": {
            "type": "boolean"
          },
          "shouldAutoSelectOption": {
            "type": "boolean"
          },
          "shouldAutoBookShipment": {
            "type": "boolean"
          },
          "defaultAssignees": {
            "$ref": "#/components/schemas/BookingRequestAssignees"
          }
        },
        "required": [
          "shouldAutoConfirm",
          "shouldAutoGenerateSheet",
          "shouldAutoSelectOption",
          "shouldAutoBookShipment"
        ]
      },
      "BookingRequestSheet": {
        "type": "object",
        "properties": {
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "requestedBy": {
            "type": "string"
          },
          "requiresManualQuote": {
            "type": "boolean"
          },
          "manualQuoteCompleted": {
            "type": "boolean"
          },
          "sheetId": {
            "type": "string"
          },
          "completedAt": {
            "type": "string",
            "format": "date-time"
          },
          "validUntil": {
            "type": "string",
            "format": "date-time"
          },
          "optionId": {
            "type": "string"
          }
        },
        "required": [
          "requestedAt",
          "requestedBy",
          "sheetId",
          "completedAt",
          "validUntil",
          "optionId"
        ]
      },
      "BookingRequestCompletion": {
        "type": "object",
        "properties": {
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "requestedBy": {
            "type": "string"
          },
          "shipmentId": {
            "type": "string"
          },
          "completedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "requestedAt",
          "requestedBy",
          "shipmentId",
          "completedAt"
        ]
      },
      "BookingRequestFinalization": {
        "type": "object",
        "properties": {
          "finalizedBy": {
            "type": "string"
          },
          "finalizedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "finalizedBy",
          "finalizedAt"
        ]
      },
      "BookingRequestConfirmation": {
        "type": "object",
        "properties": {
          "confirmedBy": {
            "type": "string"
          },
          "confirmedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "confirmedBy",
          "confirmedAt"
        ]
      },
      "BookingRequestManualQuote": {
        "type": "object",
        "properties": {
          "manualQuoteValidUntil": {
            "type": "string",
            "format": "date-time"
          },
          "manualQuoteRequestId": {
            "type": "string"
          },
          "completedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "manualQuoteRequestId",
          "completedAt"
        ]
      },
      "BookingRequestDiscarding": {
        "type": "object",
        "properties": {
          "discardedBy": {
            "type": "string"
          },
          "discardedAt": {
            "type": "string",
            "format": "date-time"
          },
          "discardedReason": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "discardedBy",
          "discardedAt"
        ]
      },
      "CreateBookingRequestBodyDetails": {
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "fcl",
              "lcl"
            ],
            "type": "string"
          },
          "mode": {
            "enum": [
              "sea",
              "air",
              "rail",
              "seaAir"
            ],
            "type": "string"
          },
          "cargoReadyDate": {
            "type": "string",
            "format": "date-time"
          },
          "deliveryType": {
            "enum": [
              "port-port",
              "door-door",
              "port-door"
            ],
            "type": "string"
          },
          "origin": {
            "type": "string",
            "description": "Required when delivery type is door-door"
          },
          "destination": {
            "type": "string",
            "description": "Required when delivery type is port-door or door-door"
          },
          "pol": {
            "type": "string",
            "description": "Required when delivery type is port-port or port-door",
            "example": "DEHAM"
          },
          "pod": {
            "type": "string",
            "description": "Required when delivery type is port-port",
            "example": "VNSGN"
          },
          "incoterm": {
            "type": "string",
            "enum": [
              "EXW",
              "FCA_LW",
              "FCA_T",
              "FAS",
              "FOB",
              "CFR",
              "CIF",
              "CPT",
              "CIP",
              "DPU",
              "DAP",
              "DDP"
            ]
          },
          "containers": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BookingRequestContainer"
            }
          },
          "customs": {
            "type": "boolean"
          },
          "requiredCustomTypes": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "standard",
                "fiscal",
                "t1",
                "t1_only",
                "t2",
                "t2_only"
              ]
            }
          },
          "hsCodesCount": {
            "type": "number"
          },
          "specialEquipment": {
            "type": "boolean"
          },
          "dangerousGoods": {
            "type": "boolean"
          },
          "bookingParty": {
            "enum": [
              "buyer",
              "seller"
            ],
            "type": "string"
          },
          "consigneeInformation": {
            "$ref": "#/components/schemas/BookingRequestParty"
          },
          "shipperInformation": {
            "$ref": "#/components/schemas/BookingRequestParty"
          },
          "pickupInformation": {
            "$ref": "#/components/schemas/BookingRequestParty"
          },
          "deliveryInformation": {
            "$ref": "#/components/schemas/BookingRequestParty"
          },
          "tags": {
            "description": "User-defined array of tags, in key-value format, which will be propagated to any shipment created from the booking request",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerTag"
            }
          },
          "isStackable": {
            "type": "boolean",
            "description": "Cargo items can only be stacked for LCL shipments"
          }
        },
        "required": [
          "type",
          "mode",
          "cargoReadyDate",
          "deliveryType",
          "incoterm",
          "containers",
          "customs",
          "requiredCustomTypes",
          "hsCodesCount",
          "specialEquipment",
          "dangerousGoods",
          "bookingParty"
        ]
      },
      "CreateBookingRequestBody": {
        "type": "object",
        "properties": {
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "customerReference": {
            "type": "string"
          },
          "externalId": {
            "type": "string"
          },
          "details": {
            "$ref": "#/components/schemas/CreateBookingRequestBodyDetails"
          },
          "notes": {
            "type": "string"
          }
        },
        "required": [
          "details"
        ]
      },
      "CreateBookingRequestResponse": {
        "type": "object",
        "properties": {
          "_version": {
            "type": "number"
          },
          "_id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "userId": {
            "type": "string"
          },
          "customerId": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "details": {
            "$ref": "#/components/schemas/BookingRequestDetails"
          },
          "customerReference": {
            "type": "string"
          },
          "externalId": {
            "type": "string"
          },
          "priority": {
            "type": "number"
          },
          "progressionSettings": {
            "$ref": "#/components/schemas/BookingRequestProgressionSettings"
          },
          "notificationSettings": {
            "type": "object"
          },
          "assignees": {
            "$ref": "#/components/schemas/BookingRequestAssignees"
          },
          "notes": {
            "type": "string"
          },
          "sheet": {
            "$ref": "#/components/schemas/BookingRequestSheet"
          },
          "completion": {
            "$ref": "#/components/schemas/BookingRequestCompletion"
          },
          "finalization": {
            "$ref": "#/components/schemas/BookingRequestFinalization"
          },
          "confirmation": {
            "$ref": "#/components/schemas/BookingRequestConfirmation"
          },
          "manualQuote": {
            "$ref": "#/components/schemas/BookingRequestManualQuote"
          },
          "discarding": {
            "$ref": "#/components/schemas/BookingRequestDiscarding"
          },
          "state": {
            "type": "string",
            "enum": [
              "NEW"
            ]
          }
        },
        "required": [
          "_id",
          "createdAt",
          "userId",
          "customerId",
          "updatedAt",
          "details",
          "priority",
          "progressionSettings",
          "notificationSettings",
          "notes",
          "state"
        ]
      }
    }
  }
}
```