Skip to content

Send a test email using the proposed integration settings

POST
/api/organizations/settings/email/test
curl --request POST \
--url https://example.com/api/organizations/settings/email/test \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "provider": "sendgrid", "apiKey": "SG.secure_api_key_token", "fromEmail": "[email protected]", "fromName": "Dream Center Connect System", "toEmail": "[email protected]" }'
Media typeapplication/json
object
provider
required

Transactional email provider service type (smtp, sendgrid, postmark, ses).

string
Example
sendgrid
apiKey
required

Provider API authentication token.

string
Example
SG.secure_api_key_token
fromEmail
required

Default sender email address for system-generated outbound messages.

string
fromName

Default sender display name for outbound emails.

string
Example
Dream Center Connect System
toEmail
required

Recipient email address for test message delivery.

string

Test email sent successfully

Invalid input or failed to send email

Unauthorized

Forbidden