API documentation for the Influencer Hero platform.
Influencer Hero API (1.4.2)
Request
Creates a new influencer deal page in the specified campaign board/dealflow. The difference between this and the "Submit Influencers to campaign" endpoint is that this directly adds the influencer to the CRM, bypassing the outreach step. This is useful for manually adding influencers that you already work with or have a relationship with. This is like manually adding an influencer via the CSV import feature.
Whether to create affiliate details automatically. If true, we will create the discount code and custom link (if there are any) in your shopify/CMS integration. If not we will just insert it in the deal page (sales with that discount code will still be correctly tracked)
- https://api.influencer-hero.com/v1/crm/create_deal
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.influencer-hero.com/v1/crm/create_deal \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"influencer_handle": "therock",
"platform": "instagram",
"first_name": "Dwayne",
"last_name": "Johnson",
"email": "dwayne.johnson@example.com",
"brand_id": 4819,
"dealflow_id": "D_FSSI4P",
"funnel_step": 2,
"address_line": "123 Hollywood Blvd",
"postcode": "90038",
"region": "California",
"city": "Los Angeles",
"country_code": "US",
"phone_nr": "+1 310 555 0100",
"total_payouts": 250,
"total_commission_earned": 500.5,
"total_fixed_fee_earned": 1000,
"total_sales": 4500,
"total_referrals": 25,
"code": "THEROCK50",
"code_perc": 15,
"custom_url": "/therock",
"custom_url_target": "/",
"commission_perc": 10,
"create_affiliate_details": true
}'{ "deal_id": "ETUNQ6ZTW1", "deal_page_url": "https://app.influencer-hero.com/deal/ETUNQ6ZTW1", "message": "Successfully created deal." }
Request
This endpoint adds the influencers to the specified campaign. The influencer is scheduled for outreach if the campaign is set to send one. This is like adding influencers to a campaign from the Influencer Finder.
Credit Usage:
- Each influencer added costs 0.04 search credits.
- Duplicate influencers (already in the account) are automatically skipped.
List of influencer user IDs to add to the campaign.
- https://api.influencer-hero.com/v1/search/submit_influencers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.influencer-hero.com/v1/search/submit_influencers \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"outreach_id": "O_I4SFHB",
"influencer_ids": [
"703787",
"703739",
"703738"
],
"platform": "instagram"
}'{ "message": "5 influencers added to the campaign and 2 duplicates ignored.", "total_added": 5, "duplicates_ignored": 2, "success": true, "status": 200 }
Affiliate Tracking
[Advanced] Server-side endpoints for tracking affiliate actions and performance. For most use cases, the client-side tracking script will be sufficient.