apistockdocs
v0.4 GitHub apistock.dev
API reference/Ops: email

Send a test email

POST /ops/mail/test
Queues a test email through the same path as every other email. Check its delivery in GET /ops/jobs/runs?kind=apistock.mail.send.

Authorization

bearer
Authorizationheader · stringrequired

Session token from POST /v1/auth/login with "transport": "bearer". Browsers use the session cookie that login sets instead.

Body

application/json
tostringrequired

Who receives the test email

format: emailmaxLength: 254

Responses

errors: application/problem+json
202

Accepted

401

Unauthorized

403

Forbidden

422

Unprocessable Entity

500

Internal Server Error

Match errors on the problem's code, which stays the same, not on its message.

esc
↑↓ move↵ openesc close