> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# instagram

> Instagram Graph API

**Server path:** `/instagram` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                | Description                                                                     |
| ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| [`instagram_add_product_tags`](#instagram_add_product_tags)                         | Add product tags to media                                                       |
| [`instagram_create_comment_reply`](#instagram_create_comment_reply)                 | Create comment reply                                                            |
| [`instagram_create_media`](#instagram_create_media)                                 | Create media container (requires image\_url, video\_url, or children)           |
| [`instagram_create_media_comment`](#instagram_create_media_comment)                 | Create media comment                                                            |
| [`instagram_delete_comment`](#instagram_delete_comment)                             | Delete comment                                                                  |
| [`instagram_get_comment`](#instagram_get_comment)                                   | Get comment by ID                                                               |
| [`instagram_get_comment_filters`](#instagram_get_comment_filters)                   | Get comment filters                                                             |
| [`instagram_get_content_publishing_limit`](#instagram_get_content_publishing_limit) | Get content publishing limit                                                    |
| [`instagram_get_current_user`](#instagram_get_current_user)                         | Get current user info                                                           |
| [`instagram_get_hashtag`](#instagram_get_hashtag)                                   | Get hashtag by ID                                                               |
| [`instagram_get_media`](#instagram_get_media)                                       | Get media by ID                                                                 |
| [`instagram_get_media_insights`](#instagram_get_media_insights)                     | Get media insights                                                              |
| [`instagram_get_product_tags`](#instagram_get_product_tags)                         | Get product tags on media                                                       |
| [`instagram_get_recent_hashtag_media`](#instagram_get_recent_hashtag_media)         | Get recent hashtag media                                                        |
| [`instagram_get_top_hashtag_media`](#instagram_get_top_hashtag_media)               | Get top hashtag media                                                           |
| [`instagram_get_user`](#instagram_get_user)                                         | Get user by ID                                                                  |
| [`instagram_get_user_insights`](#instagram_get_user_insights)                       | Get user insights                                                               |
| [`instagram_get_webhook_subscriptions`](#instagram_get_webhook_subscriptions)       | Get webhook subscriptions                                                       |
| [`instagram_list_available_catalogs`](#instagram_list_available_catalogs)           | Get available catalogs                                                          |
| [`instagram_list_comment_replies`](#instagram_list_comment_replies)                 | Get comment replies                                                             |
| [`instagram_list_live_media`](#instagram_list_live_media)                           | Get live media                                                                  |
| [`instagram_list_media_comments`](#instagram_list_media_comments)                   | Get media comments                                                              |
| [`instagram_list_product_catalogs`](#instagram_list_product_catalogs)               | Get product catalogs                                                            |
| [`instagram_list_shopping_tags`](#instagram_list_shopping_tags)                     | Get shopping tags                                                               |
| [`instagram_list_tagged_media`](#instagram_list_tagged_media)                       | Get tagged media                                                                |
| [`instagram_list_user_media`](#instagram_list_user_media)                           | Get user media                                                                  |
| [`instagram_list_user_mentions`](#instagram_list_user_mentions)                     | Get user mentions                                                               |
| [`instagram_list_user_stories`](#instagram_list_user_stories)                       | Get user stories                                                                |
| [`instagram_publish_media`](#instagram_publish_media)                               | Publish media                                                                   |
| [`instagram_search_hashtags`](#instagram_search_hashtags)                           | Search hashtags                                                                 |
| [`instagram_subscribe_to_webhooks`](#instagram_subscribe_to_webhooks)               | Subscribe to webhooks                                                           |
| [`instagram_update_comment_filters`](#instagram_update_comment_filters)             | Update comment filters (requires filter\_keywords or hide\_offensive\_comments) |

***

## instagram\_add\_product\_tags

Add product tags to media

**Parameters:**

| Parameter      | Type      | Required | Default | Description        |
| -------------- | --------- | -------- | ------- | ------------------ |
| `mediaId`      | string    | Yes      | —       | Instagram Media ID |
| `updated_tags` | object\[] | Yes      | —       | Updated Tags       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "mediaId": {
        "type": "string",
        "description": "Instagram Media ID"
      },
      "updated_tags": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "product_id": {
              "type": "string",
              "description": "Product Id"
            },
            "x": {
              "type": "number",
              "format": "float",
              "description": "The x value"
            },
            "y": {
              "type": "number",
              "format": "float",
              "description": "The y value"
            }
          }
        },
        "description": "Updated Tags"
      }
    },
    "required": [
      "PCID",
      "mediaId",
      "updated_tags"
    ]
  }
  ```
</Expandable>

***

## instagram\_create\_comment\_reply

Create comment reply

**Parameters:**

| Parameter   | Type   | Required | Default | Description                      |
| ----------- | ------ | -------- | ------- | -------------------------------- |
| `commentId` | string | Yes      | —       | Instagram Comment ID to reply to |
| `message`   | string | Yes      | —       | Reply text                       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "commentId": {
        "type": "string",
        "description": "Instagram Comment ID to reply to"
      },
      "message": {
        "type": "string",
        "description": "Reply text"
      }
    },
    "required": [
      "PCID",
      "commentId",
      "message"
    ]
  }
  ```
</Expandable>

***

## instagram\_create\_media

Create media container (requires image\_url, video\_url, or children)

**Parameters:**

| Parameter       | Type      | Required | Default | Description                                                    |
| --------------- | --------- | -------- | ------- | -------------------------------------------------------------- |
| `userId`        | string    | Yes      | —       | Instagram User ID                                              |
| `caption`       | string    | No       | —       | Media caption                                                  |
| `children`      | string    | No       | —       | Comma-separated list of media container IDs for carousel posts |
| `cover_url`     | string    | No       | —       | Video cover image URL                                          |
| `image_url`     | string    | No       | —       | URL of the image to upload                                     |
| `is_reel`       | boolean   | No       | —       | Whether the video is a reel                                    |
| `location_id`   | string    | No       | —       | Location ID                                                    |
| `media_type`    | string    | No       | —       | Media Type                                                     |
| `share_to_feed` | boolean   | No       | —       | Whether to share reel to feed                                  |
| `thumb_offset`  | integer   | No       | —       | Video thumbnail offset in milliseconds                         |
| `user_tags`     | object\[] | No       | —       | User Tags                                                      |
| `video_url`     | string    | No       | —       | URL of the video to upload                                     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      },
      "caption": {
        "type": "string",
        "description": "Media caption"
      },
      "children": {
        "type": "string",
        "description": "Comma-separated list of media container IDs for carousel posts"
      },
      "cover_url": {
        "type": "string",
        "description": "Video cover image URL"
      },
      "image_url": {
        "type": "string",
        "description": "URL of the image to upload"
      },
      "is_reel": {
        "type": "boolean",
        "description": "Whether the video is a reel"
      },
      "location_id": {
        "type": "string",
        "description": "Location ID"
      },
      "media_type": {
        "type": "string",
        "description": "Media Type",
        "enum": [
          "IMAGE",
          "VIDEO",
          "CAROUSEL_ALBUM"
        ]
      },
      "share_to_feed": {
        "type": "boolean",
        "description": "Whether to share reel to feed"
      },
      "thumb_offset": {
        "type": "integer",
        "description": "Video thumbnail offset in milliseconds"
      },
      "user_tags": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "username": {
              "type": "string",
              "description": "The username value"
            },
            "x": {
              "type": "number",
              "format": "float",
              "description": "The x value"
            },
            "y": {
              "type": "number",
              "format": "float",
              "description": "The y value"
            }
          }
        },
        "description": "User Tags"
      },
      "video_url": {
        "type": "string",
        "description": "URL of the video to upload"
      }
    },
    "required": [
      "PCID",
      "userId"
    ]
  }
  ```
</Expandable>

***

## instagram\_create\_media\_comment

Create media comment

**Parameters:**

| Parameter | Type   | Required | Default | Description        |
| --------- | ------ | -------- | ------- | ------------------ |
| `mediaId` | string | Yes      | —       | Instagram Media ID |
| `message` | string | Yes      | —       | Comment text       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "mediaId": {
        "type": "string",
        "description": "Instagram Media ID"
      },
      "message": {
        "type": "string",
        "description": "Comment text"
      }
    },
    "required": [
      "PCID",
      "mediaId",
      "message"
    ]
  }
  ```
</Expandable>

***

## instagram\_delete\_comment

Delete comment

**Parameters:**

| Parameter   | Type   | Required | Default | Description |
| ----------- | ------ | -------- | ------- | ----------- |
| `commentId` | string | Yes      | —       | Comment Id  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "commentId": {
        "type": "string",
        "description": "Comment Id"
      }
    },
    "required": [
      "PCID",
      "commentId"
    ]
  }
  ```
</Expandable>

***

## instagram\_get\_comment

Get comment by ID

**Parameters:**

| Parameter   | Type   | Required | Default | Description                            |
| ----------- | ------ | -------- | ------- | -------------------------------------- |
| `commentId` | string | Yes      | —       | Comment Id                             |
| `fields`    | string | No       | —       | Comma-separated list of comment fields |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "commentId": {
        "type": "string",
        "description": "Comment Id"
      },
      "fields": {
        "type": "string",
        "description": "Comma-separated list of comment fields"
      }
    },
    "required": [
      "PCID",
      "commentId"
    ]
  }
  ```
</Expandable>

***

## instagram\_get\_comment\_filters

Get comment filters

**Parameters:**

| Parameter | Type   | Required | Default | Description       |
| --------- | ------ | -------- | ------- | ----------------- |
| `userId`  | string | Yes      | —       | Instagram User ID |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      }
    },
    "required": [
      "PCID",
      "userId"
    ]
  }
  ```
</Expandable>

***

## instagram\_get\_content\_publishing\_limit

Get content publishing limit

**Parameters:**

| Parameter | Type   | Required | Default | Description       |
| --------- | ------ | -------- | ------- | ----------------- |
| `userId`  | string | Yes      | —       | Instagram User ID |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      }
    },
    "required": [
      "PCID",
      "userId"
    ]
  }
  ```
</Expandable>

***

## instagram\_get\_current\_user

Get current user info

**Parameters:**

| Parameter | Type   | Required | Default | Description                         |
| --------- | ------ | -------- | ------- | ----------------------------------- |
| `fields`  | string | No       | —       | Comma-separated list of user fields |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "fields": {
        "type": "string",
        "description": "Comma-separated list of user fields"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## instagram\_get\_hashtag

Get hashtag by ID

**Parameters:**

| Parameter   | Type   | Required | Default | Description      |
| ----------- | ------ | -------- | ------- | ---------------- |
| `hashtagId` | string | Yes      | —       | Hashtag Id       |
| `fields`    | string | No       | —       | The fields value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "hashtagId": {
        "type": "string",
        "description": "Hashtag Id"
      },
      "fields": {
        "type": "string",
        "description": "The fields value"
      }
    },
    "required": [
      "PCID",
      "hashtagId"
    ]
  }
  ```
</Expandable>

***

## instagram\_get\_media

Get media by ID

**Parameters:**

| Parameter | Type   | Required | Default | Description                          |
| --------- | ------ | -------- | ------- | ------------------------------------ |
| `mediaId` | string | Yes      | —       | Instagram Media ID                   |
| `fields`  | string | No       | —       | Comma-separated list of media fields |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "mediaId": {
        "type": "string",
        "description": "Instagram Media ID"
      },
      "fields": {
        "type": "string",
        "description": "Comma-separated list of media fields"
      }
    },
    "required": [
      "PCID",
      "mediaId"
    ]
  }
  ```
</Expandable>

***

## instagram\_get\_media\_insights

Get media insights

**Parameters:**

| Parameter | Type   | Required | Default | Description                     |
| --------- | ------ | -------- | ------- | ------------------------------- |
| `mediaId` | string | Yes      | —       | Instagram Media ID              |
| `metric`  | string | Yes      | —       | Comma-separated list of metrics |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "mediaId": {
        "type": "string",
        "description": "Instagram Media ID"
      },
      "metric": {
        "type": "string",
        "description": "Comma-separated list of metrics"
      }
    },
    "required": [
      "PCID",
      "mediaId",
      "metric"
    ]
  }
  ```
</Expandable>

***

## instagram\_get\_product\_tags

Get product tags on media

**Parameters:**

| Parameter | Type   | Required | Default | Description        |
| --------- | ------ | -------- | ------- | ------------------ |
| `mediaId` | string | Yes      | —       | Instagram Media ID |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "mediaId": {
        "type": "string",
        "description": "Instagram Media ID"
      }
    },
    "required": [
      "PCID",
      "mediaId"
    ]
  }
  ```
</Expandable>

***

## instagram\_get\_recent\_hashtag\_media

Get recent hashtag media

**Parameters:**

| Parameter   | Type    | Required | Default | Description                          |
| ----------- | ------- | -------- | ------- | ------------------------------------ |
| `hashtagId` | string  | Yes      | —       | Hashtag Id                           |
| `user_id`   | string  | Yes      | —       | User Id                              |
| `fields`    | string  | No       | —       | Comma-separated list of media fields |
| `limit`     | integer | No       | —       | Number of items to return            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "hashtagId": {
        "type": "string",
        "description": "Hashtag Id"
      },
      "user_id": {
        "type": "string",
        "description": "User Id"
      },
      "fields": {
        "type": "string",
        "description": "Comma-separated list of media fields"
      },
      "limit": {
        "type": "integer",
        "description": "Number of items to return"
      }
    },
    "required": [
      "PCID",
      "hashtagId",
      "user_id"
    ]
  }
  ```
</Expandable>

***

## instagram\_get\_top\_hashtag\_media

Get top hashtag media

**Parameters:**

| Parameter   | Type    | Required | Default | Description                          |
| ----------- | ------- | -------- | ------- | ------------------------------------ |
| `hashtagId` | string  | Yes      | —       | Hashtag Id                           |
| `user_id`   | string  | Yes      | —       | User Id                              |
| `fields`    | string  | No       | —       | Comma-separated list of media fields |
| `limit`     | integer | No       | —       | Number of items to return            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "hashtagId": {
        "type": "string",
        "description": "Hashtag Id"
      },
      "user_id": {
        "type": "string",
        "description": "User Id"
      },
      "fields": {
        "type": "string",
        "description": "Comma-separated list of media fields"
      },
      "limit": {
        "type": "integer",
        "description": "Number of items to return"
      }
    },
    "required": [
      "PCID",
      "hashtagId",
      "user_id"
    ]
  }
  ```
</Expandable>

***

## instagram\_get\_user

Get user by ID

**Parameters:**

| Parameter | Type   | Required | Default | Description                         |
| --------- | ------ | -------- | ------- | ----------------------------------- |
| `userId`  | string | Yes      | —       | Instagram User ID                   |
| `fields`  | string | No       | —       | Comma-separated list of user fields |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      },
      "fields": {
        "type": "string",
        "description": "Comma-separated list of user fields"
      }
    },
    "required": [
      "PCID",
      "userId"
    ]
  }
  ```
</Expandable>

***

## instagram\_get\_user\_insights

Get user insights

**Parameters:**

| Parameter | Type   | Required | Default | Description                          |
| --------- | ------ | -------- | ------- | ------------------------------------ |
| `userId`  | string | Yes      | —       | Instagram User ID                    |
| `metric`  | string | Yes      | —       | Comma-separated list of metrics      |
| `period`  | string | No       | —       | Period for insights                  |
| `since`   | string | No       | —       | Start date for insights (YYYY-MM-DD) |
| `until`   | string | No       | —       | End date for insights (YYYY-MM-DD)   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      },
      "metric": {
        "type": "string",
        "description": "Comma-separated list of metrics"
      },
      "period": {
        "type": "string",
        "description": "Period for insights",
        "enum": [
          "day",
          "week",
          "days_28"
        ]
      },
      "since": {
        "type": "string",
        "description": "Start date for insights (YYYY-MM-DD)"
      },
      "until": {
        "type": "string",
        "description": "End date for insights (YYYY-MM-DD)"
      }
    },
    "required": [
      "PCID",
      "userId",
      "metric"
    ]
  }
  ```
</Expandable>

***

## instagram\_get\_webhook\_subscriptions

Get webhook subscriptions

**Parameters:**

| Parameter | Type   | Required | Default | Description       |
| --------- | ------ | -------- | ------- | ----------------- |
| `userId`  | string | Yes      | —       | Instagram User ID |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      }
    },
    "required": [
      "PCID",
      "userId"
    ]
  }
  ```
</Expandable>

***

## instagram\_list\_available\_catalogs

Get available catalogs

**Parameters:**

| Parameter | Type   | Required | Default | Description       |
| --------- | ------ | -------- | ------- | ----------------- |
| `userId`  | string | Yes      | —       | Instagram User ID |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      }
    },
    "required": [
      "PCID",
      "userId"
    ]
  }
  ```
</Expandable>

***

## instagram\_list\_comment\_replies

Get comment replies

**Parameters:**

| Parameter   | Type    | Required | Default | Description                            |
| ----------- | ------- | -------- | ------- | -------------------------------------- |
| `commentId` | string  | Yes      | —       | Comment Id                             |
| `fields`    | string  | No       | —       | Comma-separated list of comment fields |
| `limit`     | integer | No       | —       | Number of items to return              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "commentId": {
        "type": "string",
        "description": "Comment Id"
      },
      "fields": {
        "type": "string",
        "description": "Comma-separated list of comment fields"
      },
      "limit": {
        "type": "integer",
        "description": "Number of items to return"
      }
    },
    "required": [
      "PCID",
      "commentId"
    ]
  }
  ```
</Expandable>

***

## instagram\_list\_live\_media

Get live media

**Parameters:**

| Parameter | Type    | Required | Default | Description               |
| --------- | ------- | -------- | ------- | ------------------------- |
| `userId`  | string  | Yes      | —       | Instagram User ID         |
| `limit`   | integer | No       | —       | Number of items to return |
| `after`   | string  | No       | —       | Pagination cursor         |
| `before`  | string  | No       | —       | Pagination cursor         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      },
      "limit": {
        "type": "integer",
        "description": "Number of items to return"
      },
      "after": {
        "type": "string",
        "description": "Pagination cursor"
      },
      "before": {
        "type": "string",
        "description": "Pagination cursor"
      }
    },
    "required": [
      "PCID",
      "userId"
    ]
  }
  ```
</Expandable>

***

## instagram\_list\_media\_comments

Get media comments

**Parameters:**

| Parameter | Type    | Required | Default | Description                            |
| --------- | ------- | -------- | ------- | -------------------------------------- |
| `mediaId` | string  | Yes      | —       | Instagram Media ID                     |
| `fields`  | string  | No       | —       | Comma-separated list of comment fields |
| `limit`   | integer | No       | —       | Number of items to return              |
| `after`   | string  | No       | —       | Pagination cursor                      |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "mediaId": {
        "type": "string",
        "description": "Instagram Media ID"
      },
      "fields": {
        "type": "string",
        "description": "Comma-separated list of comment fields"
      },
      "limit": {
        "type": "integer",
        "description": "Number of items to return"
      },
      "after": {
        "type": "string",
        "description": "Pagination cursor"
      }
    },
    "required": [
      "PCID",
      "mediaId"
    ]
  }
  ```
</Expandable>

***

## instagram\_list\_product\_catalogs

Get product catalogs

**Parameters:**

| Parameter | Type   | Required | Default | Description       |
| --------- | ------ | -------- | ------- | ----------------- |
| `userId`  | string | Yes      | —       | Instagram User ID |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      }
    },
    "required": [
      "PCID",
      "userId"
    ]
  }
  ```
</Expandable>

***

## instagram\_list\_shopping\_tags

Get shopping tags

**Parameters:**

| Parameter | Type    | Required | Default | Description               |
| --------- | ------- | -------- | ------- | ------------------------- |
| `userId`  | string  | Yes      | —       | Instagram User ID         |
| `limit`   | integer | No       | —       | Number of items to return |
| `after`   | string  | No       | —       | Pagination cursor         |
| `before`  | string  | No       | —       | Pagination cursor         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      },
      "limit": {
        "type": "integer",
        "description": "Number of items to return"
      },
      "after": {
        "type": "string",
        "description": "Pagination cursor"
      },
      "before": {
        "type": "string",
        "description": "Pagination cursor"
      }
    },
    "required": [
      "PCID",
      "userId"
    ]
  }
  ```
</Expandable>

***

## instagram\_list\_tagged\_media

Get tagged media

**Parameters:**

| Parameter | Type    | Required | Default | Description                          |
| --------- | ------- | -------- | ------- | ------------------------------------ |
| `userId`  | string  | Yes      | —       | Instagram User ID                    |
| `fields`  | string  | No       | —       | Comma-separated list of media fields |
| `limit`   | integer | No       | —       | Number of items to return            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      },
      "fields": {
        "type": "string",
        "description": "Comma-separated list of media fields"
      },
      "limit": {
        "type": "integer",
        "description": "Number of items to return"
      }
    },
    "required": [
      "PCID",
      "userId"
    ]
  }
  ```
