API Reference
Base URL: https://humiris.com/api
All requests must include Authorization: Bearer YOUR_API_KEY
Agents
/agentsList all agents in your account.
{ "success": true, "data": [{ "id": "agt_...", "name": "alex-sdr", "status": "active" }] }/agentsCreate a new identity. A unique managed @humiris.com email address is created by default.
namestringrequiredUnique slug identifier (e.g. alex-sdr)persona.firstNamestringAgent first namepersona.lastNamestringAgent last namepersona.jobTitlestringJob title shown in signaturespersona.tonestringprofessional | casual | friendlyidentity.emailbooleanCreate managed email; defaults to true{
"success": true,
"data": {
"id": "agt_01hx3m...",
"name": "alex-sdr",
"status": "active",
"emailAddresses": [
{ "fullAddress": "alex-sdr@humiris.com", "isPrimary": true }
]
}
}/agents/:idGet a single agent with all provisioned resources.
{ "success": true, "data": { "id": "agt_...", "persona": {...}, "emailAddresses": [...], "phone": {...}, "wallet": {...} } }/agents/:idDelete an agent and release all associated resources.
{ "success": true }/agents/:id/emailAssign an additional address from a verified workspace domain. New identities already receive a managed address.
addressstringrequiredFull email address (e.g. alex@example.com)typestringdedicated | shared (default: dedicated){ "success": true, "data": { "fullAddress": "alex@example.com", "isPrimary": false } }/agents/:id/emailList all email addresses for the agent.
{ "success": true, "data": [{ "fullAddress": "alex-sdr@humiris.com", "isPrimary": true }] }/agents/:id/email/inbox?unread=true&limit=50List received messages. The response includes unread count, plain-text previews, attachment metadata, and extracted HTTP(S) links. No link is opened.
{
"success": true,
"data": {
"unreadCount": 1,
"receivingConfigured": true,
"messages": [{
"id": "msg_...",
"from": "accounts@example.com",
"subject": "Confirm your account",
"preview": "Use the link below...",
"isRead": false,
"links": [{
"url": "https://example.com/confirm?...",
"host": "example.com",
"likelyConfirmation": true
}]
}]
}
}/agents/:id/email/inbox/:messageIdRead one received message. Returns plain text and link metadata; HTML is not rendered or returned to clients.
{ "success": true, "data": { "id": "msg_...", "text": "Full plain-text body", "links": [...] } }/agents/:id/email/inbox/:messageIdMark one received message read or unread.
isReadbooleanrequiredtrue marks read; false marks unread{ "success": true, "data": { "id": "msg_...", "isRead": true, "readAt": "2026-07-29T..." } }/agents/:id/email/sendSend outbound email from the agent's primary address. This is an external side effect.
tostringrequiredRecipient email addresssubjectstringrequiredEmail subjectmessagestringrequiredPlain-text body; use html instead for HTML email{ "success": true, "data": { "id": "email_...", "from": "alex-sdr@humiris.com", "to": "recipient@example.com" } }Phone
/agents/:id/phoneCreate a non-operational sandbox phone record for interface testing.
countrystringCountry code: US (default), GB, CA, AU{ "success": true, "data": { "number": "+1 (...) ...", "country": "US", "mode": "sandbox", "operational": false }, "warning": "Sandbox number only..." }/agents/:id/phoneDelete the agent's sandbox phone record.
{ "success": true }Wallet
/agents/:id/walletCreate a non-operational sandbox wallet record. Never send funds to it.
chainstringrequiredethereum | solana | polygon | base{ "success": true, "data": { "address": "0x...", "chain": "ethereum", "mode": "sandbox", "operational": false }, "warning": "Sandbox wallet only..." }