Skip to main content
POST
Get current user info

Body

application/json
token
string
required

Your Barndoor API key (begins with bdai_). Generate one at Settings → API Tokens in the dashboard.

Example:

"bdai_xxxxxxxxxxxxxxxxxxxxxxxx"

Response

Identity information for the authenticated user

id
string<uuid>
required

Unique identifier for the authenticated user.

Example:

"5e52dac4-bd2a-426b-b4ba-d32d995ecada"

organization_id
string<uuid>
required

Unique identifier for the user's organization.

Example:

"cf586077-cab2-4574-a2f2-32d48e8d34e4"

organization_name
string
required

URL-friendly slug identifier for the organization.

Example:

"blush-chickadee"

organization_display_name
string
required

Human-readable display name of the organization.

Example:

"Acme Corp"

name
string
required

Display name of the authenticated user.

Example:

"Jane Smith"

account_status
enum<string>
default:trial

Current account tier.

Available options:
trial,
paid
Example:

"trial"