v1

latestOpenAPI 3.0.02026-08-04891301.4 MB
s2s

Create a team invite (server-to-server)

Generates a new invite code for the specified team using server-to-server authentication. Unlike the user-facing create endpoint, this variant does not require the caller to be a team member — it is intended for privileged back-end services acting on behalf of your platform.

The returned code is a short alphanumeric string that users can present to join the team. Each call produces a new code; previously issued codes are not invalidated by this request.

post/api/v1/teams/{team}/invites

Path parameters

teamstring required

Team ID (tm_...) identifying the team for which to generate the invite code.

Response

Successful response

codestring required

Six-character alphanumeric join code. Present this value to the join-team endpoint to add a user to the team.

Example response

{
  "code": "string"
}