</Expandable>

***

## instagram\_list\_user\_media

Get user media

**Parameters:**

| Parameter | Type    | Required | Default | Description                          |
| --------- | ------- | -------- | ------- | ------------------------------------ |
| `userId`  | string  | Yes      | —       | Instagram User ID                    |
| `fields`  | string  | No       | —       | Comma-separated list of media fields |
| `limit`   | integer | No       | —       | Number of items to return            |
| `after`   | string  | No       | —       | Pagination cursor                    |
| `before`  | string  | No       | —       | Pagination cursor                    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      },
      "fields": {
        "type": "string",
        "description": "Comma-separated list of media fields"
      },
      "limit": {
        "type": "integer",
        "description": "Number of items to return"
      },
      "after": {
        "type": "string",
        "description": "Pagination cursor"
      },
      "before": {
        "type": "string",
        "description": "Pagination cursor"
      }
    },
    "required": [
      "PCID",
      "userId"
    ]
  }
  ```
</Expandable>

***

## instagram\_list\_user\_mentions

Get user mentions

**Parameters:**

| Parameter | Type    | Required | Default | Description               |
| --------- | ------- | -------- | ------- | ------------------------- |
| `userId`  | string  | Yes      | —       | Instagram User ID         |
| `limit`   | integer | No       | —       | Number of items to return |
| `after`   | string  | No       | —       | Pagination cursor         |
| `before`  | string  | No       | —       | Pagination cursor         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      },
      "limit": {
        "type": "integer",
        "description": "Number of items to return"
      },
      "after": {
        "type": "string",
        "description": "Pagination cursor"
      },
      "before": {
        "type": "string",
        "description": "Pagination cursor"
      }
    },
    "required": [
      "PCID",
      "userId"
    ]
  }
  ```
