Outvexa

API reference

Leads

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

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

Search / filter leads

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
statusenumOne of: NEW, RESEARCHED, QUALIFIED, DISQUALIFIED, CONTACTED, REPLIED, INTERESTED, MEETING_BOOKED, NOT_INTERESTED, CUSTOMER, UNSUBSCRIBED, BOUNCED
listIdstring (uuid)
companyIdstring (uuid)
verificationenumOne of: UNVERIFIED, VALID, INVALID, RISKY, CATCH_ALL, UNKNOWN
minScoreintegerRange -9007199254740991–9007199254740991
countrystring
tagstring
sortenumOne of: createdAt, score, lastRepliedAt, email · Default "createdAt"
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/leads" \
  -H "Authorization: Bearer $EMN_API_KEY"

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

Create a lead

Workspace member or API keyRole member or higherSuccess: 201

Path parameters

workspaceIdrequiredstring

Request body (JSON)

emailrequiredstring
firstNamestring | null
lastNamestring | null
titlestring | null
linkedinUrlstring (uri) | null | ""
websitestring | null
phonestring | null
countrystring | null | ""
citystring | null
timezonestring | null
companyNamestring | null
companyDomainstring | null
lawfulBasisenumOne of: UNKNOWN, CONSENT, LEGITIMATE_INTEREST, EXISTING_RELATIONSHIP, NOT_REQUIRED
lawfulBasisNotestring | null
tagsstring[]
customFieldsobject
ownerIdstring (uuid) | null
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/leads" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "string",
    "firstName": "string",
    "lastName": "string",
    "title": "string",
    "linkedinUrl": "https://example.com",
    "website": "string",
    "phone": "string",
    "country": "string",
    "city": "string",
    "timezone": "string",
    "companyName": "string",
    "companyDomain": "string",
    "lawfulBasis": "UNKNOWN",
    "lawfulBasisNote": "string",
    "tags": [
      "string"
    ],
    "customFields": {},
    "ownerId": "00000000-0000-4000-8000-000000000000"
  }'

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

Export leads as CSV (same filters as list)

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

workspaceIdrequiredstring

Query parameters

pageintegerRange 1–9007199254740991 · Default 1
pageSizeintegerRange 1–200 · Default 50
qstring
statusenumOne of: NEW, RESEARCHED, QUALIFIED, DISQUALIFIED, CONTACTED, REPLIED, INTERESTED, MEETING_BOOKED, NOT_INTERESTED, CUSTOMER, UNSUBSCRIBED, BOUNCED
listIdstring (uuid)
companyIdstring (uuid)
verificationenumOne of: UNVERIFIED, VALID, INVALID, RISKY, CATCH_ALL, UNKNOWN
minScoreintegerRange -9007199254740991–9007199254740991
countrystring
tagstring
sortenumOne of: createdAt, score, lastRepliedAt, email · Default "createdAt"
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/leads/export" \
  -H "Authorization: Bearer $EMN_API_KEY"

post/api/v1/w/{workspaceId}/leads/bulk

Bulk action on leads

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

workspaceIdrequiredstring

Request body (JSON)

idsrequiredstring (uuid)[]
actionrequiredenumOne of: add_to_list, remove_from_list, add_tag, set_status, set_lawful_basis, research, score, verify, delete
listIdstring (uuid)
tagstringLength 0–50
statusenumOne of: NEW, RESEARCHED, QUALIFIED, DISQUALIFIED, CONTACTED, REPLIED, INTERESTED, MEETING_BOOKED, NOT_INTERESTED, CUSTOMER, UNSUBSCRIBED, BOUNCED
lawfulBasisenumOne of: UNKNOWN, CONSENT, LEGITIMATE_INTEREST, EXISTING_RELATIONSHIP, NOT_REQUIRED
icpIdstring (uuid)
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/leads/bulk" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "ids": [
      "00000000-0000-4000-8000-000000000000"
    ],
    "action": "add_to_list",
    "listId": "00000000-0000-4000-8000-000000000000",
    "tag": "string",
    "status": "NEW",
    "lawfulBasis": "UNKNOWN",
    "icpId": "00000000-0000-4000-8000-000000000000"
  }'

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

Lead profile with history, research, scores, conversations

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

patch/api/v1/w/{workspaceId}/leads/{id}

Update a lead (status changes are recorded)

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring

Request body (JSON)

emailstring
firstNamestring | null
lastNamestring | null
titlestring | null
linkedinUrlstring (uri) | null | ""
websitestring | null
phonestring | null
countrystring | null | ""
citystring | null
timezonestring | null
companyNamestring | null
companyDomainstring | null
lawfulBasisenumOne of: UNKNOWN, CONSENT, LEGITIMATE_INTEREST, EXISTING_RELATIONSHIP, NOT_REQUIRED
lawfulBasisNotestring | null
tagsstring[]
customFieldsobject
ownerIdstring (uuid) | null
statusenumOne of: NEW, RESEARCHED, QUALIFIED, DISQUALIFIED, CONTACTED, REPLIED, INTERESTED, MEETING_BOOKED, NOT_INTERESTED, CUSTOMER, UNSUBSCRIBED, BOUNCED
Request
curl -X PATCH "https://app.example.com/api/v1/w/$WORKSPACE_ID/leads/$ID" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "string",
    "firstName": "string",
    "lastName": "string",
    "title": "string",
    "linkedinUrl": "https://example.com",
    "website": "string",
    "phone": "string",
    "country": "string",
    "city": "string",
    "timezone": "string",
    "companyName": "string",
    "companyDomain": "string",
    "lawfulBasis": "UNKNOWN",
    "lawfulBasisNote": "string",
    "tags": [
      "string"
    ],
    "customFields": {},
    "ownerId": "00000000-0000-4000-8000-000000000000",
    "status": "NEW"
  }'

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

Delete a lead

Workspace member or API keyRole manager or higherSuccess: 200

Path parameters

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

post/api/v1/w/{workspaceId}/leads/{id}/verify

Verify the lead email now (uses configured verifier)

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

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