# Torpedo - [Introduction](https://torpedo.co.mz/docs/introduction.md): Transactional email, SMS and WhatsApp verification API for developers - [Quickstart](https://torpedo.co.mz/docs/quickstart.md): Send your first email in under 5 minutes - [Authentication](https://torpedo.co.mz/docs/authentication.md): How API key authentication works in Torpedo - [Errors](https://torpedo.co.mz/docs/errors.md): Error response format and HTTP status codes - [MCP server](https://torpedo.co.mz/docs/mcp-server.md): Give your AI coding assistant live access to Torpedo's documentation - [TypeScript SDK](https://torpedo.co.mz/docs/guides/typescript-sdk.md): Send email and SMS and verify phone numbers from TypeScript with torpedo-sdk - [Java SDK](https://torpedo.co.mz/docs/guides/java-sdk.md): Send email and SMS and verify phone numbers from Java 17 with the official Torpedo SDK - [Verify a domain](https://torpedo.co.mz/docs/guides/verify-domain.md): Set up DNS records and verify your sending domain - [Send an email](https://torpedo.co.mz/docs/guides/send-email.md): Everything you need to know about sending emails with Torpedo - [Send emails in batch](https://torpedo.co.mz/docs/guides/batch-emails.md): Queue multiple emails in a single API call with POST /api/v1/emails/batch - [Webhooks](https://torpedo.co.mz/docs/guides/webhooks.md): Receive real-time delivery events from Torpedo - [Manage suppressions](https://torpedo.co.mz/docs/guides/manage-suppressions.md): Understand and manage the suppression list - [Send an SMS](https://torpedo.co.mz/docs/guides/send-sms.md): Send transactional SMS messages to Mozambican numbers with Torpedo - [SMS credits](https://torpedo.co.mz/docs/guides/sms-credits.md): How SMS credits work, pricing tiers, and how to top up your balance - [Verify phone numbers on WhatsApp](https://torpedo.co.mz/docs/guides/whatsapp-verify.md): Send one-time codes over WhatsApp, with optional SMS fallback, and check them with Torpedo Verify - [List API keys](https://torpedo.co.mz/docs/api-reference/api-keys/list-api-keys.md): Returns all active API keys for the workspace. Plain keys are never returned. - [Revoke API key](https://torpedo.co.mz/docs/api-reference/api-keys/revoke-api-key.md): Permanently revokes an API key. The key cannot be restored. - [List domains](https://torpedo.co.mz/docs/api-reference/domains/list-domains.md) - [Add domain](https://torpedo.co.mz/docs/api-reference/domains/add-domain.md): Registers a sending domain and returns DNS records to add. Add the DKIM, SPF, and DMARC records to your DNS provider, then call `POST /api/v1/domains/{id}/verification-checks` to confirm the SES identity. Amazon SES verifies DKIM for the identity, but DMARC must be published by you in DNS. - [Get domain](https://torpedo.co.mz/docs/api-reference/domains/get-domain.md): Returns domain details including current DNS record status. - [Delete domain](https://torpedo.co.mz/docs/api-reference/domains/delete-domain.md): Removes the domain from Torpedo and AWS SES. - [Check verification status](https://torpedo.co.mz/docs/api-reference/domains/check-verification-status.md): Triggers an immediate check against AWS SES. If your DNS records have propagated, the domain status will update to `verified`. - [Send emails in batch](https://torpedo.co.mz/docs/api-reference/emails/send-emails-in-batch.md): Queues up to N emails (plan-dependent) in a single request. All emails are validated before any are queued — if any check fails the entire request is rejected. Returns an array of `{ id, status }` per email in the same order as the input. - [List emails](https://torpedo.co.mz/docs/api-reference/emails/list-emails.md) - [Send email](https://torpedo.co.mz/docs/api-reference/emails/send-email.md): Queues an email for delivery. Returns `202 Accepted` immediately — delivery is asynchronous. Use webhooks or poll `GET /api/v1/emails/{id}` for status. - [Get email](https://torpedo.co.mz/docs/api-reference/emails/get-email.md): Returns full email details including HTML/text body and delivery status. - [List webhooks](https://torpedo.co.mz/docs/api-reference/webhooks/list-webhooks.md): Returns all registered webhooks. Signing secrets are never returned. - [Create webhook](https://torpedo.co.mz/docs/api-reference/webhooks/create-webhook.md): Registers an HTTPS endpoint to receive event notifications. The `signingSecret` is returned **once only** — use it to verify the `X-Signature` header on incoming requests (HMAC-SHA256). - [Delete webhook](https://torpedo.co.mz/docs/api-reference/webhooks/delete-webhook.md) - [List delivery attempts](https://torpedo.co.mz/docs/api-reference/webhooks/list-delivery-attempts.md): Returns the delivery history for a webhook endpoint. - [Get workspace usage](https://torpedo.co.mz/docs/api-reference/workspace/get-workspace-usage.md): Returns current usage counts and plan limits for the authenticated workspace. - [List SMS messages](https://torpedo.co.mz/docs/api-reference/sms/list-sms-messages.md): Returns a paginated list of SMS messages sent by the workspace, newest first. - [Send SMS](https://torpedo.co.mz/docs/api-reference/sms/send-sms.md): Queues an SMS message for delivery via SMPP. Returns `202 Accepted` immediately — delivery is asynchronous. Requires a paid plan and available SMS credits. - [Get SMS message](https://torpedo.co.mz/docs/api-reference/sms/get-sms-message.md): Returns a single SMS message by ID. - [List verifications](https://torpedo.co.mz/docs/api-reference/verify/list-verifications.md): Returns a paginated list of verifications, newest first. - [Start a verification](https://torpedo.co.mz/docs/api-reference/verify/start-a-verification.md): Sends a one-time code to a phone number over WhatsApp (default) or SMS and returns a verification. Returns `202 Accepted`; the code is sent in the background. - [Get a verification](https://torpedo.co.mz/docs/api-reference/verify/get-a-verification.md) - [Cancel a verification](https://torpedo.co.mz/docs/api-reference/verify/cancel-a-verification.md): Cancels a pending verification. Its code stops working. - [Check a code](https://torpedo.co.mz/docs/api-reference/verify/check-a-code.md): Checks the code the user entered. Returns `200` while the verification is pending, with `valid: true` when the code is correct. A wrong code uses up one attempt. - [Resend the code](https://torpedo.co.mz/docs/api-reference/verify/resend-the-code.md): Sends the same code again, optionally on another channel. Allowed 30 seconds after the last send, up to 5 sends per verification. Doesn't extend the expiry. - [Report a verification as approved](https://torpedo.co.mz/docs/api-reference/verify/report-a-verification-as-approved.md): Marks a verification started with your own `code` as approved, when you checked the code yourself. Not allowed for codes generated by Torpedo. - [List suppressed addresses](https://torpedo.co.mz/docs/api-reference/suppressions/list-suppressed-addresses.md): Returns addresses that are blocked from receiving emails due to hard bounces or spam complaints. Torpedo automatically adds addresses here — you can remove them if appropriate. - [Remove suppression](https://torpedo.co.mz/docs/api-reference/suppressions/remove-suppression.md): Removes an address from the suppression list. Future sends to this address will no longer be blocked. Use with caution — suppressed addresses were blocked for a reason. ## OpenAPI Specs - [openapi](/docs/openapi.yaml) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.