/v1/workspaces/{workspace_id}/smtp-configAuthGet the workspace-default SMTP config (returns null if unset). Per-domain overrides live under /workspaces/:id/domains/:domainId/smtp-config.
Path parameters
workspace_id*string · uuidId of the workspace.
Response · 200
data*objectNull when this workspace has not configured SMTP.
Example
Request
GET https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/smtp-config
Authorization: Bearer YOUR_TOKENResponse
{
"data": {}
}