API reference / Customer keys and view-as
List keys you minted for a customer
GET/v1/platforms/{orgId}/customers/{customerId}/api-keys
Keys this platform minted for the linked customer (platform:customer_keys). Keys the customer created on their own Developer page are not listed. The secret is never returned.
Before you call it
- Organization
platform - Permission
platform:customer_keys
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list. |
customerIdpath, uuidrequired | A customer organization linked to your platform. |
Response 200
Minted keys
| Field | What it does |
|---|---|
keysApiKey[]required | No description in the spec yet. |
keys[].idstring (uuid)required | No description in the spec yet. |
keys[].public_idstringrequired | No description in the spec yet. |
keys[].modeenumrequired | No description in the spec yet. One of |
keys[].namestringrequired | No description in the spec yet. |
keys[].scopesstring[]required | No description in the spec yet. |
keys[].allowliststring[]required | No description in the spec yet. |
keys[].expires_atstring (date-time)required | No description in the spec yet. |
keys[].overlap_untilstring (date-time) | No description in the spec yet. |
keys[].revoked_atstring (date-time) | No description in the spec yet. |
keys[].last_used_atstring (date-time) | No description in the spec yet. |
keys[].created_atstring (date-time)required | No description in the spec yet. |
keys[].minted_by_platform_idstring (uuid) | Set when a platform minted this key for the customer. Absent for keys created on the Developer page. |