List a Project’s Client Keys

GET /api/0/projects/{organization_slug}/{project_slug}/keys/

Return a list of client keys bound to a project.

Path Parameters:
  • organization_slug (string) – the slug of the organization the client keys belong to.
  • project_slug (string) – the slug of the project the client keys belong to.
Method:

GET

Path:

/api/0/projects/{organization_slug}/{project_slug}/keys/

Example

GET /api/0/projects/the-interstellar-jurisdiction/pump-station/keys/ HTTP/1.1
Authorization: Basic ___ENCODED_API_KEY___
Host: app.getsentry.com
HTTP/1.1 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Language: en
Content-Length: 813
Content-Type: application/json
Link: <https://sentry.io/api/0/projects/the-interstellar-jurisdiction/pump-station/keys/?&cursor=4:0:1>; rel="previous"; results="false"; cursor="4:0:1", <https://sentry.io/api/0/projects/the-interstellar-jurisdiction/pump-station/keys/?&cursor=4:100:0>; rel="next"; results="false"; cursor="4:100:0"
Vary: Accept-Language, Cookie
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-Xss-Protection: 1; mode=block

[
  {
    "name": "Fabulous Key",
    "projectId": 2,
    "secret": "fa20c1b10597431dbb00bfdd17c3608d",
    "label": "Fabulous Key",
    "dsn": {
      "cdn": "https://sentry.io/js-sdk-loader/7df58a1e5d364af2a5740a6b762eb85d.min.js",
      "minidump": "https://sentry.io/api/2/minidump/?sentry_key=7df58a1e5d364af2a5740a6b762eb85d",
      "public": "https://7df58a1e5d364af2a5740a6b762eb85d@sentry.io/2",
      "secret": "https://7df58a1e5d364af2a5740a6b762eb85d:fa20c1b10597431dbb00bfdd17c3608d@sentry.io/2",
      "security": "https://sentry.io/api/2/security/?sentry_key=7df58a1e5d364af2a5740a6b762eb85d",
      "csp": "https://sentry.io/api/2/csp-report/?sentry_key=7df58a1e5d364af2a5740a6b762eb85d"
    },
    "public": "7df58a1e5d364af2a5740a6b762eb85d",
    "rateLimit": null,
    "dateCreated": "2018-06-20T17:34:49.521Z",
    "id": "7df58a1e5d364af2a5740a6b762eb85d",
    "isActive": true
  }
]