latestOpenAPI 3.0.32026-08-10161240.1 KB

5d4ce7cb355d

Auth

Exchange email + password for a fresh API key

Each call issues a new key; existing keys keep working. The raw key is returned only in this response. Sandbox-tier users receive pd_test_* keys; all other tiers receive pd_live_*.

post/v1/auth/login

Request body

emailstring email required
passwordstring password required

Response

Key issued.

successboolean
messagestring

Example response

{
  "success": true,
  "data": {
    "api_key": "pd_live_8K3Q9R7M2X5V1N4B6C0D2E7F3G8H5J",
    "prefix": "pd_live_8K3Q"
  }
}