identities
Get Identity
Changed onRetrieve an identity by external ID. Returns metadata, rate limits, and other associated data.
Use this to check if an identity exists, view configurations, or build management dashboards.
Important Requires identity.*.read_identity permission
post/v2/identities.getIdentity
Request
- Base URLhttps://api.unkey.com
- URLhttps://api.unkey.com/v2/identities.getIdentity
- AuthHTTP bearer
Request body
Example request
{
"identity": "user_abc123"
}Response
Successfully retrieved the identity information
Example response
{
"meta": {
"requestId": "req_123"
},
"data": {
"ratelimits": [
{
"id": "rl_1234567890abcdef",
"name": "api_requests",
"limit": 1000,
"duration": 3600000,
"autoApply": true
}
]
}
}Changes
- info
the endpoint scheme security
bearerwas added to the API - info
the endpoint scheme security
rootKeywas removed from the API
- info
- info
added the non-success response with the status
- info