---
title: "Join a team"
method: POST
path: "/v1/teams/{teamId}/join"
tags: ["Teams"]
---

# Join a team

`POST /v1/teams/{teamId}/join`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/teams/{teamId}/join`
- Auth: HTTP bearer

Adds you to a team as a member when one of your verified email addresses has a pending invitation to it or matches a company auto-enroll domain, or when you are an Automattician joining the main Automattic team. Joining a team you already belong to succeeds idempotently.

## Path parameters

- `teamId` string, required

## Response `200`

Response for status 200

- object
  - `$schema` string, uri: Canonical JSON Schema URL for this response body. The server also sends it in the `Link: rel="describedby"` response header.
  - `data` object, required
    - `teamId` string, required
    - `userId` string, required
    - `role` 'owner' | 'admin' | 'member', required

## Other responses

- `default`: Problem details (RFC 9457). Any 4xx/5xx response is one `application/problem+json` document.

---

[API](https://skmtc.dev/spacefast/apis/spacefast-api.md) · [All operations](https://skmtc.dev/spacefast/apis/spacefast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spacefast/apis/spacefast-api/revisions/bd165bc7c983?raw)
