Influ2 Leads API

The leads API from Influ2, for leads.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

GET /leads Get leads #
GET /leads_imp Get leads by impressions #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/influ2:influ2-leads-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

influ2-leads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Influ2 API methods documentation
  title: Influ2 Leads API
  termsOfService: https://www.influ2.com/terms-of-service
  contact:
    name: Illia Vavilin
  license:
    name: Apache 2.0
  version: '1.0'
servers:
- url: https://api.influ2.com/v1
tags:
- name: Leads
paths:
  /leads:
    get:
      security:
      - ApiKey: []
      description: returns leads for given client or campaign for the last 7 days or given period of
      tags:
      - Leads
      summary: Get leads
      parameters:
      - description: Campaign ID
        name: campaign_id
        in: query
        schema:
          type: string
      - description: Start date in format yyyy-mm-dd
        name: start_date
        in: query
        schema:
          type: string
      - description: End date in format yyyy-mm-dd
        name: end_date
        in: query
        schema:
          type: string
      - description: The number of leads to return (default 100)
        name: limit
        in: query
        schema:
          type: integer
      - description: Offset number (default value is 0)
        name: offset
        in: query
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/models.Lead'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.JSONMessage'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.JSONMessage'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.JSONMessage'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.JSONMessage'
      operationId: getLeads
      x-operation-id-source: derived
  /leads_imp:
    get:
      security:
      - ApiKey: []
      description: returns leads for given client or campaign with a minimum impressions amount set in query parameter. Min value is 5, max - 1000
      tags:
      - Leads
      summary: Get leads by impressions
      parameters:
      - description: Campaign ID
        name: campaign_id
        in: query
        schema:
          type: string
      - description: impressions
        name: impressions
        in: query
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/models.LeadImp'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.JSONMessage'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.JSONMessage'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.JSONMessage'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handlers.JSONMessage'
      operationId: getLeadsImp
      x-operation-id-source: derived
components:
  schemas:
    models.LeadImp:
      type: object
      properties:
        campaign_id:
          type: string
        campaign_name:
          type: string
        client_id:
          type: string
        company_name:
          type: string
        email:
          type: array
          items:
            type: string
        first_name:
          type: string
        impressions:
          type: integer
        last_name:
          type: string
        linkedin:
          type: string
        middle_name:
          type: string
        owner_email:
          type: string
        phone:
          type: array
          items:
            type: string
        target_id:
          type: string
        title:
          type: string
    models.Lead:
      type: object
      properties:
        action:
          $ref: '#/components/schemas/models.LeadAction'
        campaign_id:
          type: string
        campaign_name:
          type: string
        client_id:
          type: string
        company_name:
          type: string
        creative_id:
          type: integer
        creative_title:
          type: string
        emails:
          type: array
          items:
            type: string
        first_name:
          type: string
        id:
          type: integer
        last_name:
          type: string
        linkedin:
          type: string
        middle_name:
          type: string
        owner_email:
          type: string
        phones:
          type: array
          items:
            type: string
        target_id:
          type: string
        title:
          type: string
    models.LeadAction:
      type: object
      properties:
        action_type:
          type: string
        city:
          type: string
        country:
          type: string
        creative_url:
          type: string
        engagement:
          type: integer
        impressions:
          type: integer
        ip:
          type: string
        landing_url:
          type: string
        previous_clicks:
          type: integer
        time:
          type: string
        user_agent:
          type: string
    handlers.JSONMessage:
      type: object
      properties:
        message:
          type: string
  securitySchemes:
    ApiKey:
      type: apiKey
      name: X-API-Key
      in: header