---
title: "Get interaction restrictions for your public repositories"
method: GET
path: "/user/interaction-limits"
tags: ["interactions"]
---

# Get interaction restrictions for your public repositories

`GET /user/interaction-limits`

Shows which type of GitHub user can interact with your public repositories and when the restriction expires.

## Response `200`

Default response

- union
  - InteractionLimitResponse — Interaction limit settings.
    - `limit` 'existing_users' | 'contributors_only' | 'collaborators_only', required — The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.
    - `origin` string, required
    - `expires_at` string, date-time, required
  - object

## Other responses

- `204` — Response when there are no restrictions

---

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