---
title: "Request access to a team"
method: POST
path: "/v1/teams/{team_id}/team_requests"
tags: ["Team Requests"]
---

# Request access to a team

`POST /v1/teams/{team_id}/team_requests`

Create an access request to a team.

You must be authenticated via a Personal Access Token. You must not already have a pending
request on the team, be a member of the team, be a workspace manager or have the
restricted access level.

## Path parameters

- `team_id` integer, required

## Response `201`

Team request created

- object
  - `id` integer
  - `member_id` integer
  - `team_id` integer

## Other responses

- `400` — Invalid data
- `401` — Invalid API key
- `403` — Permission denied
- `404` — Not found
- `409` — Data conflict
- `503` — API under maintenance

---

[API](https://skmtc.net/gitguardian/apis/gitguardian-api.md) · [All operations](https://skmtc.net/gitguardian/apis/gitguardian-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitguardian/gitguardian-api/revisions/511b067cdcb1/schema)
