How to Get API Key in Magento?

The Magento web API framework provides integrators and developers the means to use web services that communicate with the Magento system.

To access Magento web API, we need of Magento User Name and Api Key.

By default, there is neither API user nor API role in Magento, so we need to configure both firstly.

Logging into Magento Admin

Login to Magento admin and go to System -> Web Services -> SOAP/XML - RPC Roles


Create New API Role

The page has lists of roles, you can create new role also.

Provide API Role information as follow.

Allow users to access resources as follow


Create New API User

Now we need to create User, go to System -> Web Services -> SOAP/XML - RPC Users

Provide user information here. Please remember provided User Name and API Key for future use.

Assign role to user as follow.


Join our Newsletter

Never miss the latest offers, voucher codes and useful articles delivered weekly in your inbox.