Users
Get User
Fetches a user’s profile and KYC record. Only users belonging to the authenticated partner are accessible.
GET
Overview
Returns the user’s profile plus their KYC record. Partner-scoped — if thegrail_user_id belongs to a different partner, the request is rejected with 403 partner_mismatch.
Headers
A valid
PARTNER scope key.Path Parameters
GRAIL’s identifier for the user, prefixed
gu_. Returned from Create User.Response
GRAIL’s user identifier.
Your internal identifier (the
partner_user_id supplied at creation time).The user’s Solana wallet address.
"active" or "suspended". Suspended users cannot quote trades or redemptions.ISO-8601 timestamp of user creation.
The user’s KYC record. Omitted if no KYC record exists (shouldn’t happen for users created via Create User).
Errors
| HTTP | error | When |
|---|---|---|
| 401 | unauthorized | Missing or invalid x-api-key |
| 403 | partner_mismatch | User belongs to a different partner |
| 404 | user_not_found | No user with the given grail_user_id |
