Cubicle

List your SSH keys

GET
/v1/keys

Returns the caller's SSH public keys, oldest first. Removed keys are left out.

Every key here is authorized for the caller's guest account on each Box they have a grant for. See SSH into a Box.

It needs a sign-in session; API keys are refused.

Authorization

session
headerAuthorizationBearer <token>

A sign-in session token (jvs_…) from the Dashboard, cubicle login or the device authorization flow.

Response Body

The caller's SSH keys.

application/json
  1. response
[index: integer]?

One of the caller's SSH public keys.

Example Request
curl -X GET 'https://api.cubicle.sh/v1/keys'
Example Response
[  {    "id": "1d3f5b7d-9f1b-4c3d-a5f7-5b7d9f1a3c6e",    "fingerprint": "SHA256:DR+VtH2CFcmbwFuSvbFDPP8Twxmp78l6+a+IUVna6C4",    "comment": "ada@laptop",    "publicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIq5sz0buTLsmQ/57RQ86GwP2iIh5VrYHXVPY4ACn8xH",    "createdAt": "2026-11-02T08:30:00.000Z"  }]