PaydayAPI
API reference · Keys

Create a key

POSThttps://payday.direct/api/v1/keys

Requests a key and shows it once. Needs a payday.direct account signed in with X, sent as JSON, with purpose saying what the key is for. The key answers key_pending until Payday approves it; launch: true asks for launching, granted at approval.

No API key. Uses your payday.direct sign-in.

Body

labelstring
A name for the key
purposestringrequired
What the key is for. Payday reads it before approving the key.
launchbooleandefault false
Ask for a key that can launch coins. Granted, or not, at approval.

Responses

201Requested: the key is shown once and waits for approval (status pending)
400purpose_required, purpose_too_long or too_many_keys
401Not signed in
403x_required: the account is not signed in with X
415Not sent as JSON
429Too many new keys