# Gogs Collaborators and Deploy Keys API

**Canonical:** https://apis.io/apis/gogs/gogs-collaborators-and-deploy-keys-api/  
**Provider:** Gogs — https://apis.io/providers/gogs/  
**Base URL:** https://gogs.example.com/api/v1  
**Documentation:** https://gogs.io/api-reference/introduction

Gogs Collaborators and Deploy Keys API is one of 10 APIs that [Gogs](https://apis.io/providers/gogs/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Collaborators and Deploy Keys. The published artifact set on APIs.io includes an OpenAPI specification.

Manage repository collaborators and deploy keys

## Operations (8)

| Method | Path | Summary |
|---|---|---|
| GET | `/repos/{owner}/{repo}/collaborators` | List collaborators |
| PUT | `/repos/{owner}/{repo}/collaborators/{collaborator}` | Add a collaborator |
| DELETE | `/repos/{owner}/{repo}/collaborators/{collaborator}` | Remove a collaborator |
| GET | `/repos/{owner}/{repo}/collaborators/{collaborator}` | Check if a user is a collaborator |
| GET | `/repos/{owner}/{repo}/keys` | List deploy keys |
| POST | `/repos/{owner}/{repo}/keys` | Add a deploy key |
| GET | `/repos/{owner}/{repo}/keys/{id}` | Get a deploy key |
| DELETE | `/repos/{owner}/{repo}/keys/{id}` | Remove a deploy key |

## Machine-readable artifacts (1)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/gogs/refs/heads/main/openapi/gogs-collaborators-and-deploy-keys-api-openapi.yml

## Other Gogs APIs (9)

- [Gogs API](https://apis.io/apis/gogs/gogs-api/)
- [Gogs Administration API](https://apis.io/apis/gogs/gogs-administration-api/)
- [Gogs Issues API](https://apis.io/apis/gogs/gogs-issues-api/)
- [Gogs Miscellaneous API](https://apis.io/apis/gogs/gogs-miscellaneous-api/)
- [Gogs Organizations API](https://apis.io/apis/gogs/gogs-organizations-api/)
- [Gogs Releases API](https://apis.io/apis/gogs/gogs-releases-api/)
- [Gogs Repositories API](https://apis.io/apis/gogs/gogs-repositories-api/)
- [Gogs Users API](https://apis.io/apis/gogs/gogs-users-api/)
- [Gogs Webhooks API](https://apis.io/apis/gogs/gogs-webhooks-api/)

## Tags

Collaborators and Deploy Keys

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/gogs/gogs-collaborators-and-deploy-keys-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/gogs/.
