Admin_Get_Account_Key(string key, int clientId)

Description

Return the API key for an account, or create one if one doesn’t already exist and the username is not specified.

Parameter Type Required Description
key string Yes
Your API key – used to authenticate your account
clientId int Yes
The account ID number for which you want the API key
optionalParameters[username] string No
The username for which you would like the API key. If not specified, the key will be created for the account’s default user.
Call (GET)
https://api.surveytown.com/2/REST/?method=Admin_Get_Account_Key&key=YOUR_API_KEY&optionalParameters[username]=steve
Response