What is AfterShip's API?
Two developer products under one AfterShip account: the Tracking API, which follows shipments across hundreds of carriers and sends webhooks as status changes, and the Shipping API, for multi-carrier rates and labels.
Is Postmen the same thing as AfterShip?
Postmen was AfterShip's standalone shipping API. It's now the AfterShip Shipping API, though the Postmen name still turns up in older docs and developer threads.
How do I get an AfterShip API key?
Create it in your AfterShip admin's API key settings. No OAuth flow is needed: the key goes in the as-api-key header. For extra protection, AfterShip also supports signing requests with an API secret (AES or RSA).
How many carriers does AfterShip's API support?
The Tracking API covers several hundred carriers worldwide. The Shipping API supports a smaller set for rates and labels, limited to the carrier accounts you connect.
How do I verify an AfterShip webhook?
Recompute a base64 HMAC-SHA256 of the raw request body with your webhook secret and compare it to the aftership-hmac-sha256 header. Reject the request if they don't match.