loginProtectListUser — Listing users

This method allows you to retrieve a list of Login Protect users associated with a specified site.

The API endpoint is: https://api.sitelock.com/v1/partner

Request format

  • SiteLockOnlineRequest: This element is used to delineate the full API request.

    • authentication: The partner’s username, password, and branding.

      • user: The partner’s API username.

      • password: The partner’s API password.

    • loginProtectListUser: The method name.

      • site_id: The ID of the site for which to list users.

Example request

<SiteLockOnlineRequest>
    <authentication>
        <user>User</user>
        <password>Password</password>
    </authentication>
    <loginProtectListUser>
        <site_id>49031907</site_id>
    </loginProtectListUser>
</SiteLockOnlineRequest>

Response format

  • SiteLockOnlineResponse: This element is used to delineate the full API response.

    • loginProtectListUser: The method name.

      • status: The status of the API response.

      • user: The user’s login ID associated with the specified site.

        • name: The user’s name.

        • creation_date: The date and time when the user was created.

        • email: The user’s email address.

        • phone: The user’s phone number.

        • status: The user’s status.

      • error: An error element containing an error code and an error message.

Example response

<SiteLockOnlineResponse>
    <loginProtectListUser>
        <status>ok</status>
        <user>
            <name>Username</name>
            <creation_date>2025-09-19 17:56:15</creation_date>
            <email>[email protected]</email>
            <phone>1-7345555555</phone>
            <status>ACTIVATED</status>
        </user>
    </loginProtectListUser>
</SiteLockOnlineResponse>

Error response

<SiteLockOnlineResponse>
    <loginProtectListUser>
        <error code="NNNN">Error Msg…XXXX</error>
    </loginProtectListUser>
</SiteLockOnlineResponse>