Outvexa

Developers

API reference

Every endpoint the web app uses is part of this API — 428 operations, generated from the server’s route registry (version 1.4.0). Start with authentication and conventions, or download the OpenAPI 3.1 document.

Your first request
curl https://app.example.com/api/v1/w/$WORKSPACE_ID/leads?pageSize=5 \
  -H "Authorization: Bearer $EMN_API_KEY"

Error codes

Errors use one shape: { "error": { "code", "message", "details", "requestId" } }. Match on code, never on the message text.

VALIDATION_FAILEDRequest body, query or params failed validation (400)
UNAUTHENTICATEDMissing or expired session / API key (401)
CSRF_FAILEDMissing or wrong X-CSRF-Token header (403)
FORBIDDENRole does not allow this action (403)
NOT_FOUNDResource does not exist in this workspace (404)
RATE_LIMITEDToo many requests (429)
CONFLICTUnique constraint or state conflict (409)
CAMPAIGN_INVALIDCampaign failed validation and cannot be approved/started (400)
CAMPAIGN_STATEAction not allowed in the campaign current status (409)
PROVIDER_NOT_CONFIGUREDIntegration / AI provider / OAuth app not configured (400)
PROVIDER_ERRORExternal provider returned an error (502)
AI_BUDGET_EXCEEDEDMonthly AI budget for this task is used up (402)
AI_COST_LIMITPer-lead AI cost limit would be exceeded (402)
QUALITY_CHECK_FAILEDPersonalization has failing quality checks and cannot be approved (400)
AI_OUTPUT_INVALIDAI response failed schema validation (502)
WEAK_PASSWORDPassword does not meet the strength policy (400)
INVALID_PASSWORDCurrent password is wrong (400)
REGISTRATION_CLOSEDPublic registration is disabled; use an invitation (403)
LOGIN_REQUIREDInvitation belongs to an existing account; log in first (400)
INVITATION_INVALIDInvitation token invalid, used or expired (400)
INVITATION_EMAIL_MISMATCHLogged-in user is not the invited email (400)
LAST_OWNERCannot remove/demote the last workspace owner (400)
OAUTH_STATE_INVALIDOAuth state expired, reused or for another provider (400)
OAUTH_DENIEDUser or tenant admin denied consent (400)
OAUTH_NO_REFRESHProvider returned no refresh token (400)
ACCOUNT_NOT_CONNECTEDMailbox is disconnected / needs re-authentication (400/409)
UNRESOLVED_VARIABLESTemplate still contains unresolved {{variables}} (400)
FACT_CHECK_FAILEDIndependent fact-check found unsupported claims (400)
ICP_REQUIREDScoring needs an ICP first (400)
NOT_ELIGIBLELead fails a compliance/suppression/verification gate (400)
REVIEW_REQUIREDCountry rule needs explicit review before enabling (400)
INVALID_TOKENUnsubscribe/booking token invalid (400)
MFA_REQUIREDWorkspace requires two-factor authentication (403)
INVALID_CODETwo-factor code invalid (400)
QUOTA_EXCEEDEDPlan limit reached for this resource (402)
SUBSCRIPTION_INACTIVESubscription inactive; feature unavailable (402)
INVALID_SIGNATUREWebhook signature verification failed (400)
TENANT_INACTIVEOrganization is suspended, cancelled or being deleted; writes are blocked (403)
EMAIL_NOT_VERIFIEDConfirm your email address before this action (403)
INVALID_TRANSITIONOrganization status change not allowed from the current status (409)
SUPPRESSEDRecipient is on the suppression list (400)
INTERNALUnexpected server error (500)