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_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6

Request header

http
Authorization: Bearer pd_your_api_key

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_...