API documentation for the Influencer Hero platform.
Influencer Hero API (1.4.2)
Affiliate Tracking
[Advanced] Server-side endpoints for tracking affiliate actions and performance. For most use cases, the client-side tracking script will be sufficient.
Request
This webhook is fired whenever a user sends a product to an influencer or contact. The request body contains core details of the shipped order (in a simplified form), along with minimal information about the related deal. Security / Verification - Each request includes a timestamp (X-InfluencerHero-Timestamp) and
an HMAC-SHA256 signature (X-InfluencerHero-Signature) in the headers.
- The payload can be used along with the secret key your system has stored (provided by Influencer Hero) to verify authenticity of the request.
Details about the product and recipient information being sent.
A lightweight summary of the influencers deal.
- https://api.influencer-hero.com/product_sent
{ "send_product_info": { "line_items": [ … ], "customer": { … }, "shipping_address": { … }, "phone": "555-555-5555" }, "deal_info": { "deal_name": "therock", "is_active": true, "dealflow_funnel_step": 3, "dealflow_type": "outreach", "dealflow_name": "Spring Collection Promo", "picture_url": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDbrEEwrWumIvR20xZeZXa0LDeIrcniqZeG9S%2F1a5s2Rx3FZdXrWpY%2BmSBJp1l%2FmBGon3rcHA4EfuatZqMhVBzAT", "nr_followers": 60000, "full_name": "Dwayne Johnson", "platform": "instagram", "profile_url": "https://instagram.com/therock" }, "deal_id": "DEAL-12345" }
Payload containing information about the newly sent email.
Details about the email that was just sent.
- https://api.influencer-hero.com/new_email_sent
{ "webhook_timestamp": "1693427202", "email_information": { "sent_from_email_account": "brand@mycompany.com", "recipient": "influencer@example.com", "cc_address": "manager@example.com", "email_subject": "Collaboration Proposal", "email_body": "Hello, I'd like to collaborate on our new campaign...", "sent_by_user": "John Marketer" }, "deal_info": { "deal_name": "therock", "is_active": true, "dealflow_funnel_step": 3, "dealflow_type": "outreach", "dealflow_name": "Spring Collection Promo", "picture_url": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDbrEEwrWumIvR20xZeZXa0LDeIrcniqZeG9S%2F1a5s2Rx3FZdXrWpY%2BmSBJp1l%2FmBGon3rcHA4EfuatZqMhVBzAT", "nr_followers": 60000, "full_name": "Dwayne Johnson", "platform": "instagram", "profile_url": "https://instagram.com/therock" }, "deal_id": "deal123" }
Payload containing information about the new influencer post.
Details of the influencer's social media post.
List of media assets associated with the post (URLs, file references, etc.).
A lightweight summary of the influencers deal.
- https://api.influencer-hero.com/new_influencer_post
{ "post_information": { "account_id": 3218, "brand_id": 12398, "post_type": "story_post", "post_assets": [ … ], "post_timestamp": "2025-01-15 10:30:00", "platform_media_code": "ABC123XYZ", "platform_user_id": "923478147", "platform_handle": "therock", "platform": "instagram" }, "deal_info": { "deal_name": "therock", "is_active": true, "dealflow_funnel_step": 3, "dealflow_type": "outreach", "dealflow_name": "Spring Collection Promo", "picture_url": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDbrEEwrWumIvR20xZeZXa0LDeIrcniqZeG9S%2F1a5s2Rx3FZdXrWpY%2BmSBJp1l%2FmBGon3rcHA4EfuatZqMhVBzAT", "nr_followers": 60000, "full_name": "Dwayne Johnson", "platform": "instagram", "profile_url": "https://instagram.com/therock" }, "deal_id": "deal12345", "collab_id": "collab5678", "deal_url": "https://app.influencer-hero.com/deal/deal12345" }