Skip to main content
GET
/
api-keys
/
{projectId}
List API keys for a project
curl --request GET \
  --url http://localhost:3000/api-keys/{projectId} \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 123,
  "message": "OK",
  "data": {
    "data": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "masked": "<string>",
        "environment_name": "<string>",
        "expires_at": "2023-11-07T05:31:56Z",
        "revoked_at": "2023-11-07T05:31:56Z",
        "key": "<string>",
        "metadata": {},
        "last_used_at": "2023-11-07T05:31:56Z"
      }
    ],
    "meta": {
      "total": 123,
      "page": 123,
      "pageCount": 123
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string<uuid>
required

Response

Default Response

statusCode
number
message
string
default:OK
data
object