Internal API to fetch entity details for multiple entities at once

post/api/v2/internal/entityDetails

Accepts arrays of user IDs, wallet IDs, enterprise IDs, and organization IDs. Returns detailed information about each entity type.

NOTE: This is semantically a GET operation, but uses POST method to avoid URL length limits. Each entity type can have up to 30 IDs, each being a 32-character string (4 types × 30 IDs × 32 chars = ~3840 chars). This would exceed typical URL length limits (2048-4096 chars) if passed as query parameters.

Request Body

userIds array[string]
walletIds array[string]
enterpriseIds array[string]
organizationIds array[string]

200 Response

users array[object] required
entityType string required
Allowed value: user
entityId string required
userDetails object required
wallets array[object] required
entityType string required
Allowed value: wallet
entityId string required
walletDetails object required
enterprises array[object] required
entityType string required
Allowed value: enterprise
entityId string required
enterpriseDetails object required
organizations array[object] required
entityType string required
Allowed value: organization
entityId string required
organizationDetails object required

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

403 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id