Emails
| To | Status | Subject | Sent |
|---|
Loading emails…
Your transactional email workspace.
By continuing, you agree to use StalSend for transactional email requested by your customers.
| To | Status | Subject | Sent |
|---|
Loading emails…
Save reusable designs to your workspace, then place them into a campaign draft.
Choose a starter, edit the email, and save it here for later use.
Complete these steps to prepare your account for email sending.
Checking account status…
Checking sender domain…
Checking API keys…
Checking sending activity…
Setup is complete. Check your activity and recipient inboxes; SMTP acceptance alone does not confirm inbox delivery.
Manage the business name shown in your workspace and in OTP emails sent through your StalSend API.
Current login email:
Rolling 24 hours: attempts leave the window 24 hours after they were made. Failed email submissions also count toward this allowance.
Keys expire after 90 days. Store new keys securely: each key is shown only when created.
Test keys start with st_. They accept email send and batch requests but never deliver emails or count toward billing. They cannot call OTP, automation, marketing, or other live APIs.
Recorded API events. A send event does not confirm delivery to a recipient’s inbox.
3,500 email sends are free each month. After that, emails cost ₦300 per 1,000 from your wallet.
Monthly usage: loading…
Wallet balance: loading…
Wallet funds do not expire. Sending pauses when your free allowance and wallet balance are used.
Verify a domain you control, then choose the address customers see, such as hello@your-domain. StalSend signs messages with DKIM. One sender domain is supported per account.
Add both TXT records at your DNS provider exactly as shown.
Use your API key as a Bearer token from your backend. Never expose it in a public website or mobile app.
API base:
Read the integration guide below. Use the sender-domain card to verify your From domain.
Start a workflow when your application sends an event. Each workflow can send an email, wait, or branch on event data. Use this for transactional or permissioned customer messages; keep marketing consent requirements in place.
Branch step numbers start at 0. Use email, event, or data.field in a branch, with exists, equals, or not_equals. Placeholders such as {{data.firstName}} work in email subject and body. A workflow must have an active API key and verified sender domain to deliver.
Receive emails on a dedicated subdomain and forward parsed messages to your HTTPS webhook. Use a subdomain such as inbound.example.com; this does not change your normal mailbox MX records.
Messages are available here for up to 7 days.
Create newsletters, changelogs, and product announcements with the visual editor, or create, queue, and schedule broadcasts from your backend using the Broadcast API. Only consented subscribers are eligible; live sending stays behind the separate marketing delivery readiness checks.
Checking marketing delivery readiness…
Upload a CSV with an email column. Up to 1,000 unique addresses per upload.
Choose a CSV file to preview addresses.
Start with a template, format visually, and preview before saving your draft.
Or continue with the simple visual editor below.
You can format the message without writing HTML. StalSend removes unsafe markup before saving.
Schedule a saved draft using a date/time or phrases such as “tomorrow at 9 AM” and “in 2 hours.” Use an IANA time zone; your browser’s zone is filled in automatically.
Send signed email status events to your HTTPS endpoint. “Sent” means the sending server accepted the message. Delivery, opens, and clicks depend on provider reports and recipient email-client behavior. Open and click tracking is optional and applies to HTML transactional and marketing emails.
Email can be sent after your account is approved and sender domain is verified. SMTP acceptance does not guarantee inbox delivery.
Use an approved account and an active API key from this dashboard. Keys expire after 90 days. Store your key in a server environment variable named STALSEND_API_KEY; never send it to a browser or mobile app, commit it to source control, or include it in logs. These examples run on your backend or in a Bash terminal with curl.
Base URL: https://api.stalsend.com/api/v1. All requests below require Authorization: Bearer YOUR_API_KEY. Portal sign-in tokens cannot authenticate these endpoints.
Generate a unique, unpredictable context for each authentication operation and keep it on your server with the intended user and purpose. It must contain 16–128 letters, digits, underscores or hyphens. Allowed purposes: login, email_verification, password_reset, payout_change. The context below is an example; generate a fresh value in your application.
curl -i https://api.stalsend.com/api/v1/otp/send \
-H "Authorization: Bearer $STALSEND_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"email":"customer@example.com","purpose":"login","context":"example_operation_1234567890"}' HTTP 202 returns a challengeId (UUID), expiresAt (UTC), resendAfterSeconds (60), and status (accepted). Save the challengeId on your server. Codes have six digits and expire 10 minutes after creation. Acceptance means your SMTP server accepted the message; it does not confirm receipt or inbox placement.
Use the saved challengeId and exactly the original purpose and context. Keep the code as a string to preserve leading zeros. Replace the example UUID and code with the values from your operation.
curl -i https://api.stalsend.com/api/v1/otp/verify \
-H "Authorization: Bearer $STALSEND_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"challengeId":"11111111-1111-4111-8111-111111111111","code":"012345","purpose":"login","context":"example_operation_1234567890"}' HTTP 200 returns verified: true, challengeId, purpose and context. Only then should your backend complete the matching operation. Each challenge succeeds once. Wrong codes or mismatched purpose/context consume a verification attempt; five failures lock the challenge. Expired, consumed, replaced or invalid challenges return HTTP 400.
curl -i https://api.stalsend.com/api/v1/otp/resend \
-H "Authorization: Bearer $STALSEND_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"challengeId":"11111111-1111-4111-8111-111111111111"}' Wait at least 60 seconds between submissions to the same recipient. Resending keeps the same challengeId, changes the code, and invalidates the previous code. It does not extend expiry or reset failed verification attempts. Each challenge allows three submissions total: the original plus two resends. A fresh send with the same email, purpose and context replaces the earlier active challenge.
curl -i https://api.stalsend.com/api/v1/usage \
-H "Authorization: Bearer $STALSEND_API_KEY"The response includes window (rolling_24_hours), sendLimit, sendReservations, remaining, smtpAccepted, deliveryFailures and verified. Submitted attempts, including SMTP failures and resends, consume allowance. These counts describe submissions and verification activity, not billable charges or confirmed delivery.
Use this server-side endpoint for transactional email. Verify your sender domain first. Each request sends to one recipient; the sender address selected in your verified-domain settings is used automatically. Provide plain text or HTML, up to three file attachments, and up to three inline images. Each file is limited to 4 MiB and all attachments plus inline images together are limited to 6 MiB. Supported attachment types are PDF, plain text, CSV, ZIP, DOCX, XLSX, PPTX, JPEG, PNG and GIF. Inline images support JPEG, PNG and GIF. Reference an inline image in HTML with src="cid:logo", matching its contentId.
Give each logical email operation a random Idempotency-Key. If a request times out, retry with the same key and identical content. StalSend returns the existing request state instead of sending a duplicate. Never put your API key in a browser or mobile app.
curl -i https://api.stalsend.com/api/v1/email/send \
-H "Authorization: Bearer $STALSEND_API_KEY" \
-H "Idempotency-Key: order-15-shipped-random-value" \
-H "Content-Type: application/json" \
-d '{"to":"buyer@example.com","subject":"Your order has shipped","text":"Your order is on its way.","html":"<p>Your order is on its way.</p><img src=\"cid:logo\" alt=\"Logo\">","attachments":[{"filename":"invoice.pdf","contentType":"application/pdf","contentBase64":"JVBERi0xLjQK..."}],"inlineImages":[{"contentId":"logo","filename":"logo.png","contentType":"image/png","contentBase64":"iVBORw0KGgo..."}]}'Each item has its own idempotency key. The response reports each item separately; normal per-recipient, per-minute, and daily limits still apply, so a batch can contain both accepted and rejected results.
curl -i https://api.stalsend.com/api/v1/email/batch \
-H "Authorization: Bearer $STALSEND_API_KEY" \
-H "Content-Type: application/json" \
-d '{"messages":[{"idempotencyKey":"order-15-shipped-00000001","to":"buyer@example.com","subject":"Your order shipped","text":"Your order is on its way."},{"idempotencyKey":"order-16-shipped-00000001","to":"buyer2@example.com","subject":"Your order shipped","text":"Your order is on its way."}]}'Use an explicit ISO-8601 timestamp or natural-language phrase such as tomorrow at 9 AM or in 2 hours. Include an IANA time zone for local phrases; without one, UTC is used. Schedules can be up to 365 days ahead. The message body is encrypted while stored for delivery. Check status with GET /api/v1/email/scheduled/SCHEDULE_UUID.
curl -i https://api.stalsend.com/api/v1/email/schedule \
-H "Authorization: Bearer $STALSEND_API_KEY" \
-H "Idempotency-Key: order-15-followup-00000001" \
-H "Content-Type: application/json" \
-d '{"sendAt":"tomorrow at 9 AM","timeZone":"Africa/Lagos","message":{"to":"buyer@example.com","subject":"Checking in","text":"Your order arrived safely?"}}'Connect an existing server-side mail client with these settings. SMTP uses a customer API key for authentication; keep it in your application's secret store.
| Setting | Value |
|---|---|
| Host | smtp.stalsend.com |
| Port | 587 |
| Security | STARTTLS required (TLS 1.2+) |
| Username | stalsend |
| Password | Your active StalSend customer API key |
StalSend sends from the sender address selected in your verified-domain settings. An SMTP From header does not override it. A successful SMTP acceptance does not prove inbox delivery.
Official SDK source archives are available for Node.js/TypeScript, Python, Ruby, Go, Rust, PHP, Java, .NET, and Elixir. Package-manager releases are not published yet. The SDKs support single sends, batch sends, usage, and email-log access. The Node.js client also includes scheduling and OTP helpers. Download a language package:
The StalSend CLI supports send, batch, logs, and usage. Set STALSEND_API_KEY in the server shell environment; never pass it as a command-line argument. See the included CLI README for install steps and examples.
Use GET /api/v1/email/logs with your customer API key to read tenant-scoped transactional message metadata. It returns recipient, subject, status, and timestamps, not message bodies, OTP codes, or attachments. Query parameters are limit (1–100), cursor, status, and q (recipient or subject). The response includes data, hasMore, and nextCursor. Pass nextCursor back as cursor for the next page.
curl -i "https://api.stalsend.com/api/v1/email/logs?limit=20&status=SMTP_ACCEPTED" \
-H "Authorization: Bearer $STALSEND_API_KEY"Errors return JSON such as {"error":"invalid_challenge_or_code"}.
Limits apply across all keys for your company: one send per recipient per 60 seconds, five per recipient per hour, 60 company sends per minute, and 120 verification attempts per minute. Your configured rolling 24-hour allowance also applies. Add your own per-user limits and bind operations to the correct account. Do not log API keys or codes, and use transactional messages requested by your users.
Call these endpoints from your backend with an active customer API key. Never expose the key in a browser or mobile app. Broadcast sends use your marketing contact list and only eligible subscribers who have recorded consent.
curl -s https://api.stalsend.com/api/v1/marketing/lists \
-H "Authorization: Bearer $STALSEND_API_KEY"curl -i https://api.stalsend.com/api/v1/marketing/broadcasts \
-H "Authorization: Bearer $STALSEND_API_KEY" \
-H "Content-Type: application/json" \
-d '{"listId":"LIST_UUID","name":"November product update","subject":"What’s new this month","text":"Your update in plain text.","html":"<h2>What’s new</h2><p>Your update here.</p>"}'HTTP 201 returns a broadcastId and status: DRAFT. HTML is sanitized with a safe formatting allowlist.
curl -i -X POST https://api.stalsend.com/api/v1/marketing/broadcasts/BROADCAST_UUID/send \
-H "Authorization: Bearer $STALSEND_API_KEY"curl -i -X POST https://api.stalsend.com/api/v1/marketing/broadcasts/BROADCAST_UUID/schedule \
-H "Authorization: Bearer $STALSEND_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sendAt":"tomorrow at 9 AM","timeZone":"Africa/Lagos"}'Use ISO-8601 or natural-language phrases such as tomorrow at 9 AM and in 2 hours. The time zone defaults to UTC and schedules are limited to 365 days ahead. Scheduled broadcasts send only after the separate marketing relay, domain, DKIM, feedback, and dedicated-IP readiness checks are complete. Unsubscribed, suppressed, and unconfirmed contacts are skipped.
curl -i -X POST https://api.stalsend.com/api/v1/marketing/broadcasts/BROADCAST_UUID/send \
-H "Authorization: Bearer $STALSEND_API_KEY"HTTP 202 means eligible recipients were queued.