GET
/
promoters
/
current
curl --request GET \
  --url https://v2.firstpromoter.com/api/v2/affiliate/promoters/current \
  --header 'Account-ID: <account-id>' \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "email": "<string>",
  "name": "<string>",
  "stats": {
    "clicks_count": 123,
    "referrals_count": 123,
    "sales_count": 123,
    "customers_count": 123,
    "revenue_amount": 123,
    "active_customers_count": 123
  },
  "balances": {},
  "custom_fields": {},
  "first_event_at": "2023-11-07T05:31:56Z",
  "invoice_details_status": "<string>",
  "joined_at": "2023-11-07T05:31:56Z",
  "selected_payout_method": "<string>",
  "pending_contract_documents": [
    "<string>"
  ],
  "profile": {
    "id": 123,
    "first_name": "<string>",
    "last_name": "<string>",
    "website": "<string>",
    "company_name": "<string>",
    "phone_number": "<string>",
    "vat_id": "<string>",
    "country": "<string>",
    "address": "<string>",
    "avatar": "<string>",
    "instagram_url": "<string>",
    "youtube_url": "<string>",
    "linkedin_url": "<string>",
    "facebook_url": "<string>",
    "twitter_url": "<string>",
    "twitch_url": "<string>",
    "tiktok_url": "<string>"
  },
  "promoter_campaigns": [
    {
      "id": 123,
      "campaign_id": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "campaign": {
        "id": 123,
        "name": "<string>",
        "color": "<string>"
      },
      "state": "<string>",
      "promoter_id": 123,
      "stats": {
        "clicks_count": 123,
        "referrals_count": 123,
        "sales_count": 123,
        "customers_count": 123,
        "revenue_amount": 123
      },
      "ref_token": "<string>",
      "ref_link": "<string>",
      "has_monetary_rewards": true
    }
  ],
  "is_confirmed": true
}

Authorizations

Authorization
string
header
required

Access token passed as a Bearer token in the Authorization header

Headers

Account-ID
string
required

Account identifier that specifies which account is making the request

Example:

"acc_123456"

Response

200
application/json

Successful response

The response is of type object.