Skip to main content

Synchronous vs asynchronous sending

There are two ways to send an email: synchronously and asynchronously. When you send an email synchronously, your application waits for the API to process the request and return a response. For a single email, this is usually pretty quick. But for larger sends, the processing time can take much longer. When you send an email asynchronously, your application makes a request and immediately receives a response. In the background, the API processes the request. Your application does not wait. In order to track the status of the send, you will receive webhooks for all delivery status updates (dropped, processed, delivered, hard-bounced, etc.). These webhooks are identical to the webhooks you receive for synchronous sends.

When to use Send vs Send Async

Synchronous sending should only be used when the user needs feedback on the status of the send before proceeding, and the number of emails being sent is small. Our evaluation process can take several seconds per message. Asynchronous sending should be used for most requests. It is important to have webhooks set up to receive delivery status updates. You can view webhook events on the webhooks page. For more information on webhooks, see the webhooks documentation.

Examples

Send synchronously:
Send asynchronously: