API documentation for the Influencer Hero platform.
API documentation for the Influencer Hero platform.
[Advanced] Server-side endpoints for tracking affiliate actions and performance. For most use cases, the client-side tracking script will be sufficient.
This webhook is fired whenever a user creates a payout request in Influencer Hero. The request body contains all the details of the requested payout as well as minimal information about the associated deal.
Security / Verification - Each request includes a timestamp (X-InfluencerHero-Timestamp
) and
an HMAC-SHA256 signature (X-InfluencerHero-Signature
) in the headers.
Key information about the requested payout.
Identifier for the brand requesting or associated with the payout.
The currency in which the payout is requested (e.g., USD).
A lightweight summary of the influencers deal.
{ "payout_information": { "payout_comment": "January bonus payment", "brand_id": "12345", "payout_currency": "USD", "payout_amount": 1500 }, "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-67890" }
Payload containing information about the new Max Bid request.
Additional details about the Max Bid request.
{ "webhook_timestamp": "1693427202", "max_bid_information": { "max_bid_comment": "Please provide the highest possible bid for this influencer." }, "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": "abc123" }
Payload containing information about the updated discount code.
Details about the previous and new discount codes.
{ "webhook_timestamp": "1693427202", "code_information": { "old_discount_code": "FIT2023", "old_discount_perc": 15, "new_discount_code": "FIT2024", "new_discount_perc": 20 }, "collab_id": "collab987", "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": "xyz789" }
Payload containing information about the updated custom link.
Details about the previous and new custom link.
The existing target URL for the old custom link.
{ "webhook_timestamp": "1693427202", "custom_link_information": { "old_custom_link": "/the-old-link", "old_custom_link_target": "https://old.example.com", "new_custom_link": "/the-new-link", "new_custom_link_target": "https://new.example.com" }, "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" }, "collab_id": "collab123", "deal_id": "deal321" }
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.
Details about the product and recipient information being sent.
A lightweight summary of the influencers deal.
{ "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.
{ "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.
{ "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" }
Payload containing information about the influencer's email reply.
Details about the received email reply.
A lightweight summary of the influencers deal.
{ "email_information": { "from_addr": "janedoe@example.com", "recipient": "brand@mycompany.com", "cc_address": "team@mycompany.com", "email_subject": "Re: Collaboration Proposal", "email_body": "Thank you for reaching out. I'd love to discuss more details...", "received_time": "2025-01-16 09:15:00" }, "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", "deal_url": "https://app.influencer-hero.com/deal/deal12345" }