Boxy API
  1. Getting Started
Boxy API
  • Getting Started
    • Introduction
    • Environments
    • Security & Authentication
    • Rate Limit
    • Postman Collections
    • Schemas
    • Webhooks
  • Guides
    • Order Flow (Statuses)
    • Provinces & Regions
  • API Reference
    • Merchant
      • Get Merchant Info
    • Orders
      • Create Order
      • Create Bulk Orders (Sync)
      • Create Bulk Orders (Async)
      • List Orders
      • Show Order By UID
      • Show Order By Custom ID
      • Get Label Single
      • Get Label Bulk
      • Cancel Order
      • Update Order
      • Delete Order
    • Pick-ups
      • Request Pick-up
      • Request Pick-up Bulk
      • List Pick-ups
      • Show Pick-up
      • Get Pick-up Labels
      • Cancel Pick-up
      • Cancel Bulk Pick-ups
    • Pick-up Locations
      • Create Pick-up Location
      • List Pick-up Locations
      • Show Pick-up Location
      • Show Cash Drop-off Location
      • Update Pick-up Location
      • Delete Pick-up Location
    • Regions
      • List Regions
  1. Getting Started

Webhooks

Webhooks allow you to receive real-time events regarding the delivery of your packages.
It's critical to use webhooks as opposed to polling the API for continuous updates in order to avoid exceeding our rate limits.

Add/Update/Delete Webhooks#

You can manage your webhooks from our dashboard settings page:
Manage Webhooks
Screenshot 2025-02-06 at 6.22.24 PM.png

Triggers#

You can set your webhooks on each status change or use a single webhook for all of them. Please find the list of trigger statuses below:
#Trigger Name
1order new
2order scheduled
3order out_for_collecting
4order collecting (active)
5order collected
6order received_warehouse
7order sorted
8order transferred_carrier
9order received_carrier_warehouse
10order in_transit

Authentication#

Webhook validation headers can be used to validate that the webhooks we send actually come from us. To set this use Boxy's dashboard to add any header to the webhooks in order to secure them.
Each time we send a webhook we will then include this key-value pair which can be used to validate where the webhooks come from.

Public IPs#

Please note that we recommend you to rely on DNS resolution rather than IP whitelisting to successfully receive webhooks events.
Modified at 2025-02-06 14:25:39
Previous
Schemas
Next
Order Flow (Statuses)
Built with