API documentation for the Influencer Hero platform.
https://api.influencer-hero.com/
List of email addresses.
ID of the brand. If not provided, the first brand in the account will be used.
https://api.influencer-hero.com/v1/search/identify_influencers
curl -i -X POST \
  https://api.influencer-hero.com/v1/search/identify_influencers \
  -H 'Content-Type: application/json' \
  -d '{
    "influencer_list": [
      "influencer1@example.com",
      "influencer2@example.com"
    ],
    "brand_id": 4819,
    "source_type": "sendinblue"
  }'{ "message": "Successfully sent contact details to queue. Please allow for up to an hour for processing.", "success": true }
https://api.influencer-hero.com/v1/crm/get_deal_details
curl -i -X GET \
  'https://api.influencer-hero.com/v1/crm/get_deal_details?deal_id=ETUNQ6ZTW1&influencer_handle=therock'{ "deal_info": { "id": "ETUNQ6ZTW1", "influencer_handle": "therock", "brand_id": 4819, "is_active": true } }
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 -i -X POST \
  https://api.influencer-hero.com/v1/crm/create_deal \
  -H 'Content-Type: application/json' \
  -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." }
[Advanced] Server-side endpoints for tracking affiliate actions and performance. For most use cases, the client-side tracking script will be sufficient.