Emails
Send an email
Changed on⚠️ Interactive documentation does not work on this route (child parameters not correctly applied in snippet), please use our ready to copy past example of this page : https://developer.unipile.com/docs/send-email
post/api/v1/emails
Request
- Base URLhttps://api1.unipile.com:13111
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring
Optional key identifying this email-send operation.
We suggest using V4 UUIDs or a random string with enough entropy.
The key can be up to 255 characters long.
Retrying the same request with the same key returns the original operation result.
Reusing the key with a different request returns a conflict.
Keys are retained in memory for up to 24 hours and are cleared by an application restart or maintenance.
Request body multipart/form-data
Response
Email sent successfully.
Changes
- warning
added the new
errors/connection_limit_reachedenum value to theresponse property for the response status - warning
added the new
errors/not_supported_by_providerenum value to theresponse property for the response status - warning
added the new
errors/password_reset_requiredenum value to theresponse property for the response status - info
added the new optional
headerrequest parameterIdempotency-Key - info
added the non-success response with the status
- warning