User
Get authenticated user with websites
post/api/v2/user_info
Request
- Base URL: https://api.ratingcaptain.com
- URL: https://api.ratingcaptain.com/api/v2/user_info
- Auth: none required
Request body
Example request
{
"email": "test@gmail.com",
"password": "testpassword"
}Response
Example response
{
"id": 1,
"name": "Test",
"email": "test@test.pl",
"websites": [
{
"name": "test1",
"url": "http://test1.pl/store",
"script_link": "https://api.ratingcaptain.com/js_v2/test1",
"widgets": [
{
"name": "Saved widgets",
"type": "popup",
"preview": "https://api.ratingcaptain.com/api/widgets_v2/preview/1000033",
"code": "<div data-widget='100033'></div>"
},
{
"name": "Saved widgets",
"type": "frustration_reduction",
"preview": "https://api.ratingcaptain.com/api/widgets_v2/preview/1000033",
"code": "<div data-widget='100076'></div>"
}
],
"token": "test1"
},
{
"name": "Test",
"url": "https://www.test.com/pl/",
"script_link": "https://api.ratingcaptain.com/js_v2/51531515151",
"widgets": [
{
"name": "Saved widgets",
"type": "home",
"preview": "https://api.ratingcaptain.com/widgets_v2/preview/111222333",
"code": "<div data-widget='111222333'></div>"
}
],
"token": "51531515151"
},
{
"name": "TEST",
"url": "http://test.com",
"script_link": "https://api.ratingcaptain.com/js_v2/41241414141",
"widgets": [],
"token": "41241414141"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.