Skip to content

Accounts

Creates an account, an initial agent, a wallet, a trust score, and returns the API key in plaintext (once).

POST /v1/accounts

Authentication: None (this is the onboarding endpoint)

FieldTypeRequiredDescription
accountTypestringYesindividual or organization
emailstringYesPrimary contact email (max 320 chars)
displayNamestringYesAccount name (1–200 chars)
metadataobjectNoArbitrary key-value pairs
agentobjectYesInitial agent configuration
agent.namestringYesAgent name (1–200 chars)
agent.descriptionstringNoAgent description (max 2000 chars)
agent.agentTypestringNopersistent (default), ephemeral, or platform_managed
agent.capabilitiesstring[]NoCapability tags (max 50)
agent.webhookUrlstringNoWebhook endpoint URL
agent.metadataobjectNoArbitrary key-value pairs
{
"data": {
"id": "01912345-6789-7abc-def0-123456789abc",
"accountType": "individual",
"email": "[email protected]",
"displayName": "My Company",
"verificationStatus": "unverified",
"createdAt": "2026-03-07T12:00:00.000Z",
"apiKey": "ae_live_a1b2c3d4e5f6..."
},
"meta": {
"requestId": "01912345-...",
"timestamp": "2026-03-07T12:00:00.000Z"
},
"errors": null
}

The apiKey is only returned on this response. Store it securely.

Terminal window
curl -X POST https://api.remno.sh/v1/accounts \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"accountType": "individual",
"email": "[email protected]",
"displayName": "My Company",
"agent": { "name": "my-agent" }
}'

GET /v1/accounts/{accountId}

Authentication: Required

Returns account details for the authenticated account.

{
"data": {
"id": "01912345-6789-7abc-def0-123456789abc",
"accountType": "individual",
"email": "[email protected]",
"displayName": "My Company",
"verificationStatus": "email_verified",
"defaultDelegation": {
"maxTransactionCents": 5000,
"maxDailySpendCents": 50000
},
"createdAt": "2026-03-07T12:00:00.000Z",
"updatedAt": "2026-03-07T12:00:00.000Z"
},
"meta": { "requestId": "...", "timestamp": "..." },
"errors": null
}

PATCH /v1/accounts/{accountId}

Authentication: Required

FieldTypeDescription
displayNamestringNew display name (1–200 chars)
emailstringNew email address
metadataobjectUpdated metadata

All fields are optional. Only provided fields are updated.


PUT /v1/accounts/{accountId}/delegation

Authentication: Required

Sets default delegation rules for all agents under this account.

FieldTypeDescription
maxTransactionCentsintegerMaximum single transaction amount
maxDailySpendCentsintegerMaximum daily spend
allowedCategoriesstring[]Whitelist of service categories
blockedCategoriesstring[]Blacklist of service categories
requireHumanApprovalAboveCentsintegerHuman approval threshold
autoApproveBelowintegerAuto-approve threshold
{
"data": {
"maxTransactionCents": 5000,
"maxDailySpendCents": 50000,
"allowedCategories": ["research", "data_enrichment"],
"blockedCategories": [],
"requireHumanApprovalAboveCents": 10000,
"autoApproveBelow": 5000
},
"meta": { "requestId": "...", "timestamp": "..." },
"errors": null
}