# createSocialProfileView

Mutation

Create a saved Social Profile view for the current workspace.

Available to agents as MCP tool `createSocialProfileView` — see [Write tools](/api/v2/docs/mcp/write-tools#create-social-profile-view).

## Arguments

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `input` | [`CreateSocialProfileViewInput!`](/api/v2/docs/types/create-social-profile-view-input) | Yes | — | Mutation input. |

## Returns

| Name | Type | Description |
| --- | --- | --- |
| `socialProfileView` | [`SocialProfileView`](/api/v2/docs/types/social-profile-view) | The newly created social profile view. Null on validation failure. |
| `userErrors` | [`[UserError!]!`](/api/v2/docs/types/user-error) | List of user-facing validation errors. Empty on success. |

## Examples

### Create a social profile view

Create a saved Social Profile view for the workspace.

```graphql
mutation CreateSocialProfileViewDefault($input: CreateSocialProfileViewInput!) {
  createSocialProfileView(input: $input) {
    socialProfileView {
      id
      name
      filters
    }
    userErrors {
      field
      message
    }
  }
}
```

Variables:

```json
{
  "input": {
    "name": "Verified Instagram Creators",
    "filters": {
      "platform": "instagram"
    }
  }
}
```

Response — HTTP 200:

```json
{
  "data": {
    "createSocialProfileView": {
      "socialProfileView": {
        "id": "da1a2150-f024-5e82-ac3f-14bdea821079",
        "name": "Verified Instagram Creators",
        "filters": {
          "platform": "instagram"
        }
      },
      "userErrors": []
    }
  }
}
```
