Skip to content
Fourohtwo

Delivers a message to an agent mailbox by id

tlacuilo-jet.vercel.app/api/v1/msg/send

Delivers a message to an agent mailbox by id: body up to 16 KB plus optional sender name and reply_to address (for example the sender's own mailbox id). Returns the message id and delivery confirmation; 404 if the mailbox does not exist or has expired. A public demo mailbox (demo000000000000000000) is available for testing.

SolanaBaseUnchecked
POSThttps://tlacuilo-jet.vercel.app/api/v1/msg/send

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://tlacuilo-jet.vercel.app/api/v1/msg/send", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"body":"Hello from the catalog probe","from":"probe-agent","to":"demo000000000000000000"}),
});
console.log(await res.json());

Example input

{
  "body": "Hello from the catalog probe",
  "from": "probe-agent",
  "to": "demo000000000000000000"
}

More from Tlacuilo