# Are.na

> Find and organize Are.na channels, blocks, and connections.

App · 18 actions. Web page: https://docs.lodol.com/docs/integrations/are-na

## Actions

### Create a channel

Create a channel.

**Inputs**

- Title (`title`, text, required): Channel title
- Visibility (`visibility`, text): Visibility level of a channel: - `public`: Anyone can view and connect to the channel - `private`: Only the owner and collaborators can view - `closed`: Anyone can view, but only collaborators can add content. One of: `public`, `private`, `closed`.

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "_links": {
      "self": {
        "href": "example"
      }
    },
    "can": {
      "add_to": true,
      "destroy": true,
      "manage_collaborators": true,
      "update": true
    },
    "collaborators": [
      {}
    ],
    "connection": {
      "connected_at": "example",
      "connected_by": {
        "avatar": "example",
        "id": 1,
        "initials": "example",
        "name": "example",
        "slug": "example",
        "type": "User",
        "username": "example"
      },
      "id": 1,
      "metadata": {},
      "pinned": true,
      "position": 1
    },
    "counts": {
      "blocks": 1,
      "channels": 1,
      "collaborators": 1,
      "contents": 1
    },
    "created_at": "example",
    "description": {
      "html": "example",
      "markdown": "example",
      "plain": "example"
    },
    "id": 1,
    "metadata": {},
    "owner": {},
    "slug": "example",
    "state": "available",
    "title": "example",
    "type": "Channel",
    "updated_at": "example",
    "visibility": "public"
  }
}
```

### Delete a channel

Delete a channel.

**Inputs**

- Channel ID (`channel_id`, text, required): Resource ID or slug

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

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

### Get a block

Get a block.

**Inputs**

- Block ID (`block_id`, number, required): Resource ID

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

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

### Get a channel

Get a channel.

**Inputs**

- Channel ID (`channel_id`, text, required): Resource ID or slug

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "_links": {
      "self": {
        "href": "example"
      }
    },
    "can": {
      "add_to": true,
      "destroy": true,
      "manage_collaborators": true,
      "update": true
    },
    "collaborators": [
      {}
    ],
    "connection": {
      "connected_at": "example",
      "connected_by": {
        "avatar": "example",
        "id": 1,
        "initials": "example",
        "name": "example",
        "slug": "example",
        "type": "User",
        "username": "example"
      },
      "id": 1,
      "metadata": {},
      "pinned": true,
      "position": 1
    },
    "counts": {
      "blocks": 1,
      "channels": 1,
      "collaborators": 1,
      "contents": 1
    },
    "created_at": "example",
    "description": {
      "html": "example",
      "markdown": "example",
      "plain": "example"
    },
    "id": 1,
    "metadata": {},
    "owner": {},
    "slug": "example",
    "state": "available",
    "title": "example",
    "type": "Channel",
    "updated_at": "example",
    "visibility": "public"
  }
}
```

### Get a user

Get a user.

**Inputs**

- Profile ID (`profile_id`, text, required): Resource ID or slug

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "_links": {
      "self": {
        "href": "example"
      }
    },
    "avatar": "example",
    "badge": "staff",
    "bio": {
      "html": "example",
      "markdown": "example",
      "plain": "example"
    },
    "counts": {
      "channels": 1,
      "followers": 1,
      "following": 1
    },
    "created_at": "example",
    "id": 1,
    "initials": "example",
    "name": "example",
    "slug": "example",
    "tier": "guest",
    "type": "User",
    "updated_at": "example",
    "username": "example"
  }
}
```

### Get your profile

Get your profile.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "_links": {
      "self": {
        "href": "example"
      }
    },
    "avatar": "example",
    "badge": "staff",
    "bio": {
      "html": "example",
      "markdown": "example",
      "plain": "example"
    },
    "counts": {
      "channels": 1,
      "followers": 1,
      "following": 1,
      "notifications": 1
    },
    "created_at": "example",
    "email": "example",
    "id": 1,
    "initials": "example",
    "name": "example",
    "slug": "example",
    "tier": "guest",
    "type": "User",
    "updated_at": "example",
    "username": "example"
  }
}
```

### List a user’s groups

List a user’s groups.

**Inputs**

