Both self-hosted Mailcoach and Mailcoach Cloud offer https://mailcoach.app/docs/cloud/using-mailcoach/using-the-api/introduction to integrate Mailcoach's functionalities in your app. To hit the ground running, we now offer a https://github.com/mailcoach-sdk-php and a https://github.com/spatie/laravel-mailcoach-sdk to use our API easily.

You can find both the API key and the Mailcoach API endpoint in the "API Tokens" screen of the Mailcoach settings. Most endpoints of our API require a UUID to fetch subscribers, email lists, and campaigns.

Adding a subscriber to an email list is easy: $mailcoach->createSubscriber([ 'email_list_uuid' => ' ', 'email' => 'john@example', ]); Here is how to get the details of an email list: $emailList = $mailcoach->emailList('
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners