Find the complete reference documentation on how to use AfterShip REST API and webhook services. Includes code snippets of our Python, Java, PHP, Node.js, Ruby, and .NET SDK client libraries.

How to get your API Key?

Before you start using our REST API services, get your API key from your AfterShip account.

  1. Log in to your AfterShip account. If you don't already have one - SIGNUP. It's FREE
  2. Visit SETTINGS > API keys
  3. Give your API key a name and click Generate API Key
Get API Key

API endpoint

Once you've generated your API key, it's easy to start requesting data from AfterShip.

All endpoints are only accessible via HTTPS and are located at api.aftership.com.

https://api.aftership.com/v4