Skip to main content

API Authorization Guide

Every request to the NLPearl API must carry an Authorization header. There are two kinds of credential behind it, and both are accepted on every /v2 endpoint - so an integration built against one works against the other without changing a single call.

API Secret Key

One key with full access to your workspace. Best for your own backend code.

OAuth 2.0

An app with its own client ID and secret, limited to the scopes you grant and rotatable on its own. Best for a third-party integration.

Choosing Between Them

Both are created on the API Access page of your workspace settings, and creating either one requires an active subscription.

Next Steps

Quick Start

Set up your account and make your first API call.

Python Wrapper

Call the API from Python without writing the HTTP layer yourself.