Outvexa

API reference

Suppression

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

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

Suppression / unsubscribe list

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

workspaceIdrequiredstring

Query parameters

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

post/api/v1/w/{workspaceId}/suppressions

Add an email or domain to the suppression list

Workspace member or API keyRole member or higherSuccess: 201

Path parameters

workspaceIdrequiredstring

Request body (JSON)

typerequiredenumOne of: EMAIL, DOMAIN
valuerequiredstringLength 3–320
reasonenumOne of: UNSUBSCRIBED, DO_NOT_CONTACT_REQUEST, MANUAL, LEGAL, COMPLAINT · Default "MANUAL"
notestringLength 0–500
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/suppressions" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "EMAIL",
    "value": "string",
    "reason": "MANUAL",
    "note": "string"
  }'

post/api/v1/w/{workspaceId}/suppressions/import

Bulk import suppressions from CSV (first column = email or @domain)

Workspace member or API keyRole manager or higherSuccess: 201

Path parameters

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

get/api/v1/w/{workspaceId}/suppressions/export

Export suppression list as CSV

Workspace member or API keyRole manager or higherSuccess: 200

Path parameters

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

delete/api/v1/w/{workspaceId}/suppressions/{id}

Remove a suppression entry (opt-outs need a documented reason)

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring

Query parameters

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