Dominevo
ReferenceHTTP API

smtpProvider

The smtpProvider router: 2 methods of the smtp-provider capability, with tier, scope, input and output.

Capability smtp-provider · scope system · mode collection · source packages/types/src/capabilities/smtp-provider.cap.ts:77.

Every method is called at /trpc/smtpProvider.<method> — queries with GET, mutations with POST. See How to call and Authorization.

MethodKindTierToken scopeViewer
sendEmailmutationadminadmin onlyno
getStatusqueryadminadmin onlyno

smtpProvider.sendEmail

  • Kind: mutation — POST /trpc/smtpProvider.sendEmail
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=smtpProvider.sendEmail on your hub

Input

SendEmailInputSchema

Output

SendEmailResultSchema

Shapes: SendEmailInputSchema · SendEmailResultSchema

smtpProvider.getStatus

  • Kind: query — GET /trpc/smtpProvider.getStatus
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=smtpProvider.getStatus on your hub

Input

{ instanceId?: string }

Output

SmtpStatusSchema

Shapes: SmtpStatusSchema