Skip to content
dimmiDocs

Workspace and team

Add teammates to a team

POST/api/v1/teams/{team}/members

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the members:write ability

Path parameters

teamstringrequired

Id of the team, starting with team_, such as team_01jx2m8k4t. Find it with GET /teams.

Body

application/json
member_idsstring[] | nullrequired

Member ids (mem_...), 1 to 100.

Minimum items: 1 · Maximum items: 100

Response 200

OK
dataobject[] | nullrequired

One result for each member the request asked to add to the team.

Show child attributes
member_idstringrequired

The member id exactly as the request sent it.

resultstringrequired

What adding this member came to: added, already_member, inactive or not_found.

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.