All API calls require authentication. This is essential for security reasons, but also for the API to identify the user who is making the call so that appropriate results are returned. You achieve authentication through the use of an API key. Your Moosend account comes with a unique API key which gives it full access to your account. You must keep your API key secure to avoid any unauthorized external access to your account.
A. Using the API key
The API key associated to your account enables you to connect Moosend with your favorite apps and/or your own applications. For example, you can integrate with Zapier, Optimonk, MailOptin, and so on.
Through API calls, you can also create GET or POST requests for mailing lists, members, and campaigns in your Moosend account. In every API call, you must your API key as the apikey
parameter in the query string of the request URL as shown below:
https://api.moosend.com/v3/campaigns/create.xml?apikey=01234567-89ab-cdef-0123-456789abcdef&format=xml
For detailed information on how to use the Moosend API, see our API documentation.
B. Get your API key
Moosend provides your account with an API key to authenticate your API requests. You can find your API key in your account settings.
To get your API key:
- In the top navigation bar, click
and click Settings.
- In the menu on the left, click the API Key tab.
- Click Copy to copy your API key.
C. Generate a new API key
It is important that you keep your API key secure to prevent any unauthorized access to your account. You can generate a new API key if your account gets compromised.
To generate a new API key:
- In the top navigation bar, click
and click Settings.
- In the left menu, click the API Key tab.
- Click Generate New API Key.