API Keys

Endpoints for managing your API key information.

List API keys (user level)

get

Returns the caller's own key info, or all keys for their organisation when org_id is supplied.

Authorizations
Query parameters
org_idstring · uuidOptional
Responses
200
Keys retrieved.
application/json
get
GET /v1/keys HTTP/1.1
Host: api.humanity.org
X-HP-API-Key: YOUR_API_KEY
Accept: */*
200

Keys retrieved.

{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "api_key": "text",
      "enabled": true,
      "organization": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "name": "text"
      },
      "created_at": "2025-08-02T11:12:20.829Z",
      "updated_at": "2025-08-02T11:12:20.829Z"
    }
  ]
}