curl "https://app.talkover.ai/api/user" \
-H "Authorization: Bearer your_user_session_token"
{
"id": "user-uuid-1",
"name": "Alice Doe",
"email": "[email protected]",
"current_environment_id": "env-uuid-1",
"created_at": "2024-01-01T10:00:00Z"
}
Account API
Get Current User
Retrieve the user associated with the current session token
GET
/
api
/
user
curl "https://app.talkover.ai/api/user" \
-H "Authorization: Bearer your_user_session_token"
{
"id": "user-uuid-1",
"name": "Alice Doe",
"email": "[email protected]",
"current_environment_id": "env-uuid-1",
"created_at": "2024-01-01T10:00:00Z"
}
Get Current User
Retrieve the authenticated user’s profile. This endpoint requires a user session token (Account API), not an environment token.This endpoint is part of the Account API and is authenticated with a user session token. Other endpoints in this reference use environment tokens (
talq_*).Endpoint
GET /api/user
Request headers
string
required
User session token. Format:
Bearer <user_session_token>.Examples
curl "https://app.talkover.ai/api/user" \
-H "Authorization: Bearer your_user_session_token"
Response
{
"id": "user-uuid-1",
"name": "Alice Doe",
"email": "[email protected]",
"current_environment_id": "env-uuid-1",
"created_at": "2024-01-01T10:00:00Z"
}
Notes
- Use this in dashboards or tools that authenticate the human user, not service-to-service integrations.
- For machine-to-machine access scoped to an environment, use environment tokens (
talq_*) with the rest of the API.
Was this page helpful?