- Profile ID (`profile_id`, text, required): Resource ID or slug
- Page (`page`, number): Page number for pagination. At least 1.
- Per (`per`, number): Number of items per page (max 100). From 1 to 100.
- Sort (`sort`, text): Sort groups by name or date. One of: `name_asc` (Name asc), `name_desc` (Name desc), `created_at_asc` (Created at asc), `created_at_desc` (Created at desc), `updated_at_asc` (Updated at asc), `updated_at_desc` (Updated at desc).

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "_links": {},
        "avatar": "example",
        "can": {},
        "counts": {},
        "created_at": "example",
        "default_role": "viewer",
        "description": {},
        "id": 1,
        "initials": "example",
        "name": "example",
        "slug": "example",
        "type": "Group",
        "updated_at": "example",
        "user": {}
      }
    ],
    "meta": {
      "current_page": 1,
      "has_more_pages": true,
      "next_page": 1,
      "per_page": 1,
      "prev_page": 1,
      "total_count": 1,
      "total_pages": 1
    }
  }
}
```

### List accounts a user follows

List accounts a user follows.

**Inputs**

- Profile ID (`profile_id`, text, required): Resource ID or slug
- Page (`page`, number): Page number for pagination. At least 1.
- Per (`per`, number): Number of items per page (max 100). From 1 to 100.
- Sort (`sort`, text): Sort by the date the relationship was created. One of: `created_at_desc` (Created at desc), `created_at_asc` (Created at asc).
- Type (`type`, text): Filter by followable type. One of: `User`, `Channel`, `Group`.

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "data": [
      {}
    ],
    "meta": {
      "current_page": 1,
      "has_more_pages": true,
      "next_page": 1,
      "per_page": 1,
      "prev_page": 1,
      "total_count": 1,
      "total_pages": 1
    }
  }
}
```

### List block comments

List block comments.

**Inputs**

- Block ID (`block_id`, number, required): Resource ID
- Page (`page`, number): Page number for pagination. At least 1.
- Per (`per`, number): Number of items per page (max 100). From 1 to 100.
- Sort (`sort`, text): Sort by the date the relationship was created. One of: `created_at_desc` (Created at desc), `created_at_asc` (Created at asc).

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "_links": {},
        "body": {},
        "created_at": "example",
        "id": 1,
        "type": "Comment",
        "updated_at": "example",
        "user": {}
      }
    ],
    "meta": {
      "current_page": 1,
      "has_more_pages": true,
      "next_page": 1,
      "per_page": 1,
      "prev_page": 1,
      "total_count": 1,
      "total_pages": 1
    }
  }
}
```

### List block connections

List block connections.

**Inputs**

- Block ID (`block_id`, number, required): Resource ID
- Page (`page`, number): Page number for pagination. At least 1.
- Per (`per`, number): Number of items per page (max 100). From 1 to 100.
- Sort (`sort`, text): Sort by the date the relationship was created. One of: `created_at_desc` (Created at desc), `created_at_asc` (Created at asc).
- Filter (`filter`, text): Filter connections by ownership. One of: `ALL`, `OWN`, `EXCLUDE_OWN` (Exclude own).

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "_links": {},
        "can": {},
        "collaborators": [
          {}
        ],
        "connection": {},
        "counts": {},
        "created_at": "example",
        "description": {},
        "id": 1,
        "metadata": {},
        "owner": {},
        "slug": "example",
        "state": "available",
        "title": "example",
        "type": "Channel",
        "updated_at": "example",
        "visibility": "public"
      }
    ],
    "meta": {
      "current_page": 1,
      "has_more_pages": true,
      "next_page": 1,
      "per_page": 1,
      "prev_page": 1,
      "total_count": 1,
      "total_pages": 1
    }
  }
}
```

### List channel connections

List channel connections.

**Inputs**

