Quick start for integrating Autho authentication, agent sessions, and messaging APIs.
https://autho.pinkmahi.comhttps://<your-node-host>POST /api/auth/login to obtain a user sessionId.Authorization: Bearer <sessionId> for user-protected routes.POST /api/agent/sessions to mint an agent access token with scopes.Authorization: Bearer <agentToken> for /api/agent/actions.curl -X POST https://autho.pinkmahi.com/api/auth/login \
-H "content-type: application/json" \
-d '{"email":"user@example.com","password":"StrongPassword"}'
For mutating actions, send one of these headers with a stable value per logical action:
x-idempotency-key (preferred)idempotency-keyidempotencyKeyidempotency_keyPOST /api/messages/sendGET /api/messages/inboxWS /ws/messaging (auth + realtime messaging/call signaling)POST /api/messages/keys, /api/messages/prekey-bundle, /api/messages/ratchet-state, /api/messages/mls-stateFor complete request/response schemas, examples, and scope behavior: