Profile
Batch lookup profiles
Retrieve display names for a list of user IDs.
POST
/api/profiles/batchbetter-auth.session_token<token>
Cookie session from Better Auth. Requires X-Org-Id header for org-scoped routes.
In: cookie
Request Body
application/json
ids*array<string>
curl -X POST "https://loading/api/profiles/batch" \ -H "Content-Type: application/json" \ -d '{ "ids": [ "string" ] }'{
"profiles": [
{
"id": "string",
"displayName": "string"
}
]
}{
"type": "https://docs.appstrate.dev/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "Invalid or missing session",
"code": "unauthorized",
"requestId": "req_abc123"
}