Cakemail
Cakemail API

Manage the authenticated user's own account. An account represents an organization on the platform with its own contacts, campaigns, and settings. Use these endpoints to view or update account details, address, and domains. To manage sub-accounts under a partner account, see the Sub-Account endpoints.


Show my account details

GET
https://api.cakemail.dev
/accounts/self

Retrieve the full details of the authenticated user's account, including name, address, contact information, usage limits, feature flags, and domain configuration.

Required scope(s): any_authenticated_pat

Show my account details › Responses

Successful Response


Update my account

PATCH
https://api.cakemail.dev
/accounts/self

Update the authenticated user's account. All fields are optional — only provided fields are updated. The address is validated against a geocoding service; if the provided address differs from the geocoded result, warnings with suggested corrections are included in the response.

Required scope(s): account:write

Update my account › Request Body

​object

Mailing address of the account

name
​string

Account display name

​object

User to set as account owner

fax
​string
phone
​string
​object

Custom domain configuration

Default: {}
website
​string · uri · minLength: 1 · maxLength: 2083

Account website URL

Update my account › Responses

Successful Response

​AccountFullResponse · required
​object[]
Default: []

Convert my account to an Organization

POST
https://api.cakemail.dev
/accounts/self/convert-to-organization

Convert the authenticated user's account into an organization. An organization account can create and manage sub-accounts, each with their own users, contacts, and campaigns. This operation is irreversible.

Required scope(s): account:write

Convert my account to an Organization › Responses

Successful Response