Atlas
Admin — Email Provider

Test email provider configuration

Sends a test email using the provided credentials. Does not save the configuration.

POST
/api/v1/admin/email-provider/test

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:3001/api/v1/admin/email-provider/test" \  -H "Content-Type: application/json" \  -d '{    "provider": "resend",    "fromAddress": "string",    "recipientEmail": "user@example.com"  }'
{
  "success": true,
  "message": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "property1": null,
  "property2": null
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}