Get Current User
get
/v1/userPart of User.
Authentication
Authenticate in any one of these ways — not all of them:
- API key in the
X-API-Keyheader. - Bearer token in the
Authorizationheader.
Example request
curl
curl -X GET "https://api.robosystems.ai/v1/user" \
-H "X-API-Key: $ROBOSYSTEMS_API_KEY"Responses
200 Successful Response
| Field | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
idrequired | string | Unique identifier for the user | ||||||||||||
nameoptional | string | User's display name | ||||||||||||
emailoptional | string | User's email address | ||||||||||||
email_verifiedoptional | boolean | Whether user's email is verified Default: | ||||||||||||
accountsoptional | AccountInfo[] | User's authentication accounts AccountInfo fields
|
| Status | Meaning |
|---|---|
| 400 | Invalid request |
| 401 | Authentication required |
| 403 | Access denied |
| 429 | Rate limit exceeded |
| 500 | Internal server error |