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.
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.sendEmailon your hub
Input
SendEmailInputSchemaOutput
SendEmailResultSchemaShapes: 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.getStatuson your hub
Input
{ instanceId?: string }Output
SmtpStatusSchemaShapes: SmtpStatusSchema