If you have your own system and would like to check if a user name is available in order to create a new user with this user name, we have just created an API allowing you to do just that. This API is for server to server communication, in case you have your own CRM system or something similar to manage your customer base.
- Parameters (All are mandatory)
Parameter Name (Case Sensitive) |
Value |
Description |
Default Value |
user |
Admin’s username |
The admin’s username that matches the api_id |
|
api_id |
Admin’s Api Id |
The admin’s api_id that matches the username |
Generated from edit profile |
new_user_name |
Advertiser’s username |
The new user name to check |
|
- Return Code
- If the API succeeds then it will return with status code 200 with the following message:
- "User name is available"
- If an error occurs or there is an invalid parameter then it returns with status code 400 or 500 with an error message in the response.
Example:
https://mcpn.us/api?ev=usernameAvailabilty&user=adminuser&api_id=A1H444h07FhB65dn&new_user_name=jsmith@gmail.com
Comments
0 comments
Article is closed for comments.