- Channel ID (`channel_id`, text, required): Resource ID or slug
- Page (`page`, number): Page number for pagination. At least 1.
- Per (`per`, number): Number of items per page (max 100). From 1 to 100.
- Sort (`sort`, text): Sort by the date the relationship was created. One of: `created_at_desc` (Created at desc), `created_at_asc` (Created at asc).

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "_links": {},
        "can": {},
        "collaborators": [
          {}
        ],
        "connection": {},
        "counts": {},
        "created_at": "example",
        "description": {},
        "id": 1,
        "metadata": {},
        "owner": {},
        "slug": "example",
        "state": "available",
        "title": "example",
        "type": "Channel",
        "updated_at": "example",
        "visibility": "public"
      }
    ],
    "meta": {
      "current_page": 1,
      "has_more_pages": true,
      "next_page": 1,
      "per_page": 1,
      "prev_page": 1,
      "total_count": 1,
      "total_pages": 1
    }
  }
}
```

### List channel contents

List channel contents.

**Inputs**

- Channel ID (`channel_id`, text, required): Resource ID or slug
- Page (`page`, number): Page number for pagination. At least 1.
- Per (`per`, number): Number of items per page (max 100). From 1 to 100.
- Sort (`sort`, text): Sort channel contents. Use `position` for the owner's manual arrangement, or sort by date. Defaults to `position_desc`. One of: `position_asc` (Position asc), `position_desc` (Position desc), `created_at_asc` (Created at asc), `created_at_desc` (Created at desc), `updated_at_asc` (Updated at asc), `updated_at_desc` (Updated at desc).
- Target user ID (`target_user_id`, number): Filter by user who added the content

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "data": [
      {}
    ],
    "meta": {
      "current_page": 1,
      "has_more_pages": true,
      "next_page": 1,
      "per_page": 1,
      "prev_page": 1,
      "total_count": 1,
      "total_pages": 1
    }
  }
}
```

### List channel followers

List channel followers.

**Inputs**

- Channel ID (`channel_id`, text, required): Resource ID or slug
- Page (`page`, number): Page number for pagination. At least 1.
- Per (`per`, number): Number of items per page (max 100). From 1 to 100.
- Sort (`sort`, text): Sort by the date the relationship was created. One of: `created_at_desc` (Created at desc), `created_at_asc` (Created at asc).

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "_links": {},
        "avatar": "example",
        "badge": "staff",
        "bio": {},
        "counts": {},
        "created_at": "example",
        "id": 1,
        "initials": "example",
        "name": "example",
        "slug": "example",
        "tier": "guest",
        "type": "User",
        "updated_at": "example",
        "username": "example"
      }
    ],
    "meta": {
      "current_page": 1,
      "has_more_pages": true,
      "next_page": 1,
      "per_page": 1,
      "prev_page": 1,
      "total_count": 1,
      "total_pages": 1
    }
  }
}
```

### List user contents

List user contents.

**Inputs**

- Profile ID (`profile_id`, text, required): Resource ID or slug
- Page (`page`, number): Page number for pagination. At least 1.
- Per (`per`, number): Number of items per page (max 100). From 1 to 100.
- Sort (`sort`, text): Sort by creation or last update time. One of: `created_at_asc` (Created at asc), `created_at_desc` (Created at desc), `updated_at_asc` (Updated at asc), `updated_at_desc` (Updated at desc).
- Type (`type`, text): Filter to a specific content type. One of: `Text`, `Image`, `Link`, `Attachment`, `Embed`, `Channel`, `Block`.

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "data": [
      {}
    ],
    "meta": {
      "current_page": 1,
      "has_more_pages": true,
      "next_page": 1,
      "per_page": 1,
      "prev_page": 1,
      "total_count": 1,
      "total_pages": 1
    }
  }
}
```

### List user followers

List user followers.

**Inputs**

