Outvexa

API reference

CRM

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

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

Add a note to a lead

Workspace member or API keyRole member or higherSuccess: 201

Path parameters

workspaceIdrequiredstring
idrequiredstring

Request body (JSON)

bodyrequiredstringLength 1–10000
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/leads/$ID/notes" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "body": "string"
  }'

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

Delete a note

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

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

post/api/v1/w/{workspaceId}/companies/{id}/notes

Add a note to a company

Workspace member or API keyRole member or higherSuccess: 201

Path parameters

workspaceIdrequiredstring
idrequiredstring

Request body (JSON)

bodyrequiredstringLength 1–10000
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/companies/$ID/notes" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "body": "string"
  }'

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

Opportunity pipeline by stage

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

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

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

Create an opportunity

Workspace member or API keyRole member or higherSuccess: 201

Path parameters

workspaceIdrequiredstring

Request body (JSON)

leadIdrequiredstring (uuid)
titlerequiredstringLength 1–200
stageenumOne of: NEW, QUALIFIED, MEETING, PROPOSAL, WON, LOST · Default "NEW"
valueCentsintegerRange 0–9007199254740991 · Default 0
currencystringLength 3–3 · Default "USD"
expectedCloseAtany | null
campaignIdstring (uuid) | null
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/opportunities" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "leadId": "00000000-0000-4000-8000-000000000000",
    "title": "string",
    "stage": "NEW",
    "valueCents": 0,
    "currency": "USD",
    "expectedCloseAt": null,
    "campaignId": "00000000-0000-4000-8000-000000000000"
  }'

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

Update an opportunity (stage, value…)

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring

Request body (JSON)

leadIdstring (uuid)
titlestringLength 1–200
stageenumOne of: NEW, QUALIFIED, MEETING, PROPOSAL, WON, LOST · Default "NEW"
valueCentsintegerRange 0–9007199254740991 · Default 0
currencystringLength 3–3 · Default "USD"
expectedCloseAtany | null
campaignIdstring (uuid) | null
Request
curl -X PATCH "https://app.example.com/api/v1/w/$WORKSPACE_ID/opportunities/$ID" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "leadId": "00000000-0000-4000-8000-000000000000",
    "title": "string",
    "stage": "NEW",
    "valueCents": 0,
    "currency": "USD",
    "expectedCloseAt": null,
    "campaignId": "00000000-0000-4000-8000-000000000000"
  }'

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

Delete an opportunity

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

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

Tasks / follow-up reminders

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

workspaceIdrequiredstring

Query parameters

statusenumOne of: OPEN, DONE, CANCELLED
assigneeIdstring (uuid)
dueenumOne of: overdue, today, upcoming
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/tasks" \
  -H "Authorization: Bearer $EMN_API_KEY"

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

Create a task

Workspace member or API keyRole member or higherSuccess: 201

Path parameters

workspaceIdrequiredstring

Request body (JSON)

titlerequiredstringLength 1–200
descriptionstring | null
priorityenumOne of: LOW, MEDIUM, HIGH · Default "MEDIUM"
dueAtany | null
assigneeIdstring (uuid) | null
leadIdstring (uuid) | null
conversationIdstring (uuid) | null
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/tasks" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "string",
    "description": "string",
    "priority": "MEDIUM",
    "dueAt": null,
    "assigneeId": "00000000-0000-4000-8000-000000000000",
    "leadId": "00000000-0000-4000-8000-000000000000",
    "conversationId": "00000000-0000-4000-8000-000000000000"
  }'

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

Update / complete a task

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring

Request body (JSON)

titlestringLength 1–200
descriptionstring | null
priorityenumOne of: LOW, MEDIUM, HIGH · Default "MEDIUM"
dueAtany | null
assigneeIdstring (uuid) | null
leadIdstring (uuid) | null
conversationIdstring (uuid) | null
statusenumOne of: OPEN, DONE, CANCELLED
Request
curl -X PATCH "https://app.example.com/api/v1/w/$WORKSPACE_ID/tasks/$ID" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "string",
    "description": "string",
    "priority": "MEDIUM",
    "dueAt": null,
    "assigneeId": "00000000-0000-4000-8000-000000000000",
    "leadId": "00000000-0000-4000-8000-000000000000",
    "conversationId": "00000000-0000-4000-8000-000000000000",
    "status": "OPEN"
  }'

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

Delete a task

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

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

get/api/v1/w/{workspaceId}/crm/forecast

Weighted pipeline forecast, expected close by month, won revenue by month, win rate

Workspace member or API keyRole viewer or higherSuccess: 200

Path parameters

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

get/api/v1/w/{workspaceId}/crm/opportunities/export

Export opportunities as CSV

Workspace member or API keyRole member or higherSuccess: 200

Path parameters

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