---
title: "Map teams to task tracking projects"
method: POST
path: "/task_tracking/mapTeamsToProjects"
---

# Map teams to task tracking projects

`POST /task_tracking/mapTeamsToProjects`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/task_tracking/mapTeamsToProjects`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `task_tracking:write`

Map teams to task tracking projects. Make sure the mapping mode is set to 'teams' in the task tracker settings.

## Request body

- object
  - `project_teams_map` object, required: An object representing the link between task tracking projects and teams. The keys of the object are the project ids of the task tracker projects as they are in the task tracker integration, the value is an array of team ids that need to be mapped to the project
    - `project_id` integer[]: A list of team id's that need to be linked to the project id set as the key.
  - `integration_id` integer: Optional. The id of the task tracker integration when multiple integrations are available

## Response `200`

The teams have been mapped to the task tracker projects

- object
  - `success` integer: The integer 1 indicating success

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