- Profile ID (`profile_id`, text, required): Resource ID or slug
- Page (`page`, number): Page number for pagination. At least 1.
- Per (`per`, number): Number of items per page (max 100). From 1 to 100.
- Sort (`sort`, text): Sort by the date the relationship was created. One of: `created_at_desc` (Created at desc), `created_at_asc` (Created at asc).

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "_links": {},
        "avatar": "example",
        "badge": "staff",
        "bio": {},
        "counts": {},
        "created_at": "example",
        "id": 1,
        "initials": "example",
        "name": "example",
        "slug": "example",
        "tier": "guest",
        "type": "User",
        "updated_at": "example",
        "username": "example"
      }
    ],
    "meta": {
      "current_page": 1,
      "has_more_pages": true,
      "next_page": 1,
      "per_page": 1,
      "prev_page": 1,
      "total_count": 1,
      "total_pages": 1
    }
  }
}
```

### List your feed

List your feed.

**Inputs**

- Limit (`limit`, number): Number of feed items to return (max 100). From 1 to 100.
- Next (`next`, text): Load the **next** page (toward older items. the "load more" direction, since feeds are ordered newest-first). Pass back the `meta.next_cursor` from a previous response.
- Prev (`prev`, text): Load the **previous** page (toward newer items). Pass back the `meta.prev_cursor` from a previous response.

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "actor": {},
        "created_at": "example",
        "id": 1,
        "item": {},
        "kind": "followed_user",
        "parent": {},
        "target": {},
        "type": "Activity"
      }
    ],
    "meta": {
      "has_more": true,
      "limit": 1,
      "next_cursor": "example",
      "prev_cursor": "example"
    }
  }
}
```

### List your notifications

List your notifications.

**Inputs**

- Limit (`limit`, number): Number of feed items to return (max 100). From 1 to 100.
- Next (`next`, text): Load the **next** page (toward older items. the "load more" direction, since feeds are ordered newest-first). Pass back the `meta.next_cursor` from a previous response.
- Prev (`prev`, text): Load the **previous** page (toward newer items). Pass back the `meta.prev_cursor` from a previous response.
- Unread (`unread`, true/false): When true, only unread notifications are returned.

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "actor": {},
        "created_at": "example",
        "id": 1,
        "is_read": true,
        "item": {},
        "kind": "followed_user",
        "parent": {},
        "target": {},
        "type": "Notification"
      }
    ],
    "meta": {
      "has_more": true,
      "limit": 1,
      "next_cursor": "example",
      "prev_cursor": "example"
    }
  }
}
```

### Search Are.na

Search Are.na.

**Inputs**

- Query (`query`, text): The search query string. Supports full-text search across titles, descriptions, and content. Use `*` as a wildcard to match everything (useful when filtering by type, scope, or extension).
- Type (`type`, list): Filter results by content type. One or more of: `All`, `Text`, `Image`, `Link`, `Attachment`, `Embed`, `Channel`, `Block`, `User`, `Group`.
- Scope (`scope`, text): Limit search to a specific context. One of: `all`, `my`, `following`.
- Target user ID (`target_user_id`, number): Limit search to a specific user's content.
- Group ID (`group_id`, number): Limit search to a specific group's content.
- Channel ID (`channel_id`, number): Limit search to a specific channel's content.
- Ext (`ext`, list): Filter results by file extension. Accepts comma-separated values. Only applies to Attachment and Image block types. Common extensions include: pdf, jpg, png, gif, mp4, mp3, doc, xls, etc. One or more of: `aac`, `ai`, `aiff`, `avi`, `avif`, `bmp`, `csv`, `doc`, `docx`, `eps`, and 58 more.
- Metadata (`metadata`, object): Filter blocks and channels by exact custom metadata key/value pairs.
- Sort (`sort`, text): Sort by relevance, date, name, or popularity. Defaults to `score_desc`. Use `random` with `seed` for reproducible random ordering. One of: `score_desc` (Score desc), `created_at_desc` (Created at desc), `created_at_asc` (Created at asc), `updated_at_desc` (Updated at desc), `updated_at_asc` (Updated at asc), `name_asc` (Name asc), `name_desc` (Name desc), `connections_count_desc` (Connections count desc), `random`.
- After (`after`, date and time): Filter to only return results updated after this timestamp. Useful for incremental syncing or finding recently modified content. Format: ISO 8601 datetime string.
- Seed (`seed`, number): Random seed for reproducible random ordering. Only used when `sort=random`. Providing the same seed will return results in the same order, useful for pagination through random results.
- Page (`page`, number): Page number for pagination. At least 1.
- Per (`per`, number): Number of items per page (max 100). From 1 to 100.

**Outputs**

- `data` (object): The response from Are.na.

**Example output**

```json
{
  "data": {
    "data": [
      {}
    ],
    "meta": {
      "current_page": 1,
      "has_more_pages": true,
      "next_page": 1,
      "per_page": 1,
      "prev_page": 1,
      "total_count": 1,
      "total_pages": 1
    }
  }
}
```
