Users
Manage the people working in your Flownally workspace. 7 endpoints in this resource.
List users
https://api.flownally.com/v1/usersReturns the members of the workspace.
Open as its own pageAuthorization
- user:list
- owner
- admin
- agent
List workspace users.
Responses
- 200List of usersapplication/json
- defaultErrorapplication/json
Related schemas
curl "https://api.flownally.com/v1/users" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"users": [
{
"id": "usr_d7phosq4g7mv2l5b9l40",
"name": "Lina Nowak",
"email": "lina@example.com",
"teamIds": [
"tem_d7pi77577990sq67vgqg"
],
"role": "admin",
"joinedAt": "2026-04-30T08:30:00Z",
"avatarMediaId": "mda_d7pk2v0s4g7mv2l5b9m0",
"provider": "google",
"emailVerified": true,
"disabled": false
}
]
}Get current user profile
https://api.flownally.com/v1/users/meReturns the authenticated user's profile.
Open as its own pageAuthorization
- user:read_self
- owner
- admin
- agent
Read the caller's user record.
Responses
- 200Current user profileapplication/json
- defaultErrorapplication/json
Related schemas
curl "https://api.flownally.com/v1/users/me" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"id": "usr_d7phosq4g7mv2l5b9l40",
"name": "Lina Nowak",
"email": "lina@example.com",
"teamIds": [
"tem_d7pi77577990sq67vgqg"
],
"role": "admin",
"joinedAt": "2026-04-30T08:30:00Z",
"avatarMediaId": "mda_d7pk2v0s4g7mv2l5b9m0",
"provider": "google",
"emailVerified": true,
"disabled": false
}Update current user profile
https://api.flownally.com/v1/users/meUpdates the authenticated user's name or avatar.
Open as its own pageAuthorization
- user:update_self
- owner
- admin
- agent
Update the caller's user profile.
Body parameters
Send a application/json body. The body is required.
- Name
name- Type
- string
- Name
avatarMediaId- Type
- string
Media ID of an uploaded image. An empty string clears the avatar.
Responses
- 200Updated user profileapplication/json
- defaultErrorapplication/json
Related schemas
curl -X PATCH "https://api.flownally.com/v1/users/me" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Lina Nowak",
"avatarMediaId": "mda_d7pk2v0s4g7mv2l5b9m0"
}'{
"id": "usr_d7phosq4g7mv2l5b9l40",
"name": "Lina Nowak",
"email": "lina@example.com",
"teamIds": [
"tem_d7pi77577990sq67vgqg"
],
"role": "admin",
"joinedAt": "2026-04-30T08:30:00Z",
"avatarMediaId": "mda_d7pk2v0s4g7mv2l5b9m0",
"provider": "google",
"emailVerified": true,
"disabled": false
}Get unread summary
https://api.flownally.com/v1/users/me/unread-summaryReturns how many conversations the signed-in user can see have unread activity, across all owners and statuses, and whether each requested conversation is unread for them.
Open as its own pageAuthorization
- user:read_self
- owner
- admin
- agent
Read the caller's unread conversation summary.
Parameters
- Name
skipTotal- Type
- query · boolean
Return only the flags forconversationIds. When true,unreadConversationsis zero and must be ignored. Defaults to false. Each call reads its own snapshot, so flags and a total from an earlier call can differ.- Name
conversationIds- Type
- query · array<string>
Responses
- 200Unread summaryapplication/json
- defaultErrorapplication/json
Related schemas
curl "https://api.flownally.com/v1/users/me/unread-summary" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"conversationUnread": {},
"unreadConversations": 0
}Get user
https://api.flownally.com/v1/users/{userId}Returns one workspace member, including role and team membership.
Open as its own pageAuthorization
- user:read
- owner
- admin
- agent
Read a workspace user.
Parameters
- Name
userId- Type
- path · string
- required
User ID.
Responses
- 200Userapplication/json
- 404User not foundapplication/json
- defaultErrorapplication/json
Related schemas
curl "https://api.flownally.com/v1/users/$USER_ID" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"id": "usr_d7phosq4g7mv2l5b9l40",
"name": "Lina Nowak",
"email": "lina@example.com",
"teamIds": [
"tem_d7pi77577990sq67vgqg"
],
"role": "admin",
"joinedAt": "2026-04-30T08:30:00Z",
"avatarMediaId": "mda_d7pk2v0s4g7mv2l5b9m0",
"provider": "google",
"emailVerified": true,
"disabled": false
}Remove member
https://api.flownally.com/v1/users/{userId}Removes a member from the workspace and signs them out of the app. The member no longer
appears in GET /users, but past activity, such as messages they sent, still shows who
did it.
Authorization
- user:disable
- owner
- admin
Remove a member from the workspace.
Parameters
- Name
userId- Type
- path · string
- required
User ID.
Responses
- 204Member removed
- 400Invalid request. Code:
auth_member_self_removal_forbidden: you can't remove yourself.
- 403Your role can't remove this member. Codes:
auth_authz_member_remove_denied: your role can't remove members.auth_member_removal_forbidden: you can't remove an Owner.
- 404The user isn't a member of this workspace. Code:
auth_user_not_found
- 409The workspace must keep at least one Owner. Code:
auth_user_last_owner_required: removing this member would leave no active Owner.
- defaultErrorapplication/json
Related schemas
curl -X DELETE "https://api.flownally.com/v1/users/$USER_ID" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"Update member role
https://api.flownally.com/v1/users/{userId}/roleChanges a member's role. Admins can switch members between admin and agent; only
Owners can make someone an Owner or change an Owner's role. A workspace must keep at least
one Owner, so demoting the last one is rejected.
Authorization
- owner
- admin
Assign a user role; required action depends on request body role.
Parameters
- Name
userId- Type
- path · string
- required
User ID.
Body parameters
Send a application/json body. The body is required.
- Name
role- Type
- enum
- required
The role to assign to the member.One of: owner, admin, agent
Responses
- 200Member updatedapplication/json
- 400Invalid request. Codes:
auth_user_invalid_role:roleisn'towner,adminoragent.auth_user_self_role_change_forbidden: you can't change your own role.
- 403Your role can't make this change. Codes:
auth_authz_user_assign_role_denied: your role can't assign the requested role, for example an Admin assigningowner.auth_user_role_assignment_forbidden: you can't change an Owner's role.
- 404The user isn't a member of this workspace. Code:
auth_user_not_found
- 409The workspace must keep at least one Owner. Code:
auth_user_last_owner_required: this change would leave no Owner.
- defaultErrorapplication/json
Related schemas
curl -X PUT "https://api.flownally.com/v1/users/$USER_ID/role" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"role": "agent"
}'{
"id": "usr_d7phosq4g7mv2l5b9l40",
"name": "Lina Nowak",
"email": "lina@example.com",
"teamIds": [
"tem_d7pi77577990sq67vgqg"
],
"role": "admin",
"joinedAt": "2026-04-30T08:30:00Z",
"avatarMediaId": "mda_d7pk2v0s4g7mv2l5b9m0",
"provider": "google",
"emailVerified": true,
"disabled": false
}