Use the Cakemail connector to create and automate email campaigns.
Integrating your application with Cakemail lets you use these operations in an automation. It exposes 6 actions, listed below. Add the connector from the Connections area, authenticate, then select its operations in the automation builder. Capabilities: actions.
Authentication
Before you begin, make sure you have the following information:
Connection Name: Choose a meaningful name for your connection. This name helps you identify the connection within your application or integration settings.
Authentication Type: Cakemail supports Client credentials authentication.
Obtaining Your Access Token
Log in to your Cakemail account (sign up at cakemail.com first if you don't have one).
Cakemail does not require you to generate a separate API key — your account email and password serve as your API credentials.
Send a POST request to
https://api.cakemail.dev/tokenwithgrant_type=passwordand your account email and password to request an access token.Copy the
access_tokenandrefresh_tokenvalues returned in the response and store them securely.Before the access token expires (tokens are valid for 5 days), use the
refresh_tokento request a new one from the same endpoint.
Authentication & setup
OAuth 2.0 Authentication
Obtain access token using Cakemail credentials (username and password)
Call the Create Token endpoint to get a short-lived access token
Use Refresh Token endpoint to obtain a new token when expired
Include Bearer token in Authorization header for all API calls
Tokens are private and must be stored securely
Actions
Action Name | Description |
|---|---|
Add contact | Adds a contact in Cakemail |
Add suppressed email | Adds a suppressed email in Cakemail |
Get lists | Gets lists in Cakemail |
List contacts | Lists contacts in Cakemail |
Unsubscribe contact | Unsubscribes a contact in Cakemail |
Update contact | Updates a contact in Cakemail |
About the API
Cakemail provides a comprehensive email platform API for building campaigns, managing contacts, and automating workflows. The API exposes multiple services: Authentication, Marketing, Contact, Transactional, Analytic, Content, Account, and Partner. Next-gen APIs are based on OpenAPI specifications, giving developers access to all parameters and paths for easy integration. Base URL: https://api.cakemail.dev. The platform supports both transactional and marketing email operations with full workflow automation capabilities.