Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.
VariableRequiredDescription
SENDCLOUD_PUBLIC_KEYYesSendcloud API public key, used as the HTTP Basic username Docs.
SENDCLOUD_SECRET_KEYYesSendcloud API secret key, used as the HTTP Basic password Docs.

Setup

  1. Create a Sendcloud account: Sign up at https://app.sendcloud.com - a free plan is available and is enough to test the API against your own account.
  2. Create API keys: In the Sendcloud panel open Settings → Integrations (https://app.sendcloud.com/v2/settings/integrations/manage), find ‘Sendcloud API’ in the list, click Connect, and give the integration a name. You receive a public key and a secret key.
  3. Store the keys: Add SENDCLOUD_PUBLIC_KEY and SENDCLOUD_SECRET_KEY to your .env file. The API uses HTTP Basic auth with the public key as username and the secret key as password.
  4. Verify access: Run the List Shipments tool. An empty data array is a valid response for a new account.
  • Always use API v3 (https://panel.sendcloud.sc/api/v3/…) for new integrations - Sendcloud is migrating integrations from v2 to v3
  • Creating a shipment announces it to the carrier and may incur label costs; configure a sender address in the panel first
  • List Shipping Options is a POST request but is read-only - it only calculates available options and quotes
Provider API reference: https://sendcloud.dev

Tools

ToolAccessDescription
List ShipmentsReadList shipments (parcels) in the Sendcloud account with optional filters such as order number, tracking number, or update time
Get ShipmentReadGet a single shipment with its parcels, addresses, tracking numbers, and label documents
Create ShipmentWriteCreate and announce a shipment synchronously, generating a shipping label for one or more parcels
List Shipping OptionsReadList available carrier shipping options (methods) for a given route and parcel, optionally with price quotes
Get TrackingReadGet the current status and recent tracking events of a parcel by its carrier tracking number
Cancel ShipmentWriteCancel an announced shipment and its label before carrier collection - the undo for a mis-announced (cost-incurring) label; cancellation is no longer possible once the carrier has the parcel

Example prompts

  • Track a Sendcloud parcel by its tracking number and summarize its current status and latest events.
  • List my most recent Sendcloud shipments and flag any that look stuck or undelivered.
  • Given an origin, destination, and parcel size, list the available Sendcloud shipping options with quotes and recommend the cheapest suitable one.