This function is only available for users with custom API keys.
Please contact us if you are interested in this feature.

Create User

This function works the same way as the create user function on the Keyword Research website. The function is only accessible by users having a valid seokey.
The query string containing the user credentials is sent to the server which validates all the submitted parameters and creates the user.

An example script to create a user via api is displayed below:
https://api.keyworddiscovery.com/create_user.php?u=apifreeuser&password=pass&email=email@address.com&paid_by=end_user&seokey=yes

If your seokey is cA34kdfd, the example query will be:
https://api.keyworddiscovery.com/create_user.php?u=apifreeuser&password=pass&email=email@address.com&paid_by=end_user&cA34kdfd=yes

Parameters:

Username (required)
Parameter name: username
Aliases: u, un, uname
Description: The username for new user.

Example parameter highlighted in bold.
Following queries return the same results.

https://api.keyworddiscovery.com/create_user.php?u=apifreeuser&password=pass&email=email@address.com&paid_by=end_user&seokey=yes
https://api.keyworddiscovery.com/create_user.php?un=apifreeuser&password=pass&email=email@address.com&paid_by=end_user&seokey=yes
https://api.keyworddiscovery.com/create_user.php?uname=apifreeuser&password=pass&email=email@address.com&paid_by=end_user&seokey=yes
https://api.keyworddiscovery.com/create_user.php?username=apifreeuser&password=pass&email=email@address.com&paid_by=end_user&seokey=yes

Password
Parameter name: password
Aliases: p, pass
Description: The password for the new user.

Example parameter highlighted in bold.
Following queries return the same results.

https://api.keyworddiscovery.com/create_user.php?u=apifreeuser&password=pass&email=email@address.com&paid_by=end_user&seokey=yes
https://api.keyworddiscovery.com/create_user.php?u=apifreeuser&pass=pass&email=email@address.com&paid_by=end_user&seokey=yes
https://api.keyworddiscovery.com/create_user.php?u=apifreeuser&p=pass&email=email@address.com&paid_by=end_user&seokey=yes

Email (required)
Parameter name: email
Aliases: e
Description: The email for the new user.

Example parameter highlighted in bold.
Following queries return the same results.

https://api.keyworddiscovery.com/create_user.php?u=apifreeuser&password=pass&e=email@address.com&paid_by=end_user&seokey=yes
https://api.keyworddiscovery.com/create_user.php?u=apifreeuser&password=pass&email=email@address.com&paid_by=end_user&seokey=yes

Referral id
Parameter name: referral_id
Aliases: ref_id
Description: Specifies the referral id for the newly created user. Essential when end user pays for their access.

https://api.keyworddiscovery.com/create_user.php?u=apifreeuser&password=pass&email=email@address.com&paid_by=end_user&seokey=yes&ref_id=100

Unique id
Parameter name: unique_id
Aliases: ui, un_id
Description: Specifies a unique id to be set for the newly created user. Username is used as unique id if this parameter is not specified.

https://api.keyworddiscovery.com/create_user.php?u=apifreeuser&password=pass&email=email@address.com&paid_by=end_user&seokey=yes&un_id=freeuser1

Renew
Parameter name: renew
Aliases: r
Description: This option specifies the renew parameter to be set for the paid seat user. If this parameter is not set, default is set to true.
Values: 't' or 'f'

https://api.keyworddiscovery.com/create_user.php?u=apifreeuser&password=pass&email=email@address.com&paid_by=end_user&seokey=yes&ref_id=100&renew=f

Domains (required for creating CI API paid seat accounts)
Parameter name: domains
Aliases: d, domain
Description: The domains the API seat account will be subscribed to. A single seat account can subscribe to more than one domain.
Only the domain itself is required, no https:// or www. prefix. Multiple domains are seperated by %0D%0A

https://api.keyworddiscovery.com/create_user.php?u=apifreeuser&password=pass&email=email@address.com&paid_by=api_ci&seokey=yes&d=www.trellian.com%0D%0Atest.com%0D%0Anext.com

Paid_by (required)
Parameter name: paid_by
Aliases: pb
Description: This option specifies who is going to pay for access for the newly created user.

The paid_by parameter accepts the following values

End_user
Value name: end_user
Aliases: e, eu
Description: The end user pays for access. Ensure you also include the referral id.

https://api.keyworddiscovery.com/create_user.php?u=apifreeuser&password=pass&email=email@address.com&paid_by=end_user&seokey=yes&ref_id=100

Api_free
Value name: api_free
Aliases: f, af, free
Description: Free trial account.

https://api.keyworddiscovery.com/create_user.php?u=apifreeuser&password=pass&email=email@address.com&paid_by=api_free&seokey=yes

Api_kd
Value name: api_paid_kd
Aliases: api_kd
Description: API Seat account with full KD only access. The Master account pays for the access.

https://api.keyworddiscovery.com/create_user.php?u=apipaidkduser&password=pass&email=email@address.com&paid_by=api_kd&seokey=yes

Api_ci
Value name: api_paid_ci
Aliases: api_ci
Description: API Seat account with full CI only access. The Master account pays for the access. Need to specify domain when this option is specified. Only the domain itself is required, no https:// or www. prefix. Multiple domains are seperated by %0D%0A

https://api.keyworddiscovery.com/create_user.php?u=apipaidciuser&password=pass&email=email@address.com&paid_by=api_ci&seokey=yes&domain=trellian.com

Api_full
Value name: api_paid_full
Aliases: api_full
Description: API Seat account with full KD and CI access. The Master account pays for the access. Need to specify domain when this option is specified. Only the domain itself is required, no https:// or www. prefix. Multiple domains are seperated by %0D%0A

https://api.keyworddiscovery.com/create_user.php?u=apipaidfulluser&password=pass&email=email@address.com&paid_by=api_full&seokey=yes&domain=trellian.com




< Support | View User >