The Unkey API uses HTTP RPC-style methods and generally follow the schema:{version}/{service}.{method}

For example GET to list all keys for an API.

HTTP Methods

We strictly use only GET and POST methods. PUT and DELETE are not used.


GET methods are used for reading data. Filtering, sorting, or pagination is done via query parameters.

curl "" \
  -H "Authorization: Bearer <ROOT_KEY>"


POST methods are used for creating, updating, and deleting data. Data is passed as application/json in the request body.

curl -XPOST "" \
  -H "Authorization: Bearer <ROOT_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"apiId": "api_123", "name": "My Key"}'