See how the instance sends e-mail
GET
/api/platform/mail
const url = 'https://forge.example.com/api/platform/mail';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://forge.example.com/api/platform/mail \ --header 'Authorization: Bearer <token>'The provider (ses, smtp, or log when nothing is sent), where it was set (source: console or settings), its Region, or the SMTP host, port and security, the from and reply addresses, the support address and the operator addresses; what the provider says about the sending account, such as whether it may mail anyone yet, or the provider’s own words when it would not say; when a message was last sent and the last refusal in the provider’s or server’s own words; the queue in figures; and how many addresses are not mailed again, with the last reading of the provider’s list. Never a key.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
object
provider
required
string
region
required
null | string
from
required
string
replyTo
required
null | string
delivers
required
boolean
supportAddress
required
null | string
operatorAddresses
required
Array<string>
account
required
accountProblem
required
null | string
queue
required
object
waiting
required
integer | string format: int32
sentLastDay
required
integer | string format: int32
failedLastWeek
required
integer | string format: int32
heldBackLastWeek
required
integer | string format: int32
suppressed
required
integer | string format: int32
suppressionsRead
required
source
string
host
null | string
port
null | integer | string format: int32
security
null | string
problem
null | string
lastSentAt
null | string format: date-time
Example generated
{ "provider": "example", "region": "example", "from": "example", "replyTo": "example", "delivers": true, "supportAddress": "example", "operatorAddresses": [ "example" ], "account": { "productionAccess": true, "sendingEnabled": true, "maxPerDay": 1, "sentLastDay": 1, "maxPerSecond": 1 }, "accountProblem": "example", "queue": { "waiting": 1, "sentLastDay": 1, "failedLastWeek": 1, "heldBackLastWeek": 1 }, "suppressed": 1, "suppressionsRead": { "at": "2026-04-15T12:00:00Z", "added": 1, "error": "example" }, "source": "example", "host": "example", "port": 1, "security": "example", "problem": "example", "lastSentAt": "2026-04-15T12:00:00Z", "lastRefusal": { "at": "2026-04-15T12:00:00Z", "words": "example" }}default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}