Outvexa

API reference

Inbox

10 endpoints. All paths are relative to your installation, for example https://app.example.com.

get/api/v1/w/{workspaceId}/conversations

Unified inbox (search, filters, labels)

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

workspaceIdrequiredstring

Query parameters

pageintegerRange 1–9007199254740991 · Default 1
pageSizeintegerRange 1–100 · Default 30
qstring
accountIdstring (uuid)
categorystring
statusenumOne of: OPEN, WAITING, CLOSED
unreadenumOne of: true, false
campaignIdstring (uuid)
labelstring
assigneeIdstring (uuid)
hasReplyenumOne of: true, false
starredenumOne of: true, false
archivedenumOne of: true, false, all
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/conversations" \
  -H "Authorization: Bearer $EMN_API_KEY"

get/api/v1/w/{workspaceId}/conversations/{id}

Conversation thread, notes and lead

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/conversations/$ID" \
  -H "Authorization: Bearer $EMN_API_KEY"

patch/api/v1/w/{workspaceId}/conversations/{id}

Read state, status, labels, assignee, category override

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring

Request body (JSON)

statusenumOne of: OPEN, WAITING, CLOSED
isUnreadboolean
labelsstring[]
assigneeIdstring (uuid) | null
isStarredboolean
isArchivedboolean
categoryenumOne of: INTERESTED, WANTS_PRICING, WANTS_MEETING, NEEDS_INFO, NOT_INTERESTED, HAS_PROVIDER, WRONG_PERSON, OUT_OF_OFFICE, UNSUBSCRIBE, COMPLAINT, OTHER
Request
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"
  }'

post/api/v1/w/{workspaceId}/conversations/{id}/reply

Send a reply from the original mailbox (queued, idempotent)

Workspace member or API keyRole member or higher120 requests / 1 h per userSuccess: 202

Path parameters

workspaceIdrequiredstring
idrequiredstring

Request body (JSON)

bodyTextrequiredstringLength 1–20000
idempotencyKeystringLength 8–100
Request
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"
  }'

post/api/v1/w/{workspaceId}/conversations/{id}/notes

Internal note on a conversation

Workspace member or API keyRole member or higherSuccess: 201

Path parameters

workspaceIdrequiredstring
idrequiredstring

Request body (JSON)

bodyrequiredstringLength 1–10000
Request
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"
  }'

post/api/v1/w/{workspaceId}/conversations/{id}/summary

AI summary of the conversation

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/conversations/$ID/summary" \
  -H "Authorization: Bearer $EMN_API_KEY"

post/api/v1/w/{workspaceId}/conversations/{id}/draft

AI reply draft (never sent automatically)

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/conversations/$ID/draft" \
  -H "Authorization: Bearer $EMN_API_KEY"

post/api/v1/w/{workspaceId}/messages/{id}/classify

Re-run AI classification for a message

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/messages/$ID/classify" \
  -H "Authorization: Bearer $EMN_API_KEY"

get/api/v1/w/{workspaceId}/attachments/{id}

Download an attachment

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/attachments/$ID" \
  -H "Authorization: Bearer $EMN_API_KEY"

post/api/v1/w/{workspaceId}/conversations/{id}/forward

Forward a conversation from its mailbox (human action)

Workspace member or API keyRole member or higher60 requests / 1 h per userSuccess: 202

Path parameters

workspaceIdrequiredstring
idrequiredstring

Request body (JSON)

torequiredstring (email)
notestringLength 0–5000 · Default ""
idempotencyKeystringLength 8–100
Request
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"
  }'