Skip to content

Update the organization's email settings

PUT
/api/organizations/settings/email
curl --request PUT \
--url https://example.com/api/organizations/settings/email \
--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" }'
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

Email settings updated successfully

Invalid input

Unauthorized

Forbidden