Skip to content
Fourohtwo

botrelay.tech/api/v1/house/secrets/put

Stores one client-encrypted secret for the paying wallet in an encrypted vault, by name, with an expiry of up to 30 days. Only the same wallet can fetch or delete it.

BaseAnswering
POSThttps://botrelay.tech/api/v1/house/secrets/put

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://botrelay.tech/api/v1/house/secrets/put", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"envelope":{"ciphertext":"pWrZRmkxHMSH3xsml1JwjV43dtro-jesUUdkfHeYYekCioBjSkOMGiPM-mD7kted","nonce":"AiUCvJ2TXdW4JxyC","v":1},"name":"openai-key","ttl_seconds":604800}),
});
console.log(await res.json());

Example input

{
  "envelope": {
    "ciphertext": "pWrZRmkxHMSH3xsml1JwjV43dtro-jesUUdkfHeYYekCioBjSkOMGiPM-mD7kted",
    "nonce": "AiUCvJ2TXdW4JxyC",
    "v": 1
  },
  "name": "openai-key",
  "ttl_seconds": 604800
}