---
title: "Check if a user is a collaborator"
method: GET
path: "/repos/{owner}/{repo}/collaborators/{collaborator}"
tags: ["Collaborators and Deploy Keys"]
---

# Check if a user is a collaborator

`GET /repos/{owner}/{repo}/collaborators/{collaborator}`

Returns 204 if the user is a collaborator, 404 if not.

## Path parameters

- `owner` string, required
- `repo` string, required
- `collaborator` string, required

## Response `204`

User is a collaborator.

## Other responses

- `404` — User is not a collaborator.
- `422` — The specified user does not exist.

---

[API](https://skmtc.dev/gogs/apis/gogs-api.md) · [All operations](https://skmtc.dev/gogs/apis/gogs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gogs/gogs-api/revisions/87e2da32266c/schema)
