Skip to navigation

Authentication

All Resemble API endpoints use the same authentication method. Your API key works across supported Resemble API servers.

Getting Your API Key

Create or retrieve your API key from the Account → API page.

Authentication Format

Protected requests require a Bearer token in the Authorization header:

Authorization: Bearer <API_KEY>

Servers

Resemble uses different servers depending on the endpoint type:

ServerBase URLPurpose
APIhttps://app.resemble.ai/api/v2Deepfake Detection, Detect Agents, Intelligence, Identity, Watermarking, and account management
Billinghttps://app.resemble.ai/billing/api/v1Plans, subscriptions, adjustable products, and wallet
Detection streamingwss://stream.resemble.aiReal-time audio Deepfake Detection

API Server Example

curl 'https://app.resemble.ai/api/v2/detect' \
-H 'Authorization: Bearer <API_KEY>'

Billing Server Example

export RESEMBLE_API_KEY="your_api_key"
curl 'https://app.resemble.ai/billing/api/v1/subscription' \
-H "Authorization: Bearer $RESEMBLE_API_KEY"

SDK Configuration

The SDKs handle authentication automatically once you set your API key:

Node.js

import { Resemble } from "@resemble/node";
Resemble.setApiKey("YOUR_API_KEY");

Python

from resemble import Resemble
Resemble.api_key("YOUR_API_KEY")

Store tokens securely and rotate them according to your security policies.

For historical voice API documentation, see the Voice AI Research Archive.