airfocus

App · 24 actions

Manage product roadmap items, their statuses and comments in airfocus workspaces.

Actions

ActionWhat it does
Add commentComment on an item.
Create itemCreate an item in a workspace.
Create workspaceCreate a workspace in the team.
Delete commentDelete a comment.
Delete itemDelete an item.
Delete item linkRemove a link between two items.
Delete workspaceDelete a workspace and every item in it.
Get current userGet the airfocus user the API key belongs to.
Get itemGet an item, with its description in Markdown.
Get item by keyGet an item by its key, such as DEV-123, from any workspace.
Get teamGet the airfocus team the API key's user belongs to.
Get workspaceGet a workspace with its statuses, fields and views.
Link itemsLink one item to another, such as one that blocks another.
List commentsList the comments on an item.
List itemsList or search the items in a workspace.
List link typesList the kinds of link the team uses between items, such as Blocks or Relates to.
List statusesList a workspace's statuses, in board order.
List usersList the people in the team, optionally only those matching a name or email.
List workspacesList the workspaces the API key's user can see, most recently active first.
Move itemMove an item to another workspace.
Stop watching itemStop airfocus notifications about an item, for the API key's user.
Update commentChange a comment's text.
Update itemChange an item's name, description, status, assignees, color or archived state.
Watch itemGet airfocus notifications about an item's changes, as the API key's user.

Add comment

Comment on an item.

Inputs

Workspaceworkspace_idtextRequired
The workspace.
Item IDitem_idtextRequired
The item's ID, from List items or a trigger.
CommenttexttextRequired
The comment, in Markdown.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "content": {},
    "createdAt": "example",
    "id": "example",
    "initiator": {},
    "itemId": "example",
    "lastUpdatedAt": "example",
    "reactions": [
      {}
    ]
  }
}

Create item

Create an item in a workspace.

Inputs

Workspaceworkspace_idtextRequired
The workspace.
NamenametextRequired
The item's name.
Descriptiondescriptiontext
The item's description, in Markdown.
Statusstatus_idtext
The item's status, one of the workspace's statuses.
Assigneesassignee_user_idslist
The people the item is assigned to.
Colorcolortext
The item's color.One of: blue, azure, sky, ocean, emerald, leaf, moss, great (Green), yellow, amber, and 10 more.
Custom fieldscustom_fieldsobject
Values for the workspace's custom fields, keyed by field ID, such as `{"<field id>": {"number": 42}}`.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "_embedded": {
      "alias": "example",
      "attachmentCount": 1,
      "children": [
        {}
      ],
      "commentCount": 1,
      "linkCount": 1,
      "parents": [
        {}
      ],
      "watched": true
    },
    "archived": true,
    "assigneeUserGroupIds": [
      "example"
    ],
    "assigneeUserIds": [
      "example"
    ],
    "color": "example",
    "createdAt": "example",
    "description": {
      "markdown": "example"
    },
    "fields": {},
    "id": "example",
    "lastUpdatedAt": "example",
    "name": "example",
    "number": 1,
    "order": 1,
    "statusCategoryUpdatedAt": "example",
    "statusId": "example",
    "statusUpdatedAt": "example",
    "workspaceId": "example"
  }
}

Create workspace

Create a workspace in the team.

Inputs

NamenametextRequired
The workspace's name.
Descriptiondescriptiontext
What the workspace is for, in Markdown.
Item typeitem_typetext
What kind of items the workspace holds.One of: feature, idea, epic, story, task, bug, initiative, project, product, opportunity, experiment, feedback.
Aliasaliastext
A short prefix for item numbers, such as `DEV` for DEV-12.
Item coloritem_colortext
The color new items get.One of: blue, azure, sky, ocean, emerald, leaf, moss, great (Green), yellow, amber, and 10 more.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "_embedded": {},
    "alias": "example",
    "createdAt": "example",
    "description": {},
    "id": "example",
    "itemColor": "example",
    "itemType": "example",
    "lastActivity": "example",
    "lastUpdatedAt": "example",
    "name": "example",
    "order": 1,
    "progressMode": "example",
    "teamId": "example"
  }
}

Delete comment

Delete a comment.

Inputs

Workspaceworkspace_idtextRequired
The workspace.
Comment IDcomment_idtextRequired
The comment's ID, from List comments or Add comment.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {}
}

Delete item

Delete an item.

Inputs

Workspaceworkspace_idtextRequired
The workspace.
Item IDitem_idtextRequired
The item's ID, from List items or a trigger.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {}
}

Remove a link between two items.

Inputs

Workspaceworkspace_idtextRequired
The workspace.
Link IDlink_idtextRequired
The link's ID, from Link items.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {}
}

Delete workspace

Delete a workspace and every item in it.

Inputs

Workspaceworkspace_idtextRequired
The workspace.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {}
}

Get current user

Get the airfocus user the API key belongs to.

Inputs

None.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "createdAt": "example",
    "disabled": true,
    "email": "example",
    "emailVerified": true,
    "fullName": "example",
    "isTeamCreator": true,
    "lastSeenAt": "example",
    "role": "admin",
    "teamId": "example",
    "updatedAt": "example",
    "userId": "example"
  }
}

