Authentication

Easyship uses bearer authentication to authenticate requests. You will need to include Authorization: Bearer <API Access Token> in the header for all requests.

Before you get started, you will need to generate an API access token on our dashboard.

How to get an API access token

  1. Login to your Easyship dashboard.
  2. Click APIs & Webhooks and select Create API Connection (or Add API Connection if you already have existing connections).
  3. Give the new connection a name and click Connect.
  4. You will be provided with an access token for our production and sandbox environments and will be able to select the API scopes you want to access.
📘

Hint

Production tokens are prefixed with prod_ and sandbox tokens are prefixed with sand_ :

Production: prod_4e2b327e2ef5471885cd0bc50a0c9fe52481793bd309b2c4f
Sandbox: sand_4e2b327e2ef5471885cd0bc50a0c9fe52481793bd309b2c4f