Skip to content
Navigation

List API keys

GET
/v1/keys

List API key metadata from an owner or admin browser session.

Authorization

  • browserSession
    optional
    API key in cookie
  • localBrowserSession
    optional
    API key in cookie

Header parameters

  • X-Simplcron-Environment
    optional
    production
    or
    development

    Environment for a browser session. Bearer keys always use their fixed environment.

    default: "production"

Returns

200

List for the authenticated environment

JSON
  • keys
    array of
    object
    required
    • id
      string
      required
    • name
      string
      required
      maxLength: 80 · minLength: 1
    • prefix
      string
      required
    • createdAt
      string
      required
      format: date-time
    • permissions
      optional
      array of
      string
      ·
      one of 8 values
      Allowed values: tasks:read, tasks:write, runs:read, runs:write, schedules:read, schedules:write, webhooks:read, webhooks:write
    • revokedAt
      optional

      Any of the following:

      • string
      • null

401

Authentication is required
JSON
  • error
    string
    required

403

The credential lacks permission
JSON
  • error
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close