Skip to main content

List Providers

GET/api/v1/lead_providers/

Get a list of providers (paginated).

Auth: Admin JWT + IsAdminOnlyPosition.

Query parameters

ParameterTypeDescription
is_exclusiveBoolean (true/false)Filter by exclusivity
searchStringText search
pageIntegerPage number (page size 10)

Response — 200 OK

DRF pagination format: count + next / previous + results.

{
"count": 42,
"next": "http://.../lead_providers/?page=2",
"previous": null,
"results": [
{
"id": 1,
"name": "Super Leads LLC",
"email": "contact@superleads.com",
"status": "active",
"is_exclusive": false,
"assigned_user": { "id": 7, "username": "jdoe", "full_name": "John Doe" },
"price_per_lead": "12.50",
"created_at": "2026-05-01T10:00:00Z",
"updated_at": "2026-06-10T14:30:00Z"
}
]
}

:::info Field types

  • assigned_useran object on read ({ id, username, full_name }).
  • price_per_lead — a decimal, as a string; null when there is no value. :::

Code samples

curl "https://api.navigo.example/api/v1/lead_providers/?is_exclusive=false&page=1" \
-H "Authorization: Bearer $NAVIGO_ADMIN_JWT"

Possible errors

StatusReason
401JWT token is invalid or expired
403No admin position

Full format: Errors.