To sign up a sub user on your account, you'll need to provide Encoding.com with a few pieces of information on the sub user.
<?xml version="1.0"?> <query> <!-- Main fields --> <userid>[UserID]</userid> <userkey>[UserKey]</userkey> <action>AddSubUser</action> <user_data> <email>[Email]</email> <login>[Login]</login> <password>[Password]</password> <first_name>[FirstName]</first_name> <last_name>[LastName]</last_name> <phone>[Phone]</phone> </user_data> </query>
You'll receive the following response back from the system once the user has been created:
<?xml version="1.0"?> <response> <action>addsubuser</action> <status>Success</status> <result> <plan>Max</plan> <user_id>New_UserID</user_id> <user_key>Unique_subaccount_API_key</user_key> <message>The new sub user has been created</message> </result> </response>