X Lead Main
  1. ACCOUNT USER
X Lead Main
  • Overview
  • API Key Integration
  • ACCOUNT
    • Get Account
      GET
  • ACCOUNT USER
    • Get User List
      GET
    • Get User
      GET
    • Get User ID
      POST
    • Create User
      POST
    • Update User
      POST
    • Delete User
      DELETE
  • FUNNEL PAGE USER
    • Get User List
      GET
    • Get User (Coming Soon)
      GET
    • Create User
      POST
  1. ACCOUNT USER

Get User ID

POST
https://api.main.xleadfunnel.com/v1/account-users/get-user-id
To get User ID for a particular user with his email and/or country_code + mobile.

Request

Body Params application/json

Example
// Example 1 โ€“ Get user id by email
{
    "email": "peter.chan7@gmail.com"
}

// Example 2 โ€“ Get user id by mobile
{
    "country_code": "852",
    "mobile": "98765432"
}

Responses

๐ŸŸข200Success
application/json
Body

Example
{
    "rc": 100,
    "rm": "OK",
    "user": [
        {
            "user_id": "65857c9x2bvc2496ca2ba28f",
            "name": "Peter Chan",
            "email": "peter.chan@gmail.com",
            "country_code": "852",
            "mobile": "98765432",
            "gender": "M",
            "address": "Address 123",
            "birthday": {
                "byear": "2000",
                "bmonth": "01",
                "bday": "10"
            },
            "source": "FB",
            "user_tags": [
                {
                    "value": "้Ÿณๆจ‚"
                },
                {
                    "value": "ๆ—…้Š"
                },
                {
                    "value": "่ท‘ๆญฅ"
                }
            ],
            "status": "IMP",
            "created": "2023-10-19"
        }
    ]
}
Modified atย 2025-07-07 14:41:15
Previous
Get User
Next
Create User
Built with