cURL
Endpoint Examples
Get User
Get a user by ID from the Xata database
GET
cURL
Returns a user by ID from the system. This endpoint requires authentication via a bearer token. The response includes all user details such as Name, Email, State, Gender, District, Mobile, and status.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of user to fetch
Response
User response
The full name of the user
Email address of the user
State of residence of the user
Gender of the user
District of residence of the user
Mobile number of the user
Unique identifier for the user
Status of the user creation or operation