API Keys
Programmatically manage your org's API keys.
List Keys
/v1/api-keys0 creditscurl -H "Authorization: Bearer ss_live_..." \
"https://api.hillwinds.ai/v1/api-keys"Inspect the Current Caller
/v1/whoami0 creditsReturns the context of the credential that made the request: its auth type, key id and prefix, key type (live or test), linked user and email, account and organization, effective scopes and field tiers. Use it to confirm which key a client is using and what it may call before sending a state-changing request. Any valid API key or MCP delegation credential can call it; sandbox keys included.
curl -H "Authorization: Bearer ss_live_..." \
"https://api.hillwinds.ai/v1/whoami"{
"ok": true,
"data": {
"auth_type": "api_key",
"key_id": "5f0c2a1e-8d3b-4c71-9e2f-6a1b0c9d8e7f",
"key_prefix": "ss_live_ab12",
"key_type": "live",
"user_id": "c1d2e3f4-0000-4000-8000-000000000001",
"email": "ops@example.com",
"account_id": "acct_9c8b7a",
"org_name": "Example Benefits",
"field_tier": "advanced",
"entity_field_tiers": {
"companies": "advanced",
"personnel": "advanced",
"brokers": "advanced",
"broker-offices": "advanced"
},
"scopes": ["read:companies", "read:personnel", "credits:read"]
},
"meta": { "credits_charged": 0 }
}Create Key
/v1/api-keys0 credits| Parameter | Type | Description |
|---|---|---|
scopesrequired | string[] | Scopes to grant to the child key. Data-read scopes include read:companies and read:personnel; operational scopes include tags:write, data-flags:write, reports:write, keys:read, keys:write, credits:read, and usage:read. The parent key must already have any scope it grants. |
name | string | Display name for the child key. |
field_tier | basic | advanced | Default tier for every entity. Per-entity overrides come from the parent key (see entity_field_tiers below). |
key_type | live | test | Defaults to live. Use test for sandbox-only keys (ss_test_… prefix). |
entity_field_tiers | object | Read-only — copied from the parent key on creation. Map of entity → basic|advanced. You can't set this manually; provision a parent key with the right entitlements instead. |
field_tiers | object | Read-only — per-entity basic/advanced field allowlists, copied from the parent key. |
curl -X POST -H "Authorization: Bearer ss_live_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Clay - Production",
"scopes": ["read:companies", "read:personnel"],
"field_tier": "advanced",
"key_type": "live"
}' \
"https://api.hillwinds.ai/v1/api-keys"The response includes the full key value:
{
"ok": true,
"data": {
"id": "key_a1b2c3d4",
"key": "ss_live_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
"key_prefix": "ss_live_a1b2c3",
"name": "Clay - Production",
"scopes": ["read:companies", "read:personnel"],
"field_tier": "advanced",
"key_type": "live",
"created_at": "2026-04-22T14:30:00Z"
}
}key value is returned only in this response. After this, only the key_prefix is visible. If you lose it, rotate.Revoke Key
/v1/api-keys/:key_id0 creditscurl -X DELETE -H "Authorization: Bearer ss_live_..." \
"https://api.hillwinds.ai/v1/api-keys/key_a1b2c3d4"Rotate Key
/v1/api-keys/:key_id/rotate0 creditsGenerates a new secret for an existing key. The old secret is invalidated immediately. The new full key is returned exactly once in this response — same shape as the create endpoint.
curl -X POST -H "Authorization: Bearer ss_live_..." \
"https://api.hillwinds.ai/v1/api-keys/key_a1b2c3d4/rotate"Keys are issued by our team, not a signup form. Book a 25-minute walkthrough and you'll leave with sandbox and live credentials.