Getting Started

Authentication

All API requests use Bearer token authentication.

API Key format

Your API key starts with pd_ followed by a unique identifier.

text
pd_your_api_key_here

Request header

http
Authorization: Bearer pd_your_api_key_here

Get your key

Obtain your API key from the API Keys page in your dashboard after signing up.

Security note

Never expose your API key in client-side code or commit it to version control. Use environment variables: PROMPTDIFF_API_KEY=pd_your_api_key_here