Mailmus

Emails

POST
/apps/{appId}/emails
AuthorizationBearer <token>

In: header

Path Parameters

appId*string

Header Parameters

Idempotency-Key?string

Replay-safe: a retry with the same key returns the original result instead of sending again.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/apps/string/emails" \  -H "Content-Type: application/json" \  -d '{    "to": [      "recipient@example.com"    ],    "from": "hello@yourdomain.com",    "subject": "Welcome, {{first_name}}!"  }'
Empty
POST
/apps/{appId}/emails/batch
AuthorizationBearer <token>

In: header

Path Parameters

appId*string

Header Parameters

Idempotency-Key?string

Replay-safe: a retry with the same key returns the original batch result instead of resending it.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/apps/string/emails/batch" \  -H "Content-Type: application/json" \  -d '{    "emails": [      {        "to": [          "recipient@example.com"        ],        "from": "hello@yourdomain.com",        "subject": "Welcome, {{first_name}}!"      }    ]  }'
Empty
GET
/apps/{appId}/emails/logs/{sendId}
AuthorizationBearer <token>

In: header

Path Parameters

sendId*string
appId*string

Response Body

curl -X GET "https://example.com/apps/string/emails/logs/string"
Empty
GET
/apps/{appId}/emails/logs
AuthorizationBearer <token>

In: header

Path Parameters

appId*string

Query Parameters

status*string
q*string

Response Body

curl -X GET "https://example.com/apps/string/emails/logs?status=string&q=string"
Empty