FlavorCloud Partner API Documentation
  1. Webhooks
FlavorCloud Partner API Documentation
  • Authentication
    • Get Auth Token
      POST
  • Rates
    • Get Rates
      POST
  • Shipments
    • Create Shipments
      POST
    • Get Shipments
      GET
    • Cancel Shipments
      PUT
  • Tracking
    • Get Tracking Detail
      GET
  • Classifications
    • Get Classification
      POST
  • Landed Cost
    • Get Landed Cost
      POST
  • Webhooks
    • Subscribe Webhooks
      POST
    • Unsubscribe Webhooks
      POST
  • Invoices
    • Get Invoice Detail
      GET
    • Get Invoices
      GET
  1. Webhooks

Subscribe Webhooks

POST
/Webhooks/Subscribe
Subscribe to the Events.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "Reference": "subscribe-webhook-001",
    "WebHooksList": [
        {
            "EventName": "SHIPMENT_CREATED",
            "URL": "www.test.com"
        }
    ]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://partnerapi.flavorcloud.com/Webhooks/Subscribe' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Reference": "subscribe-webhook-001",
    "WebHooksList": [
        {
            "EventName": "SHIPMENT_CREATED",
            "URL": "www.test.com"
        }
    ]
}'

Responses

🟢200Subscribe Webhooks Response
application/json
Body

Example
{
    "Reference": "string",
    "Status": "string",
    "Message": "string"
}
🟠401Authentication Error
🟠422Validation Error
🔴500Error Response
Modified at 2025-04-28 20:51:30
Previous
Get Landed Cost
Next
Unsubscribe Webhooks
Built with