# Upfluence

> Find creator profiles, read campaign and audience data, and manage creator lists in Upfluence.

App · 17 actions. Web page: https://docs.lodol.com/docs/integrations/upfluence

## Actions

### Create creator list

Create a list for organizing influencers.

**Inputs**

- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "list": {
      "archived": false,
      "count": 1,
      "created_at": "example",
      "has_live_capture_campaign": false,
      "id": 1,
      "name": "example",
      "owned_by": "example",
      "rejected_count": 1,
      "selected_count": 1,
      "suggested_count": 1,
      "updated_at": "example"
    }
  }
}
```

### Delete creator list

Remove a creator list.

**Inputs**

- Id (`id`, number, required): Id of the list

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "status": "example"
  }
}
```

### Get API credits

Read available Developer API credits.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "credits": {
      "available": 1,
      "consumed": 1
    }
  }
}
```

### Get campaign

Read one influencer campaign.

**Inputs**

- Id (`id`, number, required): ID of the campaign to retrieve

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "campaign": {
      "archived": false,
      "ask_for_instagram_stories": false,
      "client_id": 1.0,
      "compensation_type": "payment",
      "contribution_stats": {
        "authorized_for_payment": 1.0,
        "drafts_review": 1.0,
        "influencer_applied": 1.0,
        "influencer_approved": 1.0,
        "invited": 1.0,
        "payment_request_submitted": 1.0,
        "processed": 1.0,
        "publishing": 1.0,
        "ready_for_publication": 1.0,
        "shortlisted": 1.0
      },
      "created_at": "example",
      "default_commission_rate": 1.0,
      "id": 1.0,
      "marketplace_campaign_settings_id": 1.0,
      "name": "example",
      "owned_by": "example",
      "products_quantity_limit": 1.0,
      "require_invoice": false,
      "require_tax_document": false,
      "stream_id": 1.0,
      "tracked_keywords": [],
      "updated_at": "example"
    },
    "marketplace_campaign_settings": []
  }
}
```

### Get creator audience

Read audience data for an influencer.

**Inputs**

- Influencer id (`influencer_id`, number, required): ID of the influencer

**Outputs**

- `data` (object): Comprehensive audience demographics and characteristics for an influencer

**Example output**

```json
{
  "data": {
    "audience_age": {
      "confident": false,
      "total": 1,
      "values": {}
    },
    "audience_city": {
      "confident": false,
      "total": 1,
      "values": {}
    },
    "audience_country": {
      "confident": false,
      "total": 1,
      "values": {}
    },
    "audience_gender": {
      "confident": false,
      "total": 1,
      "values": {}
    },
    "audience_state": {
      "confident": false,
      "total": 1,
      "values": {}
    },
    "fake_account": {
      "confident": false,
      "total": 1,
      "values": {}
    },
    "legal_drinking_age": {
      "confident": false,
      "total": 1,
      "values": {}
    }
  }
}
```

### Get creator list

Read a saved creator list.

**Inputs**

- Id (`id`, number, required): Id of the list

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "list": {
      "archived": false,
      "count": 1,
      "created_at": "example",
      "has_live_capture_campaign": false,
      "id": 1,
      "name": "example",
      "owned_by": "example",
      "rejected_count": 1,
      "selected_count": 1,
      "suggested_count": 1,
      "updated_at": "example"
    }
  }
}
```

### Get credit usage

Read how the account has used API credits.

**Inputs**

- Granularity (`granularity`, text): Period used to group the usage. One of: `day`, `month`.
- Since (`since`, date and time): ISO 8601 date or datetime (UTC) from which usage is returned. Defaults to one month ago. Values older than the maximum window (2 months for `day`, 1 year for `month`) are clamped to that window.

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {}
}
```

### Get influencer

Read a creator’s profile.

**Inputs**

