Outvexa

API reference

Reply assistant

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

get/api/v1/w/{workspaceId}/reply-suggestions

AI reply drafts / suggestions / auto-reply log

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

workspaceIdrequiredstring

Query parameters

statusenumOne of: PENDING, APPROVED, SENT, DISMISSED, FAILED
conversationIdstring (uuid)
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/reply-suggestions" \
  -H "Authorization: Bearer $EMN_API_KEY"

post/api/v1/w/{workspaceId}/reply-suggestions/{id}/approve

Approve (optionally edited) and send from the original mailbox

Workspace member or API keyRole member or higher300 requests / 1 h per userSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring

Request body (JSON)

bodystringLength 1–20000
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/reply-suggestions/$ID/approve" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "body": "string"
  }'

post/api/v1/w/{workspaceId}/reply-suggestions/{id}/dismiss

Dismiss a suggestion

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/reply-suggestions/$ID/dismiss" \
  -H "Authorization: Bearer $EMN_API_KEY"

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

Generate an AI suggestion for the latest inbound message now

Workspace member or API keyRole member or higher120 requests / 1 h per workspaceSuccess: 200

Path parameters

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

get/api/v1/w/{workspaceId}/reply-templates

Reply templates (only approved ones can be auto-sent)

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

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

post/api/v1/w/{workspaceId}/reply-templates

Create a reply template

Workspace member or API keyRole member or higherSuccess: 201

Path parameters

workspaceIdrequiredstring

Request body (JSON)

namerequiredstringLength 1–120
bodyrequiredstringLength 1–5000
categoriesrequiredenum[]
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/reply-templates" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "body": "string",
    "categories": [
      "INTERESTED"
    ]
  }'

put/api/v1/w/{workspaceId}/reply-templates/{id}

Edit a template (resets approval)

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring

Request body (JSON)

namerequiredstringLength 1–120
bodyrequiredstringLength 1–5000
categoriesrequiredenum[]
Request
curl -X PUT "https://app.example.com/api/v1/w/$WORKSPACE_ID/reply-templates/$ID" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "body": "string",
    "categories": [
      "INTERESTED"
    ]
  }'

delete/api/v1/w/{workspaceId}/reply-templates/{id}

Delete a template

Workspace member or API keyRole manager or higherSuccess: 200

Path parameters

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

post/api/v1/w/{workspaceId}/reply-templates/{id}/approve

Approve / withdraw a template for auto-reply use

Workspace member or API keyRole manager or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring

Request body (JSON)

approverequiredboolean
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/reply-templates/$ID/approve" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "approve": true
  }'