Skip to main content

List public keys for a user

Lists the _verified_ public SSH keys for a user. This is accessible by anyone.

GET/users/{username}/keys
Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Request

Path Parameters
username string
required
Query Parameters
per_page integer
optional

Results per page (max 100)

page integer
optional

Page number of the results to fetch.

Responses

application/json array[Key Simple object]

Response

Headers
Link string
Example:
<https://api.github.com/resource?page=2>; rel="next", <https://api.github.com/resource?page=5>; rel="last"
items Key Simple object

Key Simple

id integer
required
key string
required