No results...

Where to find the MailerLite API key, Group ID, and documentation

Don't know which version of MailerLite you're using? Click here to find out!

API (application-programming interface) is code that sends information back and forth between two places. For example, you would use API to automatically send subscribers from your WordPress forms to your MailerLite email list. 

This communication is triggered by API calls. If one program requests information from another (i.e makes an API call) then your trusty API goes to fetch the data for you.

API connection allows data to be automatically exchanged and updated at any given time.

MailerLite uses API to receive and send data to other applications, so you can transfer information and connect to other apps. For example, a customer who purchases a product in Shopify can be brought over to MailerLite as a subscriber using our Shopify integration. Using your unique account API token, you can choose from over 100 pre-developed integrations with MailerLite. 

API connections to other apps can also be made using our integration with Zapier. Our API documentation is also available to anyone, and can be used to build custom integrations. 

  1. Head to the Integrations page, which you can find on the lefthand sidebar.

  2. Click the Use button under MailerLite API.

  1. Click Generate new token.

4. Name the token. This can be any name so you can easily recognize what the token is being used for. For example, if you are creating an API token to use for our Shopify integration, you can add the word “Shopify” here.

5. Click Create token

6. Copy the key that is shown, or click Download to save the key as a TXT file.

On the Developer API page, you will find all the information you need regarding our API documentation. This includes:

  • Our API Reference which provides access to MailerLite JSON API. Here you can find all of the information for developing your own integration. 

  • Webhooks

Limited support! Our support team is ready to assist with questions regarding MailerLite native integrations, however we do not offer support for custom API setups or third-party integrations.

You may need your Group ID for various API calls. Each individual group in your account will have a different identification number. To locate the Group IDs for your account:

  1. Navigate to the Integrations tab.

  2. Go to MailerLite API 

  3. Next to API, click Use.

  1. Scroll down to the Groups section to find the Group IDs for the groups in your account.

Group IDs can also be located using the API call to list all groups. The IDs for each list can be found in the response.

API (application-programming interface) is code that sends information back and forth between two places. For example, you would use API to automatically send subscribers from your WordPress forms to your MailerLite email list.

This communication is triggered by API calls. If one program requests information from another (i.e makes an API call) then your trusty API goes to fetch the data for you.

API connection allows data to be automatically exchanged and updated at any given time.

MailerLite uses API to receive and send data to other applications, so you can transfer information and connect to other apps. For example, a customer who purchases a product in Shopify can be brought over to MailerLite as a subscriber using our Shopify integration. API connections to other apps can also be made using our integration with Zapier. Using your unique account API token, you can choose from over 100 pre-developed integrations with MailerLite. 

Our API documentation is also available to anyone, and can be used to build custom integrations.

  1. Use the right-hand dropdown menu to navigate to Integrations.

  1. Click the Use button next to Developer API.

Your unique API key will be displayed.

On the Developer API page, you also will find all the information you need regarding API including:

  • The Mailerlite API key - unique to your account, used for integrations

  • Access to API documentation - view our API documentation for all the information available for developing your own integration

  • Subscriber Group ID -  Under Subscriber groups you will find a list of your existing subscriber groups in MailerLite and their unique IDs

  • An example with PHP - you can find more examples in our API documentation

Group IDs can also be located using the API call to list all groups. The Group IDs for each list can be found in the response.

Stop War! Help Ukraine! See what you can do