APIAuth & API KeysAPI Keys — Create

API Keys — Create

Mint a new key. Save the secret immediately.

POST/api/v1/auth/api-keysFree.
Returns `secret` once. Stored as SHA-256 hash thereafter — there is no way to recover a lost secret, mint a new one and revoke the old.

Body example

{
  "name": "production-bot"
}

Response

placeholder inline shape — run scripts/dump_doc_samples.py on the server to populate real samples.
{
  "key_prefix": "lp_live_",
  "secret": "lp_live_abcd…",
  "name": "production-bot",
  "created_at": "2026-04-30T12:00:00Z"
}
API Key

Paste your full key once — cached in this browser for 7 days, then cleared.

const res = await fetch("https://api.logposervices.com/api/v1/auth/api-keys", {
  method: "POST",
  headers: {
    "X-API-Key": "<YOUR_API_KEY>",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "name": "production-bot"
  }),
});
const data = await res.json();
Try it
Base URL
https://api.logposervices.com
Body
Response

Click Send Request above to try this endpoint.