Skip to main content
GET
/
users
/
{user_id}
cURL
curl --request GET \
  --url https://grm-api.vercel.app/users/{user_id} \
  --header 'Authorization: Bearer <token>'
{
  "Name": "<string>",
  "Email": "jsmith@example.com",
  "State": "<string>",
  "Gender": "<string>",
  "District": "<string>",
  "Mobile": "<string>",
  "id": "<string>",
  "status": "<string>"
}
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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string
required

ID of user to fetch

Response

User response

Name
string
required

The full name of the user

Email
string<email>
required

Email address of the user

State
string
required

State of residence of the user

Gender
string
required

Gender of the user

District
string
required

District of residence of the user

Mobile
string
required

Mobile number of the user

id
string
required

Unique identifier for the user

status
string
required

Status of the user creation or operation