Influ2 Targets API
The targets API from Influ2, for targets.
The targets API from Influ2, for targets.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/influ2:influ2-targets-api"
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.
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: 3.2.0
info:
description: Influ2 API methods documentation
title: Influ2 Targets 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: Targets
paths:
/campaigns/{campaign_id}/targets:
get:
security:
- ApiKey: []
description: returns targets for given campaign
tags:
- Targets
summary: Get campaign targets
parameters:
- description: Campaign ID
name: campaign_id
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/models.CampaignTarget'
'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: getCampaignsByCampaignIdTargets
x-operation-id-source: derived
post:
security:
- ApiKey: []
description: 'Adds given target to list and campaign targeting.
list_id or list_name must be provided to correctly identify list.
target_id or first_name+last_name+company must be provided to correctly identify target.'
tags:
- Targets
summary: Add campaign target
parameters:
- description: Campaign ID
name: campaign_id
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/models.CampaignTarget'
'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'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/models.CampaignTarget'
description: Target
required: true
operationId: postCampaignsByCampaignIdTargets
x-operation-id-source: derived
/campaigns/{campaign_id}/targets/{target_id}:
get:
security:
- ApiKey: []
description: Returns info about target by id
tags:
- Targets
summary: Get campaign target
parameters:
- description: Campaign ID
name: campaign_id
in: path
required: true
schema:
type: string
- description: Target ID
name: target_id
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/models.CampaignTarget'
'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: getCampaignsByCampaignIdTargetsByTargetId
x-operation-id-source: derived
delete:
security:
- ApiKey: []
description: deletes given target from campaign targeting
tags:
- Targets
summary: Delete campaign target
parameters:
- description: Campaign ID
name: campaign_id
in: path
required: true
schema:
type: string
- description: Target ID
name: target_id
in: path
required: true
schema:
type: string
responses:
'204':
description: No Content
'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: deleteCampaignsByCampaignIdTargetsByTargetId
x-operation-id-source: derived
/targets/{target_id}:
get:
security:
- ApiKey: []
description: Returns info about target by id
tags:
- Targets
summary: Get target
parameters:
- description: Target ID
name: target_id
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/models.Target'
'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: getTargetsByTargetId
x-operation-id-source: derived
components:
schemas:
models.Target:
type: object
properties:
company_name:
type: string
emails:
type: array
items:
type: string
first_name:
type: string
last_name:
type: string
linkedin:
type: string
middle_name:
type: string
phones:
type: array
items:
type: string
target_id:
type: string
title:
type: string
handlers.JSONMessage:
type: object
properties:
message:
type: string
models.CampaignTarget:
type: object
properties:
company_name:
type: string
emails:
type: array
items:
type: string
first_name:
type: string
last_name:
type: string
linkedin:
type: string
list_id:
type: integer
list_name:
type: string
list_type:
type: string
middle_name:
type: string
phones:
type: array
items:
type: string
target_id:
type: string
title:
type: string
securitySchemes:
ApiKey:
type: apiKey
name: X-API-Key
in: header