Lead Gen

Count leads by status

Changed on

Counts your team's stored Meta leads per status, for a status filter or a "new leads" badge.

Every status is present, with 0 when no lead has it. Requires the Ads add-on.

get/v1/ads/leads/counts

Request

  • Base URL
    https://zernio.com/api
  • URL
    https://zernio.com/api/v1/ads/leads/counts
  • Auth
    HTTP bearer

Query parameters

accountIdstring

Count one connected account only.

campaignIdstring

The platform campaign id the leads came from.

Response

Lead counts.

statusstring
totalinteger

Example response

{
  "status": "success"
}

Changes