Skip to main content
All requests use a single endpoint: POST https://api.helpgenie.ai/v1 with resource: "teams".

Access control

Access varies by action. Team owners and internal admins have full access to all actions. Team members have read-only access to get and members. Any authenticated user can create a team.
Only team owners and internal admins can manage invitations and remove members. Regular team members have read-only access to get and members actions only.

Team management workflow

1

Create a team

Use the create action to set up a new team. The authenticated user automatically becomes the team owner.
2

Invite members

Use the invite action to send invitations by email. Track pending invitations with the invitations action.
3

Members accept

Invited users accept the invitation to join the team. Their profile is updated with the team_id.
4

Manage the team

Use members to view the roster, remove-member to remove users, and cancel-invite to revoke pending invitations.

Get a team

Retrieves a specific team by ID with all team members.
string
required
Must be "teams"
string
required
Must be "get"
string
required
The team ID.

Response

boolean
object

Create a team

Creates a new team. The authenticated user automatically becomes the team owner.
string
required
Must be "teams"
string
required
Must be "create"
object
required

Response (status 201)

boolean
object

Update a team

Updates team settings such as name, brand, and branding.
string
required
Must be "teams"
string
required
Must be "update"
string
required
The team ID.
object
required

Response

boolean
object

Delete a team

Permanently deletes a team and removes all members.
string
required
Must be "teams"
string
required
Must be "delete"
string
required
The team ID.

Response

boolean
object
This permanently deletes the team and removes all member associations.

List team members

Retrieves all members of a team.
string
required
Must be "teams"
string
required
Must be "members"
string
required
The team ID.

Response

boolean
object

Invite a member

Sends a team invitation to an email address. If a previous invitation exists for the same email, it is replaced. The invitee receives an email and must accept before joining.
string
required
Must be "teams"
string
required
Must be "invite"
string
required
The team ID.
object
required

Response (status 201)

boolean
object

List pending invitations

Retrieves all pending invitations for a team.
string
required
Must be "teams"
string
required
Must be "invitations"
string
required
The team ID.

Response

boolean
object

Cancel an invitation

Cancels a pending team invitation.
string
required
Must be "teams"
string
required
Must be "cancel-invite"
string
required
The invitation UUID.
object
required

Response

boolean
object

Resend an invitation

Refreshes the timestamp on a pending invitation, triggering a new invitation email to the invitee.
string
required
Must be "teams"
string
required
Must be "resend-invite"
string
required
The invitation UUID to resend.
object
required
Only invitations with status: "pending" can be resent. Returns 404 if the invitation is not found or is no longer pending.

Response

boolean
object

Remove a member

Removes a member from a team.
string
required
Must be "teams"
string
required
Must be "remove-member"
string
required
The team ID.
object
required

Response

boolean
object

Branding actions

get-branding

Returns the team’s branding configuration. Parameters — none (uses the authenticated user’s team).

update-branding

Updates the team’s branding (colors, logo, gradient settings). Team owner or admin only. Parameters

clear-branding

Resets all branding fields to null. Team owner or admin only. Parameters — none.

Genie sharing actions

share-genie

Shares a Genie with team members. Parameters

grant-genie-access

Grants a team member access to a specific Genie. Parameters

remove-genie-access

Revokes a team member’s access to a specific Genie. Parameters

Error responses