URL: /api/get-user-by-email

Method: GET

Description : Gets the user profile by email

Parameters:

Parameter Type Optional/Required Description
email string Required Email that has to be searched

Response:

{

"success":true,

"data":{

"user":{

"id":310,

"email":"gislason.tiana@example.net",

"user_name":"marks.jacinthe",

"role":"admin",

"profile_pic":"https:\/\/secure.gravatar.com\/avatar\/3a691dea6e00f2677d227c75d76239d7?s=80&r=g&d=identicon",

"name":"Jeffrey Streich",

"profile_link":"http:\/\/localhost:8000\/user\/310"

}

}

}

 

Leave a Reply

Your email address will not be published. Required fields are marked *