API Documentation

Everything you must know in one place


Validates the username and password of user accounts you have created using the API command namecheap.users.create. You cannot use this command to validate user accounts created directly at namecheap.com

NOTE: Use the global parameter UserName to specify the username of the user account.

Example Request


Request Parameters

Global parameters are not shown here for clarity, but should be present in all requests

Name Type MaxLength Required? Description
Password String 20 Yes Password of the user account

Example Response

<?xml version="1.0" encoding="utf-8"?>
<ApiResponse Status="OK">
<CommandResponse Type="namecheap.users.login">
<UserLoginResult UserName="user123" LoginSuccess="true"/>

Response Parameters

Name Description
Username Indicates the username of the user account
LoginSuccess Indicates whether the login was successful

Error Codes

Specifies the error codes that might be returned from this method

Number Description
2011335 Parameter Password is missing
2019166 UserName is not available
2010335 Invalid password
2017166 User is disabled or locked
2013410 Too many declined payments
2017289 Parameter IP Blocked
2011166 UserName is invalid
5050900 Unknown exceptions


We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.

If you need specific help with your account, feel free to contact our Support Team. Thank you.

Need help? We're always here for you.

× Close