</Expandable>

***

## instagram\_list\_user\_stories

Get user stories

**Parameters:**

| Parameter | Type    | Required | Default | Description                          |
| --------- | ------- | -------- | ------- | ------------------------------------ |
| `userId`  | string  | Yes      | —       | Instagram User ID                    |
| `fields`  | string  | No       | —       | Comma-separated list of media fields |
| `limit`   | integer | No       | —       | Number of items to return            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      },
      "fields": {
        "type": "string",
        "description": "Comma-separated list of media fields"
      },
      "limit": {
        "type": "integer",
        "description": "Number of items to return"
      }
    },
    "required": [
      "PCID",
      "userId"
    ]
  }
  ```
</Expandable>

***

## instagram\_publish\_media

Publish media

**Parameters:**

| Parameter     | Type   | Required | Default | Description                   |
| ------------- | ------ | -------- | ------- | ----------------------------- |
| `userId`      | string | Yes      | —       | Instagram User ID             |
| `creation_id` | string | Yes      | —       | Media container ID to publish |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      },
      "creation_id": {
        "type": "string",
        "description": "Media container ID to publish"
      }
    },
    "required": [
      "PCID",
      "userId",
      "creation_id"
    ]
  }
  ```
</Expandable>

***

## instagram\_search\_hashtags

