Agent Wallet

Issue an API key

Issues a durable lasoak_ API key for the account. The raw key is returned once — only its hash is stored, so it cannot be retrieved again. Normally the human does this from the dashboard.

A Firebase callable. Callables wrap the request in {"data": ...} and the reply in {"result": ...}. Send the id_token from /auth as a Bearer token. Free.

post/createAgentApiKey

Request

  • Base URL: https://laso.finance
  • URL: https://laso.finance/createAgentApiKey
  • Auth: API key in header Authorization

Request body

Example request

{
  "data": {
    "userId": "usr_7aff81763cae58c936aa6de67dd5a95e",
    "label": "Claude Code"
  }
}

Response

The raw apiKey (shown once) and its keyId.

resultobject

Changes

No recorded changes to this operation across all 3 revisions of this API.