GraphQL API
Organization API
Organization guide

Authentication

Create an API key and use it as a Bearer token.

Create a personal API key

  1. Sign in to the PackCloud portal.
  2. Open Settings, then open your profile at auth.pack.cloud/profile.
  3. Find Personal API Keys, enter a name that identifies the integration, and choose Create API Key.
  4. Copy the token immediately. The full value is shown only once.
Store the token like a password. The same Personal API Keys section lists active keys and lets you revoke one when it is no longer used.

Send the token

Use the standard Bearer authorization scheme on every request.

Authorization: Bearer <access-token>
Accept: application/json
Content-Type: application/json

Access follows the user's current organization memberships, warehouse access, and rights. A key does not bypass those permissions.

Authentication failures

Missing, expired, revoked, or invalid tokens return HTTP 401. Access to an unavailable organization or warehouse can return 404; insufficient rights return 403. Always send Accept: application/json to receive JSON-formatted middleware errors.

Connecting other PackCloud users

A personal API key belongs to one user. If your application connects accounts belonging to multiple PackCloud users, use the OAuth 2.0 Authorization Code flow instead.

Read the OAuth integration guide →