Get item

Get an item, with its description in Markdown.

Inputs

Workspaceworkspace_idtextRequired
The workspace.
Item IDitem_idtextRequired
The item's ID, from List items or a trigger.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "_embedded": {
      "alias": "example",
      "attachmentCount": 1,
      "children": [
        {}
      ],
      "commentCount": 1,
      "linkCount": 1,
      "parents": [
        {}
      ],
      "watched": true
    },
    "archived": true,
    "assigneeUserGroupIds": [
      "example"
    ],
    "assigneeUserIds": [
      "example"
    ],
    "color": "example",
    "createdAt": "example",
    "description": {
      "markdown": "example"
    },
    "fields": {},
    "id": "example",
    "lastUpdatedAt": "example",
    "name": "example",
    "number": 1,
    "order": 1,
    "statusCategoryUpdatedAt": "example",
    "statusId": "example",
    "statusUpdatedAt": "example",
    "workspaceId": "example"
  }
}

Get item by key

Get an item by its key, such as DEV-123, from any workspace.

Inputs

Item keyaliastextRequired
The item's key: its workspace's alias and number, such as `DEV-123`.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "_embedded": {
      "alias": "example",
      "attachmentCount": 1,
      "children": [
        {}
      ],
      "commentCount": 1,
      "linkCount": 1,
      "parents": [
        {}
      ],
      "watched": true
    },
    "archived": true,
    "assigneeUserGroupIds": [
      "example"
    ],
    "assigneeUserIds": [
      "example"
    ],
    "color": "example",
    "createdAt": "example",
    "description": {
      "markdown": "example"
    },
    "fields": {},
    "id": "example",
    "lastUpdatedAt": "example",
    "name": "example",
    "number": 1,
    "order": 1,
    "statusCategoryUpdatedAt": "example",
    "statusId": "example",
    "statusUpdatedAt": "example",
    "workspaceId": "example"
  }
}

Get team

Get the airfocus team the API key's user belongs to.

Inputs

None.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "createdAt": "example",
    "name": "example",
    "slug": "example",
    "state": {},
    "teamId": "example",
    "updatedAt": "example"
  }
}

Get workspace

Get a workspace with its statuses, fields and views.

Inputs

Workspaceworkspace_idtextRequired
The workspace.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "_embedded": {},
    "alias": "example",
    "createdAt": "example",
    "description": {},
    "id": "example",
    "itemColor": "example",
    "itemType": "example",
    "lastActivity": "example",
    "lastUpdatedAt": "example",
    "name": "example",
    "order": 1,
    "progressMode": "example",
    "teamId": "example"
  }
}

Link one item to another, such as one that blocks another.

Inputs

Workspaceworkspace_idtextRequired
The workspace.
From item IDitem_idtextRequired
The item's ID, from List items or a trigger.
To item IDto_item_idtextRequired
The ID of the item to link to.
Link typelink_type_idtextRequired
The kind of link.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "fromItemId": "example",
    "fromOrder": 1,
    "id": "example",
    "toItemId": "example",
    "toOrder": 1,
    "typeId": "example"
  }
}

List comments

List the comments on an item.

Inputs

Workspaceworkspace_idtextRequired
The workspace.
Item IDitem_idtextRequired
The item's ID, from List items or a trigger.
Offsetoffsetnumber
How many to skip, for the next page.At least 0. Default: 0.
Limitlimitnumber
How many to return.From 1 to 1000. Default: 50.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "items": [
      {
        "content": {},
        "createdAt": "example",
        "id": "example",
        "initiator": {},
        "itemId": "example",
        "lastUpdatedAt": "example",
        "reactions": [
          {}
        ]
      }
    ],
    "totalItems": 1
  }
}

List items

List or search the items in a workspace.

Inputs

Workspaceworkspace_idtextRequired
The workspace.
Namenametext
Part of the item name to look for.
Statusesstatus_idslist
Only items in these statuses.
Updated sinceupdated_sincedate and time
Only items changed since this time.
Archivedarchivedtrue/false
List archived items instead of active ones.
Sortsorttext
The order to list them in.One of: lastUpdatedAt (Recently updated first), createdAt (Newest first), name (Name (A to Z)), order (Board order). Default: lastUpdatedAt.
Offsetoffsetnumber
How many to skip, for the next page.At least 0. Default: 0.
Limitlimitnumber
How many to return.From 1 to 1000. Default: 50.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "items": [
      {
        "_embedded": {
          "alias": "example",
          "attachmentCount": 1,
          "children": [
            {}
          ],
          "commentCount": 1,
          "linkCount": 1,
          "parents": [
            {}
          ],
          "watched": true
        },
        "archived": true,
        "assigneeUserGroupIds": [
          "example"
        ],
        "assigneeUserIds": [
          "example"
        ],
        "color": "example",
        "createdAt": "example",
        "description": {
          "markdown": "example"
        },
        "fields": {},
        "id": "example",
        "lastUpdatedAt": "example",
        "name": "example",
        "number": 1,
        "order": 1,
        "statusCategoryUpdatedAt": "example",
        "statusId": "example",
        "statusUpdatedAt": "example",
        "workspaceId": "example"
      }
    ],
    "totalItems": 1
  }
}