- Id (`id`, number, required): Unique identifier of the influencer

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "articles": [],
    "blogs": [],
    "influencer": {
      "address": "example",
      "agent_email": "example",
      "avatar_url": "example",
      "blog_id": 1,
      "categories": [],
      "country": "example",
      "created_at": 1,
      "description": "example",
      "email": "example",
      "first_name": "example",
      "gender": "male",
      "has_email": false,
      "id": 1,
      "in_community": false,
      "instagram_id": 1,
      "lang": "example",
      "last_name": "example",
      "list_entry_ids": [],
      "location": {
        "address": "example",
        "country": "example",
        "origin": "example"
      },
      "merge_fields": [],
      "name": "example",
      "phone_number": "example",
      "pinterest_id": 1,
      "rating": 1.0,
      "shipping_address": {
        "city": "example",
        "country_code": "example",
        "line1": "example",
        "line2": "example",
        "state": "example",
        "zipcode": "example"
      },
      "tags": [],
      "tiktok_id": 1,
      "twitch_id": 1,
      "twitter_id": 1,
      "unlocked": false,
      "updated_at": 1,
      "verified": false,
      "youtube_id": 1
    },
    "instagrams": [],
    "instagrams_medias": [],
    "list_entries": [],
    "lists": [],
    "pins": [],
    "pinterests": [],
    "tiktok_videos": [],
    "tiktoks": [],
    "tweets": [],
    "twitch_streams": [],
    "twitches": [],
    "twitters": [],
    "youtube_videos": [],
    "youtubes": []
  }
}
```

### List campaign contributions

Read content submitted to influencer campaigns.

**Inputs**

- Campaign (`campaign_id`, number): Filter contributions by campaign ID. Required if `influencer_id` is not provided.
- Influencer id (`influencer_id`, number): Filter contributions by influencer ID. Required if `campaign_id` is not provided.
- Page (`page`, number): Page number
- Per page (`per_page`, number): Number of contributions per page

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "blogs": [],
    "code_profiles": [],
    "compensation_shipping_addresses": [],
    "contributions": [],
    "influencers": [],
    "instagrams": [],
    "meta": {
      "per_page": 1,
      "total": 1,
      "total_pages": 1
    },
    "pinterests": [],
    "suppliers": [],
    "tiktoks": [],
    "youtubes": []
  }
}
```

### List campaigns

Find influencer campaigns by search term.

**Inputs**

- Page (`page`, number): Page number for pagination
- Per page (`per_page`, number): Number of campaigns per page
- S (`s`, text): Search term to filter campaigns by name

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "campaigns": [],
    "meta": {
      "per_page": 1,
      "total": 1,
      "total_pages": 1
    }
  }
}
```

### List creator list entries

Read influencers in a saved list.

**Inputs**

- List (`list_id`, number, required): Id of a list
- Page (`page`, number): Page number
- Per page (`per_page`, number): Number of list entries by page

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "influencers": [],
    "list": [],
    "list_entries": [],
    "meta": {
      "per_page": 1,
      "total": 1,
      "total_pages": 1
    }
  }
}
```

### List creator lists

Read the saved creator lists.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "lists": []
  }
}
```

### List influencer attributes

Read saved attributes for a creator.

**Inputs**

- Id (`id`, number, required): Id of the influencer

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "influencer_overlay": {
      "address": "example",
      "country": "example",
      "email": "example",
      "first_name": "example",
      "gender": "male",
      "last_name": "example",
      "name": "example",
      "phone_number": "example",
      "rating": 1.0,
      "shipping_address": {
        "city": "example",
        "country_code": "example",
        "line1": "example",
        "line2": "example",
        "state": "example",
        "zipcode": "example"
      }
    }
  }
}
```

### List influencer merge fields

Read merge fields for a creator.

**Inputs**

- Id (`id`, number, required): Id of the influencer

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "merge_fields": []
  }
}
```

### List influencer tags

Read tags on a creator profile.

**Inputs**

- Id (`id`, number, required): Id of the influencer

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "tags": []
  }
}
```

### List tags

Read the account’s available creator tags.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "tags": []
  }
}
```

### Look up influencer

Find a creator by a public profile URL.

**Inputs**

- Url (`url`, text, required): Social media profile URL (Instagram, YouTube, TikTok, Pinterest, Twitch, or Twitter)

**Outputs**

- `data` (object): The response from Upfluence.

**Example output**

```json
{
  "data": {
    "articles": [],
    "blogs": [],
    "influencers": [],
    "instagrams": [],
    "instagrams_medias": [],
    "pins": [],
    "pinterests": [],
    "tiktok_videos": [],
    "tiktoks": [],
    "tweets": [],
    "twitch_streams": [],
    "twitches": [],
    "twitters": [],
    "youtube_videos": [],
    "youtubes": []
  }
}
```
