Actions138
- Account Actions
- Contact Actions
- List Actions
- Campaign Actions
- Webhook Actions
- Segment Actions
- Report Actions
- Email Actions
- Custom Attribute Actions
- Sender Actions
- Template Actions
- Sub-Account Actions
- Log Actions
- User Actions
- Domain Actions
- DKIM Actions
- Form Actions
- Token Actions
- Interest Actions
- Tags Actions
- Suppressed Email Actions
- Links Actions
Token → Create
AI-generatedSummary
Creates a new authentication token for a Cakemail account.
Inputs
- email (required) — Cakemail account email.
- password (required) — Cakemail account password.
- accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
Output shape
a token object containing access and refresh tokens
Returns an object with access and refresh tokens upon successful creation.
Examples
Example 1: Create a token for a Cakemail account with valid credentials
Set the email and password parameters to the appropriate values.
Example 2: Create a token for a specific account in a multi-tenant setup
Provide an email, password, and accountId to target a specific account.