API Keys
dev-api

List all API keys for the organization

get/developers/api_keys

Request

  • Base URL
    https://gateway.prem.io
  • Auth
    HTTP bearer and API key in header Authorization

Response

Successful API keys list response

status200 | 201 | 202 required

Status code of the response

errorstring nullable

Error message of the response, human readable

messagestring nullable required

Message of the response, human readable

env'development' | 'production' required

API environment

support_idstring uuid nullable

Support ID linked to the response, used to identify it when talking with our team.

Example response

{
  "data": [
    {
      "id": "api_key_0197c0ec-a197-719f-84a9-99270a79b42a",
      "secret": "sk_live_MDE5N2MwZWMt...GdwdA",
      "scopes": [
        "api_keys.read"
      ],
      "ip_allow_list": [
        "127.0.0.1"
      ],
      "label": "Development API Key",
      "description": "Key for development environment",
      "expires_at": "2026-05-30 20:23:16",
      "created_at": "2025-06-30 15:00:22",
      "updated_at": null
    },
    {
      "id": "api_key_0197c0ef-6750-7e93-be70-32cef133b06a",
      "secret": "sk_live_MDE5N2MwZWYt...GdwdA",
      "scopes": [
        "api_keys.read"
      ],
      "ip_allow_list": [
        "127.0.0.1"
      ],
      "label": "My API Key",
      "description": "Key for reading API Keys",
      "expires_at": "2026-05-30 20:23:16",
      "created_at": "2025-06-30 15:03:24",
      "updated_at": null
    },
    {
      "id": "api_key_0197c0f1-71ca-7fac-bece-9723783fb48b",
      "secret": "sk_live_MDE5N2MwZjEt...GdwdA",
      "scopes": [
        "api_keys.read"
      ],
      "ip_allow_list": [
        "127.0.0.1"
      ],
      "label": "My API Key 2",
      "description": "Key for reading API Keys",
      "expires_at": "2026-05-30 20:23:16",
      "created_at": "2025-06-30 15:05:38",
      "updated_at": null
    }
  ],
  "message": null
}

Changes

    • warning

      added the new 405.00 enum value to the / response property for the response status

    • warning

      added the new 405.00 enum value to the / response property for the response status

    • warning

      added the new 409.00 enum value to the / response property for the response status

    • warning

      added the new 409.00 enum value to the / response property for the response status

    • warning

      added the new 500.00 enum value to the / response property for the response status

    • warning

      added the new 500.00 enum value to the / response property for the response status

    • info

      removed the BALANCE enum value from the ////// response property for the response status

    • info

      removed the PLAN enum value from the ////// response property for the response status

    • info

      endpoint added