User Avatar
Query parameters
-
phone
integer -
is_preview
boolean
GET
/user/avatar
curl \
--request GET 'http://localhost:3000/user/avatar'
Response examples (200)
{
"code": "SUCCESS",
"message": "Success",
"results": {
"url": "https://pps.whatsapp.net/v/t61.24694-24/181358562_385581386633509_6230178822944778044_n.jpg?ccb=11-4&oh=df36c5b990497b8a5758a0f1ad8118a8&oe=620AA726",
"id": "1635239861",
"type": "image"
}
}
Response examples (400)
{
"code": 400,
"message": "field cannot be blank",
"results": {}
}
Response examples (500)
{
"code": "INTERNAL_SERVER_ERROR",
"message": "you are not loggin",
"results": {}
}