Command Palette

Search for a command to run...

REST API

Full HTTP API for emails, threads, agents, search, and webhooks. All endpoints are scoped to the agent associated with your API key.

Base URL
https://api.xobni.ai/api/v1

Parameters like account_id and agent_id are auto-resolved from your API key scope — you don't need to pass them.

Endpoints

Emails

GET/emails
GET/emails/{id}
POST/emails/send
PATCH/emails/{id}
GET/emails/attachments/{id}/url
GET/emails/storage-usage

Threads

GET/emails/threads
GET/emails/threads/{id}

Search

POST/search

Agents

GET/agents
GET/agents/{id}
PATCH/agents/{id}

Event Hooks (Webhooks)

GET/event-hooks
POST/event-hooks
GET/event-hooks/{id}
PATCH/event-hooks/{id}
DELETE/event-hooks/{id}
GET/event-hooks/{id}/deliveries
POST/event-hooks/{id}/test

Trusted Senders

GET/trusted-senders?agent_id=...
POST/trusted-senders
DELETE/trusted-senders/{id}

All email responses include is_trusted_sender: true/false computed from this allowlist. The agent owner's email is always a default trusted sender.