Authenticate a Moosend API request
Overview of the authentication process and how to get your API key from your Moosend account.
All Moosend API requests are authenticated by providing your API key. Moosend provides your account with a unique key that can be found in your settings.
To get your API key:
Log in to your account.
On the menu bar, click More > Settings.
Click API key.
To copy your API key, click Copy.
Important
You must keep your API key secure to prevent any unauthorized access to your account. You can click Generate new API key to create a new API key if your account gets compromised.
When you obtain your API key, you can begin making calls to the Moosend API. The API key is a required query parameter in all API endpoints.
For example, if your API key is bafe55f4-e53e-4651-8164-c6d6ff05081b, then a sample request to get all campaigns looks like the following:
curl --include \
'https://{hostname}/v3/campaigns.{Format}?apikey=bafe55f4-e53e-4651-8164-c6d6ff05081b'