---
title: "Quote Events"
method: POST
path: "/quote-webhooks"
tags: ["Webhooks"]
---

# Quote Events

`POST /quote-webhooks`

Posts a message when an event about a quote is triggered.

The quote event payload has a base schema but the details change depending on the event type.
During the onboarding you can let Loadsmart know which events you want to receive. You can also
receive events in more than one URL.

List of event types:
  - quote:booked
  - quote:rejected

## Request body

- union
  - object
    - `details` object
      - `event` object
        - `sender_id` string, nullable — The identification of the party that is sending this message
        - `receiver_id` string, nullable — The identification of the party that is receiving this message
      - `shipment` object
        - `id` string, uuid — The shipment identifier
        - `bol_number` string — The bill of lading number
        - `equipment_type` string — The type of truck used to move the load
        - `equipment_size` integer — The size of the truck used to move the load, in feet
        - `purchase_order_number` string, nullable — The Purchase Order (PO) number
        - `ref_number` string — The load number from its shipper
        - `loadsmart_ref_number` string — Internal identifier
        - `stops` object[]
          - `date` string, date-time — The date and time of the stop
          - `city` string — This stop city
          - `state` string — This stop state
          - `country` string — This stop country
          - `zipcode` string — This stop zipcode
          - `timezone` string — This stop timezone
          - `stop_index` number — Indicate the stop number for this event, being 0-based for pickup.
          - `location` object — General localization attributes
            - `latitude` number — The latitude where the stop is located
            - `longitude` number — The longitude where the stop is located
      - `shipper` object
        - `id` string, uuid — The shipper identifier
        - `name` string — The shipper name
    - `created_at` string, date-time — The date and time of the event.
    - `type` string — Event type
  - object
    - `details` object
      - `quote` object
        - `id` string — The quote identifier
        - `customer_reference` string — The quoted shipment identifier on the shipper side
      - `shipper` object
        - `id` string, uuid — The shipper identifier
        - `name` string — The shipper name
    - `created_at` string, date-time — The date and time of the event.
    - `type` string — Event type

## Response `200`

Event received

---

[API](https://skmtc.net/loadsmart/apis/loadsmart-api.md) · [All operations](https://skmtc.net/loadsmart/apis/loadsmart-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loadsmart/loadsmart-api/versions/6021c5806fe9/schema)
