API reference
10 endpoints. All paths are relative to your installation, for example https://app.example.com.
/api/v1/w/{workspaceId}/conversationsUnified inbox (search, filters, labels)/api/v1/w/{workspaceId}/conversations/{id}Conversation thread, notes and lead/api/v1/w/{workspaceId}/conversations/{id}Read state, status, labels, assignee, category override/api/v1/w/{workspaceId}/conversations/{id}/replySend a reply from the original mailbox (queued, idempotent)/api/v1/w/{workspaceId}/conversations/{id}/notesInternal note on a conversation/api/v1/w/{workspaceId}/conversations/{id}/summaryAI summary of the conversation/api/v1/w/{workspaceId}/conversations/{id}/draftAI reply draft (never sent automatically)/api/v1/w/{workspaceId}/messages/{id}/classifyRe-run AI classification for a message/api/v1/w/{workspaceId}/attachments/{id}Download an attachment/api/v1/w/{workspaceId}/conversations/{id}/forwardForward a conversation from its mailbox (human action)/api/v1/w/{workspaceId}/conversationsUnified inbox (search, filters, labels)
Path parameters
workspaceIdrequired | string |
Query parameters
page | integerRange 1–9007199254740991 · Default 1 |
pageSize | integerRange 1–100 · Default 30 |
q | string |
accountId | string (uuid) |
category | string |
status | enumOne of: OPEN, WAITING, CLOSED |
unread | enumOne of: true, false |
campaignId | string (uuid) |
label | string |
assigneeId | string (uuid) |
hasReply | enumOne of: true, false |
starred | enumOne of: true, false |
archived | enumOne of: true, false, all |
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/conversations" \
-H "Authorization: Bearer $EMN_API_KEY"/api/v1/w/{workspaceId}/conversations/{id}Conversation thread, notes and lead
Path parameters
workspaceIdrequired | string |
idrequired | string |
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/conversations/$ID" \
-H "Authorization: Bearer $EMN_API_KEY"/api/v1/w/{workspaceId}/conversations/{id}Read state, status, labels, assignee, category override
Path parameters
workspaceIdrequired | string |
idrequired | string |
Request body (JSON)
status | enumOne of: OPEN, WAITING, CLOSED |
isUnread | boolean |
labels | string[] |
assigneeId | string (uuid) | null |
isStarred | boolean |
isArchived | boolean |
category | enumOne of: INTERESTED, WANTS_PRICING, WANTS_MEETING, NEEDS_INFO, NOT_INTERESTED, HAS_PROVIDER, WRONG_PERSON, OUT_OF_OFFICE, UNSUBSCRIBE, COMPLAINT, OTHER |
curl -X PATCH "https://app.example.com/api/v1/w/$WORKSPACE_ID/conversations/$ID" \
-H "Authorization: Bearer $EMN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "OPEN",
"isUnread": true,
"labels": [
"string"
],
"assigneeId": "00000000-0000-4000-8000-000000000000",
"isStarred": true,
"isArchived": true,
"category": "INTERESTED"
}'/api/v1/w/{workspaceId}/conversations/{id}/replySend a reply from the original mailbox (queued, idempotent)
Path parameters
workspaceIdrequired | string |
idrequired | string |
Request body (JSON)
bodyTextrequired | stringLength 1–20000 |
idempotencyKey | stringLength 8–100 |
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/conversations/$ID/reply" \
-H "Authorization: Bearer $EMN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"bodyText": "string",
"idempotencyKey": "string"
}'/api/v1/w/{workspaceId}/conversations/{id}/notesInternal note on a conversation
Path parameters
workspaceIdrequired | string |
idrequired | string |
Request body (JSON)
bodyrequired | stringLength 1–10000 |
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/conversations/$ID/notes" \
-H "Authorization: Bearer $EMN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"body": "string"
}'/api/v1/w/{workspaceId}/conversations/{id}/summaryAI summary of the conversation
Path parameters
workspaceIdrequired | string |
idrequired | string |
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/conversations/$ID/summary" \
-H "Authorization: Bearer $EMN_API_KEY"/api/v1/w/{workspaceId}/conversations/{id}/draftAI reply draft (never sent automatically)
Path parameters
workspaceIdrequired | string |
idrequired | string |
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/conversations/$ID/draft" \
-H "Authorization: Bearer $EMN_API_KEY"/api/v1/w/{workspaceId}/messages/{id}/classifyRe-run AI classification for a message
Path parameters
workspaceIdrequired | string |
idrequired | string |
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/messages/$ID/classify" \
-H "Authorization: Bearer $EMN_API_KEY"/api/v1/w/{workspaceId}/attachments/{id}Download an attachment
Path parameters
workspaceIdrequired | string |
idrequired | string |
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/attachments/$ID" \
-H "Authorization: Bearer $EMN_API_KEY"/api/v1/w/{workspaceId}/conversations/{id}/forwardForward a conversation from its mailbox (human action)
Path parameters
workspaceIdrequired | string |
idrequired | string |
Request body (JSON)
torequired | string (email) |
note | stringLength 0–5000 · Default "" |
idempotencyKey | stringLength 8–100 |
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/conversations/$ID/forward" \
-H "Authorization: Bearer $EMN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "name@example.com",
"note": "",
"idempotencyKey": "string"
}'