POST
/
api
/
user
/
safe
/
{userId}
Get User by ID
curl --request POST \
  --url https://ge-exchange-staging-1.herokuapp.com/v1/api/user/safe/{userId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "signature": "<string>"
}'
{
  "status": "success",
  "message": "User data fetched successfully",
  "data": {
    "type": "User",
    "entity_type": "user",
    "fname": "Name",
    "lname": "Name",
    "email": "amos@yopmail.com",
    "phone": "23400009088888",
    "city": "Lagos",
    "state": "Lagos",
    "country": "Nigeria",
    "homeAddress": "Lagos",
    "dob": "01-Jun-1982",
    "sex": "Male"
  }
}
userId
string
required
The user to retrieve info for
signature
string
required
The user security token/signature generated from get equity
{
  "status": "success",
  "message": "User data fetched successfully",
  "data": {
    "type": "User",
    "entity_type": "user",
    "fname": "Name",
    "lname": "Name",
    "email": "amos@yopmail.com",
    "phone": "23400009088888",
    "city": "Lagos",
    "state": "Lagos",
    "country": "Nigeria",
    "homeAddress": "Lagos",
    "dob": "01-Jun-1982",
    "sex": "Male"
  }
}