Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedAgent setupWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference
Skills for agents

REST API

Quick start
Transactional Emails
postSend Transactional EmailgetList Transactional EmailsgetGet Transactional Email
Email MarketingTransactional Emails

Send Transactional Email

View as MarkdownAgent setup

Sends caller-provided HTML to one recipient using a verified project domain. The returned ID identifies the send in the transactional email log.

POST
/projects/{projectId}/transactional-emails

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

categorystring

Optional label for filtering sends, such as password-reset.

fromrequiredstring

Sender address on a verified project domain.

Format: email
fromNamestring
htmlrequiredstring

The complete HTML to send, generated by your application.

idempotencyKeystring

Reuse the same key and body when retrying one send.

subjectrequiredstring
textstring

Optional plain-text alternative.

torequiredstring

One recipient email address.

Format: email

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/projects/string/transactional-emails" \  -H "Content-Type: application/json" \  -d '{    "from": "user@example.com",    "html": "string",    "subject": "string",    "to": "user@example.com"  }'
{  "id": "string"}

Transactional Emails

Set up transactional emails and send them from your application backend.

List Transactional Emails

Lists transactional sends for this project and returns delivery and engagement counts for the full filtered result.