Before you start
Get your Client ID and Client Secret from Integrations > API in your Perform.AI account. If no credentials exist yet, select Request Credentials. See the authentication guide for details.1
Generate a Bearer token
Send your credentials as HTTP Basic authentication with a form-encoded body:The response contains your token, valid for 1 hour:
2
Create a shipment
Only A successful response returns the identifiers Perform.AI assigned:To have Perform.AI track the shipment with a carrier, also provide
shipment_id — your own unique identifier — is required to create a shipment:shipment_id must be unique across your account and cannot be changed after creation, so use a stable identifier from your own system.tracking_number and carrier_reference. The carrier_reference must first be configured under Settings > Carriers in your account — an unconfigured value blocks creation:3
Retrieve the shipment
Fetch the shipment you created, by your ID or the returned UUID:
The response includes the shipment’s status, carrier, and an
all_events array that fills with tracking events as Perform.AI retrieves them from the carrier.Next steps
Create shipments in full
Addresses, line items, costs, documents, and notification settings.
Receive webhooks
Push shipment updates to your systems instead of polling.
Search shipments
Filter and paginate across your shipment data.
API reference
Every endpoint, parameter, and response, with a live playground.