latestOpenAPI 3.0.32026-08-10161240.1 KB

5d4ce7cb355d

Auth

Create a free-tier account

Creates a free-tier user (5 draws total lifetime, 100 entries per draw, 60 requests/min) and returns a pd_live_* API key. terms_accepted_at must be at or after the current terms effective date — send the moment of acceptance as an ISO-8601 timestamp.

post/v1/auth/register

Request body

namestring required
emailstring email required
passwordstring password required
terms_accepted_atstring date-time required

Response

Account created, key issued.

successboolean
messagestring

Example response

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