API Access

Prev Next

All API requests must be made over HTTPS. Most endpoints require authentication, and requests without valid credentials return 401 Unauthorized.

The Narmi APIs use OAuth 2.0. After you get an access token, include it in the Authorization header of each request as a bearer token. For example, using curl:

-H "Authorization: Bearer $ACCESS_TOKEN"

Each access token is limited to the scopes granted to your application, such as banking:accounts:read. Request only the scopes your application needs.

Keep Your Credentials Secure

Your client secret, access tokens, and refresh tokens give access to banking data, so keep them confidential. Do not share them in publicly accessible places, such as source code pushed to GitHub or client-side code running in a browser or mobile app.