Learn how to include an API-Key to authenticate your AfterShip API requests.

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

All API calls must include this header to authenticate the usage of AfterShip API.

Replace your YOUR_API_KEY with your own key.