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.
curl -i -X GET \
https://api.influencer-hero.com/v1/account/search_dealflows
[ { "id": "D_FSSI4P", "name": "Dealflow 1" }, { "id": "67890", "name": "Dealflow 2" } ]
curl -i -X GET \
https://api.influencer-hero.com/v1/account/search_brands
[ { "id": 4819, "name": "Brand A" }, { "id": 6789, "name": "Brand B" } ]
curl -i -X POST \
https://api.influencer-hero.com/v1/account/create_webhook \
-H 'Content-Type: application/json' \
-d '{
"webhook_url": "https://example.com/webhook",
"webhook_type": "new_influencer_reply"
}'
{ "message": "Successfully created webhook." }
curl -i -X DELETE \
'https://api.influencer-hero.com/v1/account/delete_webhook?webhook_url=https%3A%2F%2Fexample.com%2Fwebhook'
{ "message": "Successfully deleted webhook." }