Search hashtags

**Parameters:**

| Parameter | Type   | Required | Default | Description           |
| --------- | ------ | -------- | ------- | --------------------- |
| `user_id` | string | Yes      | —       | User Id               |
| `query`   | string | Yes      | —       | Hashtag to search for |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "user_id": {
        "type": "string",
        "description": "User Id"
      },
      "query": {
        "type": "string",
        "description": "Hashtag to search for"
      }
    },
    "required": [
      "PCID",
      "user_id",
      "query"
    ]
  }
  ```
</Expandable>

***

## instagram\_subscribe\_to\_webhooks

Subscribe to webhooks

**Parameters:**

| Parameter           | Type   | Required | Default | Description                                                                                            |
| ------------------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------ |
| `userId`            | string | Yes      | —       | Instagram User ID                                                                                      |
| `subscribed_fields` | string | Yes      | —       | Comma-separated list of fields to subscribe to (e.g. comments,mentions,live\_comments,story\_insights) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      },
      "subscribed_fields": {
        "type": "string",
        "description": "Comma-separated list of fields to subscribe to (e.g. comments,mentions,live_comments,story_insights)"
      }
    },
    "required": [
      "PCID",
      "userId",
      "subscribed_fields"
    ]
  }
  ```
</Expandable>

***

## instagram\_update\_comment\_filters

Update comment filters (requires filter\_keywords or hide\_offensive\_comments)

**Parameters:**

| Parameter                 | Type      | Required | Default | Description                        |
| ------------------------- | --------- | -------- | ------- | ---------------------------------- |
| `userId`                  | string    | Yes      | —       | Instagram User ID                  |
| `filter_keywords`         | string\[] | No       | —       | Keywords to filter out             |
| `hide_offensive_comments` | boolean   | No       | —       | Whether to hide offensive comments |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "userId": {
        "type": "string",
        "description": "Instagram User ID"
      },
      "filter_keywords": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Keywords to filter out"
      },
      "hide_offensive_comments": {
        "type": "boolean",
        "description": "Whether to hide offensive comments"
      }
    },
    "required": [
      "PCID",
      "userId"
    ]
  }
  ```
</Expandable>
