ApiKey::generateApiKey Method

Generates an API V3 Key for the specified account user.

If the network requires approval, key status defaults to "pending".
If network has automatic approval, status defaults to"active".

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken String Network token
Target String This calls action target
Method String This calls action method
user_type String Type of account user; currently only supports "affiliate"
user_id IntegerID of Account user object (i.e. affiliate_user_id).

GET Response Notes

A model containing the key details.

Return response will be in the following format: ApiLibraryModelAuthenticationStaticApiKey.

API Call Builder

Javascript is required to use the API Call Builder.
Have a Question? Please contact support@tune.com for technical support.