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.
Response — data 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
| Field | Default |
|---|---|
name | — |
domain | — |
Required: name, domain.
Response — data 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.
Response — data 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 | |
|---|---|
id | Required |
Response — data 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 | |
|---|---|
id | Required |
Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.
Response — data is an array of Activity objects, alongside the pagination fields described in Response format.
Errors DomainTrackingNotFound_400