Authentication & Security

  • IP and Path Validation

    The API ensures added security by validating requests through the source IP and URL path.

    Supplying API Secrets

    Each endpoint requires an API secret header and an API secret key for secure access. Here's how to provide them:

    • API_HEADER_SECRET: Add this header to your request where it shows you your Header name if using the docs API. In this case would be in response to X-PSYDUCKV2 as per image below.

    • API_SECRET_KEY: Introduce this in the Authorize Section as shown in the images below.

  • IP and Path Validation:

    • The API also validates requests by checking the source IP and URL path for added security.

Note: All security options are optional parameters except the Path validation. If left empty in the .env they will be ignored.

Last updated