API reference
4 endpoints. All paths are relative to your installation, for example https://app.example.com.
/api/v1/w/{workspaceId}/jobs/queuesQueue counts (all workspaces on this server)/api/v1/w/{workspaceId}/jobs/failedFailed jobs for a queue (this workspace)/api/v1/w/{workspaceId}/jobs/retryRetry a failed job/api/v1/w/{workspaceId}/jobs/historyRecorded job runs/api/v1/w/{workspaceId}/jobs/queuesQueue counts (all workspaces on this server)
Path parameters
workspaceIdrequired | string |
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/jobs/queues" \
-H "Authorization: Bearer $EMN_API_KEY"/api/v1/w/{workspaceId}/jobs/failedFailed jobs for a queue (this workspace)
Path parameters
workspaceIdrequired | string |
Query parameters
queuerequired | enumOne 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 |
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/jobs/failed" \
-H "Authorization: Bearer $EMN_API_KEY"/api/v1/w/{workspaceId}/jobs/retryRetry a failed job
Path parameters
workspaceIdrequired | string |
Request body (JSON)
queuerequired | enumOne 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 |
jobIdrequired | string |
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"
}'/api/v1/w/{workspaceId}/jobs/historyRecorded job runs
Path parameters
workspaceIdrequired | string |
Query parameters
page | integerRange 1–9007199254740991 · Default 1 |
pageSize | integerRange 1–200 · Default 50 |
status | string |
queue | string |
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/jobs/history" \
-H "Authorization: Bearer $EMN_API_KEY"