List the kinds of link the team uses between items, such as Blocks or Relates to.

Inputs

Namenametext
Part of the link type's name to look for.
Offsetoffsetnumber
How many to skip, for the next page.At least 0. Default: 0.
Limitlimitnumber
How many to return.From 1 to 1000. Default: 50.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "items": [
      {
        "backwardsName": "example",
        "id": "example",
        "name": "example",
        "teamId": "example"
      }
    ],
    "totalItems": 1
  }
}

List statuses

List a workspace's statuses, in board order.

Inputs

Workspaceworkspace_idtextRequired
The workspace.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "statuses": [
      {
        "category": "draft",
        "color": "example",
        "default": true,
        "id": "example",
        "name": "example",
        "order": 1,
        "workspaceId": "example"
      }
    ]
  }
}

List users

List the people in the team, optionally only those matching a name or email.

Inputs

Searchquerytext
Part of a name or email to look for.

Outputs

datalist
The response from airfocus.
Example output
{
  "data": [
    {
      "createdAt": "example",
      "disabled": true,
      "email": "example",
      "emailVerified": true,
      "fullName": "example",
      "isTeamCreator": true,
      "lastSeenAt": "example",
      "role": "admin",
      "teamId": "example",
      "updatedAt": "example",
      "userId": "example"
    }
  ]
}

List workspaces

List the workspaces the API key's user can see, most recently active first.

Inputs

Namenametext
Part of the workspace name to look for.
Archivedarchivedtrue/false
List archived workspaces instead of active ones.
Offsetoffsetnumber
How many to skip, for the next page.At least 0. Default: 0.
Limitlimitnumber
How many to return.From 1 to 1000. Default: 50.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "items": [
      {
        "_embedded": {},
        "alias": "example",
        "createdAt": "example",
        "description": {},
        "id": "example",
        "itemColor": "example",
        "itemType": "example",
        "lastActivity": "example",
        "lastUpdatedAt": "example",
        "name": "example",
        "order": 1,
        "progressMode": "example",
        "teamId": "example"
      }
    ],
    "totalItems": 1
  }
}

Move item

Move an item to another workspace. airfocus gives it a new ID there.

Inputs

Workspaceworkspace_idtextRequired
The workspace.
Item IDitem_idtextRequired
The item's ID, from List items or a trigger.
Move to workspacetarget_workspace_idtextRequired
The workspace to move it to.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "item_ids": [
      "example"
    ]
  }
}

Stop watching item

Stop airfocus notifications about an item, for the API key's user.

Inputs

Workspaceworkspace_idtextRequired
The workspace.
Item IDitem_idtextRequired
The item's ID, from List items or a trigger.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {}
}

Update comment

Change a comment's text.

Inputs

Workspaceworkspace_idtextRequired
The workspace.
Comment IDcomment_idtextRequired
The comment's ID, from List comments or Add comment.
CommenttexttextRequired
The comment's new text, in Markdown.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "content": {},
    "createdAt": "example",
    "id": "example",
    "initiator": {},
    "itemId": "example",
    "lastUpdatedAt": "example",
    "reactions": [
      {}
    ]
  }
}

Update item

Change an item's name, description, status, assignees, color or archived state.

Inputs

Workspaceworkspace_idtextRequired
The workspace.
Item IDitem_idtextRequired
The item's ID, from List items or a trigger.
Namenametext
The item's new name.
Descriptiondescriptiontext
The item's description, in Markdown.
Statusstatus_idtext
The item's status, one of the workspace's statuses.
Assigneesassignee_user_idslist
The people the item is assigned to.
Colorcolortext
The item's color.One of: blue, azure, sky, ocean, emerald, leaf, moss, great (Green), yellow, amber, and 10 more.
Archivedarchivedtrue/false
Archive the item, or bring it back from the archive.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {
    "_embedded": {
      "alias": "example",
      "attachmentCount": 1,
      "children": [
        {}
      ],
      "commentCount": 1,
      "linkCount": 1,
      "parents": [
        {}
      ],
      "watched": true
    },
    "archived": true,
    "assigneeUserGroupIds": [
      "example"
    ],
    "assigneeUserIds": [
      "example"
    ],
    "color": "example",
    "createdAt": "example",
    "description": {
      "markdown": "example"
    },
    "fields": {},
    "id": "example",
    "lastUpdatedAt": "example",
    "name": "example",
    "number": 1,
    "order": 1,
    "statusCategoryUpdatedAt": "example",
    "statusId": "example",
    "statusUpdatedAt": "example",
    "workspaceId": "example"
  }
}

Watch item

Get airfocus notifications about an item's changes, as the API key's user.

Inputs

Workspaceworkspace_idtextRequired
The workspace.
Item IDitem_idtextRequired
The item's ID, from List items or a trigger.

Outputs

dataobject
The response from airfocus.
Example output
{
  "data": {}
}

On this page