Read and update team settings, follow usage against your plan, and manage member roles and access.
Get team details
Returns basic team information with optional includes for related resources.
query Parameters
includeGet team details › Responses
TeamData
idnametypeplanincluded_volumeNumber of emails included in the team's monthly plan
verified_atcreated_atfeaturesdomains_countprojects_countmembers_counttierDeprecated alias for included_volume
Update team settings
Updates editable team properties (name).
Update team settings › Responses
Team settings updated
messageHuman-readable confirmation
Get team usage statistics
Returns current and historical email usage data with billing information. Historical usage includes up to 12 most recent periods.
Get team usage statistics › Responses
TeamUsageDetailData
Get reusable team roles
Create a custom team role
Custom roles need a plan that includes them. Permissions must include everything they depend on, and role names are unique within the team.
Create a custom team role › Request Body
namepermissionsdescriptionCreate a custom team role › Responses
Custom role created
idnamedescriptionpermissionsassignableGet a team role
Use the role ID returned by the team-role list.
path Parameters
roleIdGet a team role › Responses
TeamRoleData
idnamedescriptionpermissionsassignableReplace a custom team role
Replaces the name, description, and complete permission set of a custom role. The change applies to every member, invite, and SCIM group that holds the role. Built-in roles cannot be changed.
path Parameters
roleIdReplace a custom team role › Request Body
namepermissionsdescriptionReplace a custom team role › Responses
TeamRoleData
idnamedescriptionpermissionsassignableDelete a custom team role
A role that is still assigned to members, invites, or SCIM groups needs a replacement role, which receives those assignments. Built-in roles cannot be deleted.
path Parameters
roleIdquery Parameters
replacement_role_idSame-team non-Owner role that receives existing assignments. Required only while the deleted role is assigned.
Delete a custom team role › Responses
Role deleted
messageHuman-readable confirmation
Duplicate a team role
Creates a custom role with the same permissions under a new name. Without a description, the copy keeps the source role's description. The Owner role cannot be duplicated.
path Parameters
roleIdDuplicate a team role › Request Body
namedescriptionDuplicate a team role › Responses
Custom role created
idnamedescriptionpermissionsassignableList Team API tokens
Returns token metadata only. Token values are only returned when a token is created.
query Parameters
page[size]The number of results that will be returned per page.
page[cursor]The cursor to start the pagination from.
sortList Team API tokens › Responses
Paginated set of TeamApiToken
pathBase path for paginator generated URLs.
per_pageNumber of items shown per page.
next_cursorThe "cursor" that points to the next set of items.
next_page_urlprev_cursorThe "cursor" that points to the previous set of items.
prev_page_urlCreate a Team API token
The new token can only have abilities that the requesting token has. It copies the requesting token's IP allowlist, and it can't outlive the requesting token. The token is only returned once.
Create a Team API token › Request Body
nameA name that identifies where the token is used
abilitiesAbilities for the new token. Each one must also be held by the token that makes the request
expires_atWhen the token expires, as an ISO 8601 date-time. Defaults to, and can't be later than, the expiry of the token that makes the request
Create a Team API token › Responses
Team API token created
A new Team API token with its value, which is only returned once.
messageHuman-readable confirmation
Update a Team API token
Changes the token's name or replaces its abilities. A token can only change tokens whose abilities it also has, and only to abilities it has. To add abilities, the token being changed must be limited to the requesting token's IP allowlist and must not expire after it.
path Parameters
tokenIdUpdate a Team API token › Request Body
nameA name that identifies where the token is used
abilitiesThe token's complete list of abilities. Replaces its current abilities. Each one must also be held by the token that makes the request
Update a Team API token › Responses
TeamApiToken
idnameabilitiesThe token's abilities. * grants every ability
allowed_ipsIP addresses and ranges allowed to use the token. Empty means any address
expires_atlast_used_atcreated_atDelete a Team API token
Get team members
Returns role assignments for teams using reusable roles.
query Parameters
page[size]The number of results that will be returned per page.
page[cursor]The cursor to start the pagination from.
filter[project_id]Only members who can access this project: members with access to all projects and members selected for it. An unknown project returns an empty list.
Get team members › Responses
Paginated set of TeamMemberData
pathBase path for paginator generated URLs.
per_pageNumber of items shown per page.
next_cursorThe "cursor" that points to the next set of items.
next_page_urlprev_cursorThe "cursor" that points to the previous set of items.
prev_page_urlGet a team member
Use the user ID returned by the team-member list.
path Parameters
userIdGet a team member › Responses
TeamMemberData
idnameemailjoined_atRemove a team member
Replace a team member's assignment
Replaces the member's non-Owner role and complete project scope atomically.
Use the user's ID returned by GET /team/members.
path Parameters
userIdReplace a team member's assignment › Request Body
role_idReplace a team member's assignment › Responses
TeamMemberData
idnameemailjoined_atGet team invites
Returns pending invitations with the role and project access they will receive.
query Parameters
page[size]The number of results that will be returned per page.
page[cursor]The cursor to start the pagination from.
Get team invites › Responses
Paginated set of TeamInviteData
pathBase path for paginator generated URLs.
per_pageNumber of items shown per page.
next_cursorThe "cursor" that points to the next set of items.
next_page_urlprev_cursorThe "cursor" that points to the previous set of items.
prev_page_urlInvite a person to the team
Sends the invitation email. The team needs a free seat on its plan; pending invites do not use one. The Owner role cannot be assigned through an invite.
Invite a person to the team › Request Body
emailrole_idInvite a person to the team › Responses
Invitation created and emailed
idemailcreated_atGet a team invite
Use the invite ID returned by the team-invite list.
path Parameters
inviteIdGet a team invite › Responses
TeamInviteData
idemailcreated_atReplace a pending team invite
Replaces the email, role, and complete project scope of the invitation. A new invitation email is sent only when the email address changes.
path Parameters
inviteIdReplace a pending team invite › Request Body
emailrole_idReplace a pending team invite › Responses
TeamInviteData
idemailcreated_at