Get User Info
Returns identity information for the user associated with a Barndoor API key.
Pass your API key (beginning with bdai_) in the JSON request body — no Authorization header is required.
Generate an API key from the Barndoor dashboard at Settings → API Tokens.
This endpoint is useful for verifying which user and organization a token belongs to, especially when managing multiple test accounts or debugging authentication.
Body
Your Barndoor API key (begins with bdai_). Generate one at Settings → API Tokens in the dashboard.
"bdai_xxxxxxxxxxxxxxxxxxxxxxxx"
Response
Identity information for the authenticated user
Unique identifier for the authenticated user.
"5e52dac4-bd2a-426b-b4ba-d32d995ecada"
Unique identifier for the user's organization.
"cf586077-cab2-4574-a2f2-32d48e8d34e4"
URL-friendly slug identifier for the organization.
"blush-chickadee"
Human-readable display name of the organization.
"Acme Corp"
Display name of the authenticated user.
"Jane Smith"
Current account tier.
trial, paid "trial"