Influencer Hero API (1.4.2)

API documentation for the Influencer Hero platform.

Download OpenAPI description
Languages
Servers
https://api.influencer-hero.com/

Test endpoints

Endpoints to test authenticated and public requests

Operations

CRM

Endpoints related to CRM functionalities.

Operations

Affiliate Tracking

[Advanced] Server-side endpoints for tracking affiliate actions and performance. For most use cases, the client-side tracking script will be sufficient.

Operations

Account

Account-related functionalities for dealflow and brand searching.

Operations

Dealflow Search

Request

Retrieves all dealflows in the user's account.

curl -i -X GET \
  https://api.influencer-hero.com/v1/account/search_dealflows

Responses

Success response

Bodyapplication/json
Response
application/json
[ { "id": "D_FSSI4P", "name": "Dealflow 1" }, { "id": "67890", "name": "Dealflow 2" } ]

Brand ID Search

Request

Searches for brands in the platform account.

curl -i -X GET \
  https://api.influencer-hero.com/v1/account/search_brands

Responses

Success response

Bodyapplication/json
Response
application/json
[ { "id": 4819, "name": "Brand A" }, { "id": 6789, "name": "Brand B" } ]

Create Webhook

Request

Creates a webhook for various triggers.

Bodyapplication/jsonrequired
webhook_urlstringrequired

Webhook target URL.

Example: "https://example.com/webhook"
webhook_typestringrequired

Type of webhook. Must be one of ["product_sent","update_discount_code","update_custom_link", "new_payout_request","new_email_sent","new_influencer_reply", "new_influencer_post","new_max_bid"].

Example: "new_influencer_reply"
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"
  }'

Responses

Successfully created webhook.

Bodyapplication/json
Response
application/json
{ "message": "Successfully created webhook." }

Delete Webhook

Request

Deletes an existing webhook.

Query
webhook_urlstringrequired

Webhook URL to delete.

Example: webhook_url=https://example.com/webhook
curl -i -X DELETE \
  'https://api.influencer-hero.com/v1/account/delete_webhook?webhook_url=https%3A%2F%2Fexample.com%2Fwebhook'

Responses

Successfully deleted webhook.

Bodyapplication/json
Response
application/json
{ "message": "Successfully deleted webhook." }

webhooks

Webhooks