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": "noreply@dreamcenterconnect.com", "fromName": "Dream Center Connect System", "toEmail": "admin@example.org" }'
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
Example
noreply@dreamcenterconnect.com
fromName

Default sender display name for outbound emails.

string
Example
Dream Center Connect System
toEmail
required

Recipient email address for test message delivery.

string
Example
admin@example.org

Test email sent successfully

Invalid input or failed to send email

Unauthorized

Forbidden