Skip to main content

Overview

The NOAH Business API uses both an API Key and Request Signing to authenticate requests, ensuring secure communication between your system and our API.

Keys

There are three important security keys required to work with NOAH's API:

NameDescription
API KeyUsed to identify and authenticate your requests.
Request Signing Private KeyUsed by your system to sign requests. Never share this key.
Request Signing Public KeyUsed when creating API Keys and later by our API for request signature verification.

Headers

Every request to our API must include the following headers:

HeaderDescription
X-Api-KeyContains your API Key created in the NOAH Dashboard.
Api-SignatureContains a JWT (JSON Web Token) with claims related to your request, signed using your Request Signing Private Key.
Security of your Funds

Never send us nor share your Request Signing Private Key. It should be securely stored in your system and never exposed publicly.

Details

To get started with API keys and Request Signing Kets, see the below:

Error Handling

A 401 Unauthorized HTTP status code will be returned in the following scenarios:

  • Missing Credentials:
    • Requests made over plain HTTP.
    • Requests with missing X-Api-Key header.
  • Invalid Credentials:
    • Requests with invalid or expired API Keys.
    • Requests with invalid or expired signed JWTs.
  • Environment Mismatch:
    • Requests made using an API Key with a mismatched env value.
  • Signature Issues:
    • Requests in prod with missing Api-Signature header.
    • Requests in sandbox with missing Api-Signature header when using an API Key associated with a Request Signing Public Key.
  • Unauthorized Access:
    • Requests made from a browser using the X-Api-Key header.