Look up actor display names
GET /v1/actors/lookup
Resolves user IDs and/or API key IDs to their display names (email or label). Used by the console to render “Deleted by” attribution on message detail pages.
At least one of user_id or api_key_id must be provided. If neither
is given, the endpoint returns 400.
Both parameters accept comma-separated lists for batch lookups (up to 100 total IDs). IDs that do not exist or belong to a different tenant are silently omitted from the response.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”One or more Kratos identity IDs (comma-separated)
Example
01935abc-def0-7123-4567-890abcdef012One or more API key IDs (comma-separated)
Example
key_abc123Responses
Section titled “ Responses ”Actor display names resolved
object
object
Map of Kratos identity ID to user email. Only present when user_id was requested.
object
object
Map of API key ID to key label. Only present when api_key_id was requested. Keys that exist but have no label are included with an empty string; keys not found or belonging to another tenant are omitted entirely.
object
object
object
Unique identifier for this request (useful for support)
Example
req_xyz123Example
{ "data": { "users": { "01935abc-def0-7123-4567-890abcdef012": { "email": "alice@example.com" } }, "api_keys": { "key_abc123": { "label": "Production Backend" } } }, "meta": { "request_id": "req_xyz123" }}Invalid request
object
object
Machine-readable error code
Example
INVALID_REQUESTHuman-readable error message
Example
endpoint must be a valid HTTPS URLobject
Unique identifier for this request (useful for support)
Example
req_xyz123Examples
Endpoint not found
{ "error": { "code": "ENDPOINT_NOT_FOUND", "message": "endpoint not found" }, "meta": { "request_id": "req_xyz123" }}Invalid endpoint ID format
{ "error": { "code": "INVALID_REQUEST", "message": "endpoint_id must be in format ep_xxx" }, "meta": { "request_id": "req_xyz123" }}Invalid payload
{ "error": { "code": "INVALID_REQUEST", "message": "payload must be valid JSON" }, "meta": { "request_id": "req_xyz123" }}Invalid headers
{ "error": { "code": "INVALID_HEADERS", "message": "header 'Host' is forbidden and cannot be overridden" }, "meta": { "request_id": "req_xyz123" }}Unauthorized - Invalid or missing API key
object
object
Machine-readable error code
Example
INVALID_REQUESTHuman-readable error message
Example
endpoint must be a valid HTTPS URLobject
Unique identifier for this request (useful for support)
Example
req_xyz123Example
{ "error": { "code": "UNAUTHORIZED", "message": "Invalid or missing API key" }, "meta": { "request_id": "req_xyz123" }}Internal server error
object
object
Machine-readable error code
Example
INVALID_REQUESTHuman-readable error message
Example
endpoint must be a valid HTTPS URLobject
Unique identifier for this request (useful for support)
Example
req_xyz123Example
{ "error": { "code": "INTERNAL_ERROR", "message": "An internal error occurred" }, "meta": { "request_id": "req_xyz123" }}Enter your credentials to populate code examples throughout the docs.