Skip to main content

Paligo API

Authentication

Each request to the API must be authorized with a Paligo username and a Paligo API key. The Paligo user must be an admin user. You can find out how to create an API key by following our guide at: API Keys.

The Paligo API uses Basic Authentication for verifying a users access. The credentials must be sent in an Authorization header in the HTTP request. Credentials sent in the URL or body of the request will be ignored.

To authenticate using Basic Authentication:

  1. Combine your username and API key with a colon:

    name@example.com:13DLKWD34234...

  2. Encode the string using Base64:

    bmFtZUBleGFtcGxlLmNvbToxM0RMS1dEMzQyMzQuLi4=

  3. Include the string in the HTTP Authorization header formatted like this:

    Authorization: Basic bmFtZUBleGFtcGxlLmNvbToxM0RMS1dEMzQyMzQuLi4=