Get user by ID

GET https://umobilizer.com/partner/api/user/get/userId/

Description

Getting information about the user

Input parameters

Parameter Type Required Description
userId integer yes
User ID

Output parameter

{
    "user": {
        "userId": 100,
        "userName": "user100",
        "userEmail": "user100@gmail.com",
        "sites": [
            {
                "siteId": 1000,
                "siteName": "site.com",
                "siteUrl": "http://site.com/",
                "published": false,
                "paidDate": null
            },
            {
                "siteId": 1001,
                "siteName": "site2.com",
                "siteUrl": "http://site2.com/",
                "published": true,
                "paidDate": "2017-05-30"
            }
        ]
    }
}

User structure

Parameter Type Description
userId integer
User ID
userName string
Username
userEmail string
User e-mail
sites array
List of users on the website

Site structure

Parameter Type Description
siteId integer
Site ID
siteName string
Site name
siteUrl string
URL of site
published boolean
Is the website publish:
  • true - published
  • false - not published
paidDate string
Data in format Y-m-dUnsuccessful payment will result in the mobilized websites suspension. null.