Teams
Organize teammates and route conversations to the right group. 8 endpoints in this resource.
List teams
https://api.flownally.com/v1/teamsReturns teams used for inbox routing and conversation access.
Open as its own pageAuthorization
- team:list
- owner
- admin
- agent
List teams in the workspace.
Parameters
- Name
pageSize- Type
- query · integer
Values above 100 are reduced to 100; 0 or omitted uses the default (50).- Name
pageToken- Type
- query · string
Responses
- 200List of teamsapplication/json
- defaultErrorapplication/json
Related schemas
curl "https://api.flownally.com/v1/teams" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"teams": [
{
"id": "tem_d7pi77577990sq67vgqg",
"createdAt": "2026-04-30T08:45:00Z",
"updatedAt": "2026-04-30T09:05:00Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Support",
"description": "First line customer support.",
"agentIds": [
"usr_d7phosq4g7mv2l5b9l40"
]
}
],
"nextPageToken": "string",
"totalSize": 0
}Create team
https://api.flownally.com/v1/teamsCreates a team for routing conversations and organizing teammates.
Open as its own pageAuthorization
- team:create
- owner
- admin
Create a team in the workspace.
Body parameters
Send a application/json body. The body is required.
- Name
name- Type
- string
- required
- Name
description- Type
- string
Responses
- 201Team createdapplication/json
- defaultErrorapplication/json
Related schemas
curl -X POST "https://api.flownally.com/v1/teams" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Support",
"description": "First line customer support."
}'{
"id": "tem_d7pi77577990sq67vgqg",
"createdAt": "2026-04-30T08:45:00Z",
"updatedAt": "2026-04-30T09:05:00Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Support",
"description": "First line customer support.",
"agentIds": [
"usr_d7phosq4g7mv2l5b9l40"
]
}Get team
https://api.flownally.com/v1/teams/{id}Returns one team and its current agent assignments.
Open as its own pageAuthorization
- team:read
- owner
- admin
- agent
Read a team in the workspace.
Parameters
- Name
id- Type
- path · string
- required
Responses
- 200Team detailsapplication/json
- defaultErrorapplication/json
Related schemas
curl "https://api.flownally.com/v1/teams/$TEAM_ID" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"id": "tem_d7pi77577990sq67vgqg",
"createdAt": "2026-04-30T08:45:00Z",
"updatedAt": "2026-04-30T09:05:00Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Support",
"description": "First line customer support.",
"agentIds": [
"usr_d7phosq4g7mv2l5b9l40"
]
}Update team
https://api.flownally.com/v1/teams/{id}Updates a team's display name or description.
Open as its own pageAuthorization
- team:update
- owner
- admin
Update a team in the workspace.
Parameters
- Name
id- Type
- path · string
- required
Body parameters
Send a application/json body. The body is required.
- Name
name- Type
- string
- Name
description- Type
- string
Responses
- 200Team updatedapplication/json
- defaultErrorapplication/json
Related schemas
curl -X PUT "https://api.flownally.com/v1/teams/$TEAM_ID" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "order_ready",
"description": "string"
}'{
"id": "tem_d7pi77577990sq67vgqg",
"createdAt": "2026-04-30T08:45:00Z",
"updatedAt": "2026-04-30T09:05:00Z",
"tenantId": "tn_d7phk42ge9t9t6324f20",
"name": "Support",
"description": "First line customer support.",
"agentIds": [
"usr_d7phosq4g7mv2l5b9l40"
]
}Delete team
https://api.flownally.com/v1/teams/{id}Deletes a team that is no longer used for routing or assignments.
Open as its own pageAuthorization
- team:delete
- owner
- admin
Delete a team in the workspace.
Parameters
- Name
id- Type
- path · string
- required
Responses
- 204Team deleted
- defaultErrorapplication/json
Related schemas
curl -X DELETE "https://api.flownally.com/v1/teams/$TEAM_ID" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"List team agents
https://api.flownally.com/v1/teams/{id}/agentsReturns users assigned to the team.
Open as its own pageAuthorization
- team:read
- owner
- admin
- agent
List agents assigned to a team.
Parameters
- Name
id- Type
- path · string
- required
Responses
- 200List of agentsapplication/json
- defaultErrorapplication/json
Related schemas
curl "https://api.flownally.com/v1/teams/$TEAM_ID/agents" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"agents": [
{
"id": "string",
"createdAt": "2026-04-27T00:00:00.000Z",
"tenantId": "string",
"teamId": "string",
"userId": "string"
}
]
}Add agent to team
https://api.flownally.com/v1/teams/{id}/agentsAdds a user to the team so they can work conversations routed there.
Open as its own pageAuthorization
- team:assign_user
- owner
- admin
Add an agent to a team.
Parameters
- Name
id- Type
- path · string
- required
Body parameters
Send a application/json body. The body is required.
- Name
userId- Type
- string
- required
Responses
- 201Agent addedapplication/json
- defaultErrorapplication/json
Related schemas
curl -X POST "https://api.flownally.com/v1/teams/$TEAM_ID/agents" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"userId": "usr_d7phosq4g7mv2l5b9l40"
}'{
"id": "string",
"createdAt": "2026-04-27T00:00:00.000Z",
"tenantId": "string",
"teamId": "string",
"userId": "string"
}Remove agent from team
https://api.flownally.com/v1/teams/{id}/agents/{userId}Removes a user from the team.
Open as its own pageAuthorization
- team:remove_user
- owner
- admin
Remove an agent from a team.
Parameters
- Name
id- Type
- path · string
- required
- Name
userId- Type
- path · string
- required
Responses
- 204Agent removed
- defaultErrorapplication/json
Related schemas
curl -X DELETE "https://api.flownally.com/v1/teams/$TEAM_ID/agents/$USER_ID" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"