List public keys

Returns the public SSH keys of the authorized user.

Required scopes: USER_KEY

Resource URL

GET /user/keys

Example

Request

GET https://api.buddy.works/user/keys

Sample Response

HTTP

Status: 200 OK
X-Rate-Limit-Limit: 1
X-Rate-Limit-Remaining: 999

JSON

{
  "url": "https://api.buddy.works/user/keys",
  "html_url": "https://app.buddy.works/my-id",
  "keys": [
    {
      "url": "https://api.buddy.works/user/keys/1",
      "html_url": "https://app.buddy.works/my-id",
      "id": 1,
      "title": " BuddyKey",
      "content": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCG0Ug3U8DoJ6+z36D2h2+oc4UoQRihLNGcAO9SHglFXp+dn1aGJrqeoOrmo4bj5AcydjY33Ylm7ixZEe85vD5INCeldMd8JGmZTj57mwzqpKXFrag+/v9F9qmSEPxKZ1cQj7Q/nRi/hJIoJbsxymrxWhdJZnDNeqwdusR78Xkftw== BuddyKey"
    }
  ]
}
Sign up for Buddy Digest

Best practices on CI/CD and fresh changelogs delivered weekly to your inbox.