User
Get user details
GET
/
user
Copy
curl --request GET \
--url https://atoms-api.smallest.ai/api/v1/user \
--header 'Authorization: Bearer <token>'
Copy
{
"status": true,
"data": {
"_id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"userEmail": "<string>",
"authProvider": "<string>",
"isEmailVerified": true,
"organizationId": "<string>"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
Successful response
The response is of type object
.
Copy
curl --request GET \
--url https://atoms-api.smallest.ai/api/v1/user \
--header 'Authorization: Bearer <token>'
Copy
{
"status": true,
"data": {
"_id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"userEmail": "<string>",
"authProvider": "<string>",
"isEmailVerified": true,
"organizationId": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.