v17

latestOpenAPI 3.0.1raw.githubusercontent.com2026-07-08165682.0 MB
Team members

Add a member to a team

Authorization

A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:

Service Token Accesses write_teams

OAuth Scopes

ResourceScopes
Organizationwrite_organization
post/organizations/{organization}/teams/{team}/members

Path parameters

organizationstring required

The name of the organization

teamstring required

The slug of the team

Request body

user_idstring required

The ID of the organization member to add to the team

Response

Returns the created team membership

idstring required

The ID of the team membership

created_atstring required

When the membership was created

updated_atstring required

When the membership was last updated