API Keys

Endpoints for managing your API key information.

List API keys (user level)

get
/v1/keys

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

Authorizations
X-HP-API-KeystringRequired

Your developer API key for accessing public endpoints.

Query parameters
org_idstring · uuidOptional
Responses
200

Keys retrieved.

application/json
get
/v1/keys
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-11-23T11:06:34.782Z",
      "updated_at": "2025-11-23T11:06:34.782Z"
    }
  ]
}

Last updated