airfocus
App · 24 actions
Manage product roadmap items, their statuses and comments in airfocus workspaces.
Actions
| Action | What it does |
|---|---|
| Add comment | Comment on an item. |
| Create item | Create an item in a workspace. |
| Create workspace | Create a workspace in the team. |
| Delete comment | Delete a comment. |
| Delete item | Delete an item. |
| Delete item link | Remove a link between two items. |
| Delete workspace | Delete a workspace and every item in it. |
| Get current user | Get the airfocus user the API key belongs to. |
| Get item | Get an item, with its description in Markdown. |
| Get item by key | Get an item by its key, such as DEV-123, from any workspace. |
| Get team | Get the airfocus team the API key's user belongs to. |
| Get workspace | Get a workspace with its statuses, fields and views. |
| Link items | Link one item to another, such as one that blocks another. |
| List comments | List the comments on an item. |
| List items | List or search the items in a workspace. |
| List link types | List the kinds of link the team uses between items, such as Blocks or Relates to. |
| List statuses | List a workspace's statuses, in board order. |
| List users | List the people in the team, optionally only those matching a name or email. |
| List workspaces | List the workspaces the API key's user can see, most recently active first. |
| Move item | Move an item to another workspace. |
| Stop watching item | Stop airfocus notifications about an item, for the API key's user. |
| Update comment | Change a comment's text. |
| Update item | Change an item's name, description, status, assignees, color or archived state. |
| Watch item | Get airfocus notifications about an item's changes, as the API key's user. |
Add comment
Comment on an item.
Inputs
- Workspace
workspace_idtextRequired - The workspace.
- Item ID
item_idtextRequired - The item's ID, from List items or a trigger.
- Comment
texttextRequired - 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
- Workspace
workspace_idtextRequired - The workspace.
- Name
nametextRequired - The item's name.
- Description
descriptiontext - The item's description, in Markdown.
- Status
status_idtext - The item's status, one of the workspace's statuses.
- Assignees
assignee_user_idslist - The people the item is assigned to.
- Color
colortext - The item's color.One of:
blue,azure,sky,ocean,emerald,leaf,moss,great(Green),yellow,amber, and 10 more. - Custom fields
custom_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
- Name
nametextRequired - The workspace's name.
- Description
descriptiontext - What the workspace is for, in Markdown.
- Item type
item_typetext - What kind of items the workspace holds.One of:
feature,idea,epic,story,task,bug,initiative,project,product,opportunity,experiment,feedback. - Alias
aliastext - A short prefix for item numbers, such as `DEV` for DEV-12.
- Item color
item_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
- Workspace
workspace_idtextRequired - The workspace.
- Comment ID
comment_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
- Workspace
workspace_idtextRequired - The workspace.
- Item ID
item_idtextRequired - The item's ID, from List items or a trigger.
Outputs
dataobject- The response from airfocus.
Example output
{
"data": {}
}Delete item link
Remove a link between two items.
Inputs
- Workspace
workspace_idtextRequired - The workspace.
- Link ID
link_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
- Workspace
workspace_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
- Workspace
workspace_idtextRequired - The workspace.
- Item ID
item_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 key
aliastextRequired - 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
- Workspace
workspace_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 items
Link one item to another, such as one that blocks another.
Inputs
- Workspace
workspace_idtextRequired - The workspace.
- From item ID
item_idtextRequired - The item's ID, from List items or a trigger.
- To item ID
to_item_idtextRequired - The ID of the item to link to.
- Link type
link_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
- Workspace
workspace_idtextRequired - The workspace.
- Item ID
item_idtextRequired - The item's ID, from List items or a trigger.
- Offset
offsetnumber - How many to skip, for the next page.At least 0. Default:
0. - Limit
limitnumber - 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
- Workspace
workspace_idtextRequired - The workspace.
- Name
nametext - Part of the item name to look for.
- Statuses
status_idslist - Only items in these statuses.
- Updated since
updated_sincedate and time - Only items changed since this time.
- Archived
archivedtrue/false - List archived items instead of active ones.
- Sort
sorttext - 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. - Offset
offsetnumber - How many to skip, for the next page.At least 0. Default:
0. - Limit
limitnumber - 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 link types
List the kinds of link the team uses between items, such as Blocks or Relates to.
Inputs
- Name
nametext - Part of the link type's name to look for.
- Offset
offsetnumber - How many to skip, for the next page.At least 0. Default:
0. - Limit
limitnumber - 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
- Workspace
workspace_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
- Search
querytext - 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
- Name
nametext - Part of the workspace name to look for.
- Archived
archivedtrue/false - List archived workspaces instead of active ones.
- Offset
offsetnumber - How many to skip, for the next page.At least 0. Default:
0. - Limit
limitnumber - 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
- Workspace
workspace_idtextRequired - The workspace.
- Item ID
item_idtextRequired - The item's ID, from List items or a trigger.
- Move to workspace
target_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
- Workspace
workspace_idtextRequired - The workspace.
- Item ID
item_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
- Workspace
workspace_idtextRequired - The workspace.
- Comment ID
comment_idtextRequired - The comment's ID, from List comments or Add comment.
- Comment
texttextRequired - 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
- Workspace
workspace_idtextRequired - The workspace.
- Item ID
item_idtextRequired - The item's ID, from List items or a trigger.
- Name
nametext - The item's new name.
- Description
descriptiontext - The item's description, in Markdown.
- Status
status_idtext - The item's status, one of the workspace's statuses.
- Assignees
assignee_user_idslist - The people the item is assigned to.
- Color
colortext - The item's color.One of:
blue,azure,sky,ocean,emerald,leaf,moss,great(Green),yellow,amber, and 10 more. - Archived
archivedtrue/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
- Workspace
workspace_idtextRequired - The workspace.
- Item ID
item_idtextRequired - The item's ID, from List items or a trigger.
Outputs
dataobject- The response from airfocus.
Example output
{
"data": {}
}