Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.vh3.ai/llms.txt

Use this file to discover all available pages before exploring further.

Sales Opportunities

Pipeline and line items. Auth: X-API-Key header. Base: https://api.vh3connect.io/api:YdihQNr3.

Shared parameters

ParamTypeDescription
pageNumberintegerPage index (1-based)
pageSizeintegerItems per page (default 100, max 1000)
sortBystringSort field (endpoint-specific)
directionenumascending or descending

Date filters (list)

POST /sales_opportunities/list requires at least one filter. Two independent windows are available; each pair is limited to 12 months:
ParamFilters on
createdAtFrom / createdAtToOpportunity creation time
dueDateFrom / dueDateToOpportunity due date
See overview.

Sales opportunities

CRM pipeline.

GET /sales_opportunities/sales_opportunity

Get opportunity.
curl -G "https://api.vh3connect.io/api:YdihQNr3/sales_opportunities/sales_opportunity" \
  -H "X-API-Key: your-api-key" \
  --data-urlencode "id=2001"

POST /sales_opportunities/list

List opportunities. At least one of: id, status, contactId, ownerId, reference, createdAtFrom/createdAtTo, or dueDateFrom/dueDateTo.
FieldTypeDescription
contactIdintegerCustomer contact
createdAtFromstringCreated on or after (ISO 8601 UTC, max 12-month span with createdAtTo)
createdAtTostringCreated on or before
dueDateFromstringDue on or after (max 12-month span with dueDateTo)
dueDateTostringDue on or before
curl -X POST "https://api.vh3connect.io/api:YdihQNr3/sales_opportunities/list" \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
  "contactId": 12345,
  "createdAtFrom": "2026-01-01T00:00:00Z",
  "createdAtTo": "2026-06-30T23:59:59Z",
  "pageNumber": 1,
  "pageSize": 50
}'

POST /sales_opportunities/edit

Update.
curl -X POST "https://api.vh3connect.io/api:YdihQNr3/sales_opportunities/edit" \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
  "id": 2001
}'

POST /sales_opportunities/probabilities/list

List probabilities.
curl -X POST "https://api.vh3connect.io/api:YdihQNr3/sales_opportunities/probabilities/list" \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
  "pageNumber": 1,
  "pageSize": 50
}'

POST /sales_opportunities/stages/list

List stages.
curl -X POST "https://api.vh3connect.io/api:YdihQNr3/sales_opportunities/stages/list" \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
  "pageNumber": 1,
  "pageSize": 50
}'

Line items

Opportunity lines.

GET /sales_opportunities/line_item

Get line.
curl -G "https://api.vh3connect.io/api:YdihQNr3/sales_opportunities/line_item" \
  -H "X-API-Key: your-api-key" \
  --data-urlencode "salesOpportunityId=2001" \
  --data-urlencode "id=1"

POST /sales_opportunities/line_item/list

List lines.
curl -X POST "https://api.vh3connect.io/api:YdihQNr3/sales_opportunities/line_item/list" \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
  "salesOpportunityId": 2001,
  "pageNumber": 1,
  "pageSize": 50
}'

POST /sales_opportunities/line_item/create

Create line.
curl -X POST "https://api.vh3connect.io/api:YdihQNr3/sales_opportunities/line_item/create" \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
  "salesOpportunityId": 2001
}'

POST /sales_opportunities/line_item/edit

Update line.
curl -X POST "https://api.vh3connect.io/api:YdihQNr3/sales_opportunities/line_item/edit" \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
  "salesOpportunityId": 2001,
  "id": 1
}'

POST /sales_opportunities/line_item/delete

Delete line.
curl -X POST "https://api.vh3connect.io/api:YdihQNr3/sales_opportunities/line_item/delete" \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
  "salesOpportunityId": 2001,
  "id": 1
}'