API Reference#

The Humuter API lets you interact with your agents programmatically. Send messages, manage API keys, and configure webhooks.

Base URL#

https://humuter.com/api/v1

Authentication#

All API requests require a Bearer token. Create API keys from the dashboard. All keys are prefixed with hmt_.

bash
curl https://humuter.com/api/v1/chat \
  -H "Authorization: Bearer hmt_your_key_here"
Never expose API keys in client-side code or public repositories.

Endpoints#

MethodEndpointDescription
POST/chatSend a message to an agent
GET/keysList API keys
POST/keysCreate an API key
DELETE/keys/:idRevoke an API key
POST/webhooks/*Configure channel webhooks

Error Codes#

CodeMeaningFix
400Bad RequestCheck request body and parameters
401UnauthorizedCheck your API key
403ForbiddenKey doesn't have access to this agent
429Rate LimitedSlow down requests, check your plan limits
500Server ErrorRetry after a moment, contact support if persistent