ApiKey::generateApiKey Method

Generates an API key for the specified account user.

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

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

NetworkId UrlNetwork ID
NetworkToken StringNetwork token
Target StringThis calls action target
Method StringThis calls action method
user_type StringType of account user; currently only supports "affiliate"
user_id IntegerID of Account user object (i.e. affiliate_user_id).

POST 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 [email protected] for technical support.