Send email template test

Changed on

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Sends you a test copy of an email template. The subject is the template's <title>, or its name when it has none, with [Test] in front. {{variable}} placeholders are sent as written.

The test goes only to the email address of the user your credential belongs to. You can't choose another recipient.

This is limited to 5 requests per minute per app for each workspace's personal API keys, so every key in a workspace shares one allowance. Some workspaces have a different limit.

<Note>This endpoint accepts a personal API key belonging to a user with editor access to the app. A read-only key is refused, and workspace API keys are not accepted.</Note>

post/api/apps/{app_id}/emails/{template_id}/test

Request

  • Base URL: https://app.base44.com
  • URL: https://app.base44.com/api/apps/{app_id}/emails/{template_id}/test
  • Auth: HTTP bearer

Path parameters

app_idstring required

ID of the app the emails belong to.

template_idstring required

ID of the email template to send. Get it from id in List email templates.

Response

The test was sent.

sent_tostring required

The address the test went to: the email address of the user the credential belongs to.

Example response

{
  "sent_to": "dana@acme.com"
}

Changes