Outvexa

API reference

Sending

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

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

Send history and message status

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

workspaceIdrequiredstring

Query parameters

pageintegerRange 1–9007199254740991 · Default 1
pageSizeintegerRange 1–200 · Default 50
campaignIdstring (uuid)
statusstring
awaitingApprovalenumOne of: true, false
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/outbound" \
  -H "Authorization: Bearer $EMN_API_KEY"

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

One outbound email with fact-check report and evidence

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

post/api/v1/w/{workspaceId}/outbound/{id}/review

Approve (optionally edited) or reject an email awaiting review

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring

Request body (JSON)

decisionrequiredenumOne of: approve, reject
subjectstringLength 0–300
bodyTextstringLength 0–20000
reasonstringLength 0–300
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/outbound/$ID/review" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "decision": "approve",
    "subject": "string",
    "bodyText": "string",
    "reason": "string"
  }'