Skip to main content
The API uses Bearer (Token) Authentication to authenticate any request. These tokens are JSON Web Tokens (JWT) which need to be created server side by your application.

Create an API key

To sign a JWT you will need to create a new API key-pair in your dashboard. To create a new API key visit the Integrations panel in your dashboard and click the Add API key button. You can store the API key with your code or store it in a secure environment accessible to your application.

Server-side SDKs

By far the easiest way to create a JWT is with one of our server-side SDKs.

C# SDK

Make server-side calls with our C# SDK.

Go SDK

Make server-side calls with our Go SDK.

Java SDK

Make server-side calls with our Java SDK.

PHP SDK

Make server-side calls with our PHP SDK.

Python SDK

Make server-side calls with our Python SDK.

TypeScript SDK

Make server and client-side API calls with our TypeScript SDK.

Development Tools

CLI

Create API tokens and checkout sessions with our command line interface tool.

Postman

Start exploring our API using our official Postman collection.

Without SDKs

It is also possible to generate the JWT without our SDKs using any number of open source JWT libraries.