Outvexa

API reference

Jobs

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

get/api/v1/w/{workspaceId}/jobs/queues

Queue counts (all workspaces on this server)

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

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

get/api/v1/w/{workspaceId}/jobs/failed

Failed jobs for a queue (this workspace)

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring

Query parameters

queuerequiredenumOne of: scheduler, outbound-prepare, send, reply-send, mailbox-sync, ai, research, import, verify, domain-health, maintenance, automation, webhooks, privacy, personalize, ai-sub-claude, ai-sub-codex, ai-workflow-api
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/jobs/failed" \
  -H "Authorization: Bearer $EMN_API_KEY"

post/api/v1/w/{workspaceId}/jobs/retry

Retry a failed job

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring

Request body (JSON)

queuerequiredenumOne of: scheduler, outbound-prepare, send, reply-send, mailbox-sync, ai, research, import, verify, domain-health, maintenance, automation, webhooks, privacy, personalize, ai-sub-claude, ai-sub-codex, ai-workflow-api
jobIdrequiredstring
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/jobs/retry" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "queue": "scheduler",
    "jobId": "string"
  }'

get/api/v1/w/{workspaceId}/jobs/history

Recorded job runs

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring

Query parameters

pageintegerRange 1–9007199254740991 · Default 1
pageSizeintegerRange 1–200 · Default 50
statusstring
queuestring
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/jobs/history" \
  -H "Authorization: Bearer $EMN_API_KEY"