LoginResult
Properties
| Property | Type | Required | Description |
access_token |
string |
Yes |
|
default_organization_id |
string |
Yes |
The user's default organization ID for API calls requiring an organization context.
This is typically the first organization the user joined (their personal org). |
expires_in |
integer |
Yes |
|
refresh_token |
string |
Yes |
|
user |
UserInfo |
Yes |
|
View JSON Schema
{
"type": "object",
"required": [
"access_token",
"refresh_token",
"expires_in",
"user",
"default_organization_id"
],
"properties": {
"access_token": {
"type": "string"
},
"default_organization_id": {
"type": "string",
"format": "uuid",
"description": "The user's default organization ID for API calls requiring an organization context.\nThis is typically the first organization the user joined (their personal org)."
},
"expires_in": {
"type": "integer",
"format": "int64"
},
"refresh_token": {
"type": "string"
},
"user": {
"$ref": "#/components/schemas/UserInfo"
}
}
}