Contact

Introduction

Auth, mailbox tools, and errors. MCP is the fastest path for agents; REST covers the same work over HTTP.

Start here

Base URL

https://app.humaner.io

Endpoints

MethodPathPurpose
POST/api/mcpMCP streamable HTTP (mailbox tools)
POST/api/v1/chatSend a message, stream the reply
GET/api/v1/agents/{publicId}Fetch agent name, character, greeting
POST/api/v1/visitors/identifyAttach a visitor ID for cross-session memory
POST/api/v1/handoff/ticketCreate a handoff ticket

Authentication

REST takes a scoped Bearer API key. MCP in Cursor, Claude, or VS Code uses OAuth — add the URL and sign in once. Same key still works on MCP for scripts.

Authorization header

Authorization: Bearer hm_live_xxxxxxxx

Response conventions

EndpointResponse type
POST /api/v1/chattext/event-stream (SSE). See the Chat reference
All othersapplication/json

Errors are always { "error": "message" }. Full table detailed on Errors page.

Plan gating

API access needs Custom or Humaner.