API Reference

API Reference

NornWeave provides two ways to interact with your email data:

Authentication

All API requests require authentication using an API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Base URL

The REST API is served at:

http://localhost:8000/v1

Quick Reference

Inboxes

MethodEndpointDescription
POST/v1/inboxesCreate an inbox
GET/v1/inboxes/{id}Get an inbox
DELETE/v1/inboxes/{id}Delete an inbox

Threads

MethodEndpointDescription
GET/v1/threads/{id}Get a thread (LLM-formatted)

Messages

MethodEndpointDescription
POST/v1/messagesSend a message
GET/v1/messages/{id}Get a message

Search

MethodEndpointDescription
POST/v1/searchSearch messages

Webhooks

MethodEndpointDescription
POST/webhooks/mailgunMailgun inbound
POST/webhooks/sendgridSendGrid inbound
POST/webhooks/sesAWS SES inbound