---
title: "List an Organization's Code Mappings"
url: https://docs.sentry.io/api/integrations/list-an-organizations-code-mappings/
---

# List an Organization's Code Mappings | Sentry Docs

GET /api/0/organizations/{organization\_id\_or\_slug}/code-mappings/

Return repository path mappings for projects the user can access.

### Path Parameters

* `organization_id_or_slug` *(string)*

  REQUIRED

  The ID or slug of the organization the resource belongs to.

### Query Parameters:

* `integrationId` *(string)*

  Filter mappings to a specific installed integration.

* `project` *(array(string))*

  Filter by project ID or slug. Pass `-1` to include all projects the user can access. When omitted, mappings include all projects the user can access.

* `cursor` *(string)*

  A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.

* `per_page` *(integer)*

  The maximum number of mappings to return per page.

### Scopes

You need to [authenticate via bearer auth token.](https://docs.sentry.io/api/auth.md)

`<auth_token>` requires one of the following scopes:

* `org:admin`
* `org:ci`
* `org:integrations`
* `org:read`
* `org:write`

```
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/code-mappings/ \
 -H 'Authorization: Bearer <auth_token>'
```

RESPONSESCHEMA

```
Copied
.
```

---

Find other pages: [Sitemap](https://docs.sentry.io/sitemap.md) lists every page with a one-line summary, and [llms.txt](https://docs.sentry.io/llms.txt) gives an overview with guidance for agents.
