---
title: "The account's API keys"
method: GET
path: "/keys"
tags: ["keys"]
---

# The account's API keys

`GET /keys`

## Request

- Base URL: `https://api.gogoscreen.com/api/v1`
- URL: `https://api.gogoscreen.com/api/v1/keys`
- Auth: HTTP bearer

Every key this account holds, newest first — active, revoked and expired. The key material itself is never returned: a key is shown once, when it is created.

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

The account's API keys

- object
  - `data` object[], required
    - `createdAt` string, date-time, required
    - `expiresAt` string, date-time, nullable, required
    - `id` string, required
    - `last4` string, required: The last four characters, for telling two keys apart in a list.
    - `lastUsedAt` string, date-time, nullable, required: Written at most once a minute, so it is accurate to the minute and not to the request.
    - `name` string, required
    - `prefix` string, required: `gsk_live_` plus the first eight characters of the secret. Enough to recognise a key; not enough to use one.
    - `rateLimitPerDay` number, nullable, required: A per-key daily cap. Null means uncapped by the key itself.
    - `rateLimitPerMinute` number, nullable, required: A per-key ceiling. Null means the rate class's own limit applies; a number can only ever lower it.
    - `revokedAt` string, date-time, nullable, required
    - `scopes` string[], required
    - `status` 'active' | 'revoked' | 'expired', required
  - `nextCursor` string, nullable, required: Pass as `cursor` for the next page; null on the last page.

## Other responses

- `400`: `validation_failed` — That request is not valid. · `invalid_cursor` — That page cursor is not valid.
- `401`: `unauthorized` — Authentication is required.
- `403`: `forbidden_scope` — This credential does not carry the scope this operation needs.
- `404`: `not_found` — No such resource.
- `429`: `rate_limited` — Too many requests. Try again shortly.
- `500`: `internal_error` — Something went wrong. Try again.

---

[API](https://skmtc.dev/gogoscreen/apis/gogoscreen-api.md) · [All operations](https://skmtc.dev/gogoscreen/apis/gogoscreen-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gogoscreen/apis/gogoscreen-api/revisions/2fd812319d75?raw)
