Skip to main content

Domain tracking

Base URL https://api.leadx.in/api/key/protected. Every request needs an apikey header — see Authentication.

5 endpoints.

GET /domain-tracking

Get all domain tracking.

Auth apikey

:::note Used by the web app pages/AddDomainTracking.jsx, pages/DomainTracking.jsx :::

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of domainTrackingSchema objects, alongside the pagination fields described in Response format.

POST /domain-tracking

Create domain tracking.

Auth apikey · Success 200

:::note Used by the web app pages/AddDomainTracking.jsx, pages/DomainTracking.jsx :::

Request body

FieldDefault
name
domain

Required: name, domain.

Responsedata is one domainTrackingSchema object. (Resource deduced from the collections this handler reads, not read off an explicit return.)

Errors DomainTrackingNameAlreadyExists_400

DELETE /domain-tracking

Delete domain tracking.

Auth apikey · Success 200

:::note Used by the web app pages/AddDomainTracking.jsx, pages/DomainTracking.jsx :::

Request body — the standard bulk selection: ids, nids, selectAll. Query-string filters apply when selectAll is set.

Responsedata is null; the outcome is the status code and message.

GET /domain-tracking/:id

Get domain tracking.

Auth apikey

:::note Used by the web app pages/AddDomainTracking.jsx :::

Path parameters

Name
idRequired

Responsedata is one domainTrackingSchema object. (Resource deduced from the collections this handler reads, not read off an explicit return.)

Errors DomainTrackingNotFound_400

GET /domain-tracking/:id/activities

Get domain tracking activities.

Auth apikey

:::note Used by the web app components/DomainTrackingActivities.jsx :::

Path parameters

Name
idRequired

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of Activity objects, alongside the pagination fields described in Response format.

Errors DomainTrackingNotFound_400