Generate new API key | Documentation | WHOIS API | WhoisXML API

Generate new API key

API endpoint

GET https://user.whoisxmlapi.com/user-service/api-key/generate?currentApiKey=API_KEY
Don't forget to re-login to reflect the newly generated API key on the website after the API call.
currentApiKey

Required. Get your personal API key on the My products page.

outputFormat

Optional. Response output format.

Acceptable values: JSON | XML

Default: JSON

Output format

{
   "apiKey": "at_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}

Output parameters

apiKey
Generated API key.

Error codes

400 Bad Request
The API key you entered does not exist or is no longer active.
422 Unprocessable Entity
Input correct request parameters.