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"
}
}
Retrieves details about a user.
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"
}
}
{
"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"
}
}
Was this page helpful?