CONNECT APP
Build with Are.na
File Storage
- OAuth
MCP
Give your agent Are.na tools
Every Are.na action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's Are.na account for each tool call — you store no tokens.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "are_na",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Create Channel:
const result = await mcp.callTool({
name: "are_na-create-channel",
arguments: {
channelTitle: "Channel Title",
channelStatus: "Channel Status",
},
})# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", # any stable ID for this user in your system
"x-pd-app-slug": "are_na",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Create Channel:
result = await session.call_tool("are_na-create-channel", {
"channelTitle": "Channel Title",
"channelStatus": "Channel Status",
})API PROXY
Call the Are.na API directly
For an endpoint with no pre-built tool, the Connect proxy forwards your request to the Are.na API with the connected user's credentials attached. You store no tokens and write no refresh logic.
const resp = await pd.proxy.get({
externalUserId: "{external_user_id}", // any stable ID for this user in your system
accountId: "apn_xxxxxxx",
url: "https://api.are.na/v3/me",
})
// Any allowed Are.na endpoint works here. Pipedream attaches the
// connected account's credentials to the outgoing request.# The path segment is the target URL, URL-safe base64 encoded:
# https://api.are.na/v3/me
curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuYXJlLm5hL3YzL21l?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
-H "Authorization: Bearer {access_token}" \
-H "x-pd-environment: production"SDK
Run Are.na actions from your backend
Connect a user's Are.na account once, then run Create Channel on their behalf from your own code — TypeScript, Python, or plain HTTP.
import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "are_na-create-channel",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
are_na: { authProvisionId: "apn_xxxxxxx" },
channelTitle: "Channel Title",
channelStatus: "Channel Status",
},
})from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="are_na-create-channel",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"are_na": {"authProvisionId": "apn_xxxxxxx"},
"channelTitle": "Channel Title",
"channelStatus": "Channel Status",
},
)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "are_na-create-channel",
"configured_props": {
"are_na": { "authProvisionId": "apn_xxxxxxx" },
"channelTitle": "Channel Title",
"channelStatus": "Channel Status"
}
}'TOOLS
Are.na actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Create Channel
actionCreate a new channel (a collection of blocks) owned by the authenticated user. Use this when the user wants a new place to collect content; to change an existing channel use Update Channel. Returns the created channel object, including itsidandslug. The channel title does not have to be unique. Example: Channel TitleBrutalist Architecturewith Channel Statusprivatereturns{ "id": 12345, "slug": "brutalist-architecture", "title": "Brutalist Architecture", "visibility": "private" }. See the documentationWritev0.1.0 -
Delete Channel
actionPermanently delete a channel and its connections. This cannot be undone, so confirm with the user first and only use it when they asked to delete the channel. Use List Channel Slug Options to find the slug (lists your own channels; if you already know the slug, pass it directly); to change a channel instead, use Update Channel. Returns the API response for the deleted channel. Example: Channel Slugbrutalist-architecturedeletes that channel. See the documentationWritev0.1.0 -
Get Authenticated User
actionReturns the profile of the Are.na user the connection is authenticated as. Use this to find the current user'sidorslug(for example to filter Perform a Search to their content with User ID); to find other users, use List Users. Takes no inputs. Example: returns{ "id": 456, "slug": "jane-doe", "name": "Jane Doe" }plus further profile fields. See the documentationRead-onlyv0.0.4 -
List Channel Slug Options
actionLists the authenticated user's own channels, most recently updated first, for use in the Channel Slug field of other actions (each withid,slugandtitleby default; pass Fields for more). Returnsoptionsandmeta(pagination:current_page,next_page,has_more_pages,total_count). To get more channels, call again withpageset tometa.next_page. Only lists channels owned by the user; to find other channels by title or content, use Perform a Search (Premium only). Example: returns{ "options": [{ "id": 12345, "slug": "brutalist-architecture", "title": "Brutalist Architecture" }], "meta": { "next_page": 2, "total_count": 40 } }. See the documentationRead-onlyv1.0.0 -
List Groups
actionLists the Are.na groups the authenticated user owns or belongs to (including their IDs), for use in the Group ID field of other actions. Returnsoptions(each group withid,slugandnameby default; pass Fields for more) andmeta(pagination:current_page,next_page,has_more_pages,total_count). To get more groups, call again withpageset tometa.next_page. Only lists the user's own groups; it cannot find other groups by name. Example: per 10 returns up to 10 groups, e.g.{ "options": [{ "id": 456, "slug": "example", "name": "Example" }], "meta": { "next_page": 2, "total_count": 12 } }. See the documentationRead-onlyv0.0.1 -
List Users
actionLists Are.na users (including their IDs) that can be used for the User ID field of other actions. Returnsoptions(the matching users, each withid,slugandnameby default; pass Fields for more) andmeta(pagination:current_page,next_page,has_more_pages,total_count). To get more users, call again withpageset tometa.next_page. Premium Only: uses the Are.na search endpoint, which requires a Premium subscription. Example: query*with per 10 returns the first 10 users, e.g.{ "options": [{ "id": 456, "slug": "example", "name": "Example" }], "meta": { "next_page": 2, "total_count": 87 } }. See the documentationRead-onlyv0.0.1 -
Perform a Search
actionSearch across Are.na blocks, channels, users, and groups. Returnsdata(the matching items) andmeta(pagination:current_page,next_page,has_more_pages,total_count). To get more results, call again withpageset tometa.next_page. Only the first 10,000 results can be paged through; narrow with filters. To find a user, group or channel ID for the ID filters, use List Users, List Groups or List Channel Slug Options instead of searching. Pass Fields to keep results small. Example: query*, typeImage, extpdf, sortcreated_at_desc, per 10 returns{ "data": [...10 blocks], "meta": { "current_page": 1, "next_page": 2, "total_count": 57 } }. Premium Only: This endpoint requires a Premium subscription. See the documentationRead-onlyv1.0.0 -
Update Channel
actionUpdate the title, visibility, description or metadata of an existing channel. Only the fields you provide are changed, and Metadata is merged with the existing metadata. Use List Channel Slug Options to find the slug (lists your own channels; if you already know the slug, pass it directly); to create a new channel use Create Channel. Returns the updated channel object. Example: Channel Slugbrutalist-architecturewith Channel Statusclosedmakes that channel visible to everyone while limiting who can add to it. See the documentationWritev0.1.0
No Are.na triggers are available yet.
- App slug
- are_na
- Authentication
- OAuth
- Categories
- File Storage
- Actions
- 8
- Triggers
- 0
- API proxy
- Available
OAuth scopes
These are the scopes Pipedream's managed Are.na OAuth client requests when one of your users connects an account. Supply your own OAuth client to request a different set.
- read
- write