Skip to content

List the record of outgoing e-mail

GET
/api/platform/mail/messages
curl --request GET \
--url https://forge.example.com/api/platform/mail/messages \
--header 'Authorization: Bearer <token>'

The newest 200: to whom, about what, for which organization and how each ended (queued, sent, failed, suppressed), with the provider’s words for a failure. Filter by status and by q, a part of the address. A message’s words are never kept after it ends, and never shown.

status
string
q
string

OK

Media typeapplication/json
Array<object>
object
id
required
string format: uuid
kind
required
string
recipient
required
string
subject
required
string
status
required
string
attempts
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
lastError
required
null | string
createdAt
required
string format: date-time
finishedAt
required
null | string format: date-time
organizationId
required
null | string format: uuid
organizationName
required
null | string
providerMessageId
required
null | string

Example generated

[
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"kind": "example",
"recipient": "example",
"subject": "example",
"status": "example",
"attempts": 1,
"lastError": "example",
"createdAt": "2026-04-15T12:00:00Z",
"finishedAt": "2026-04-15T12:00:00Z",
"organizationId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"organizationName": "example",
"providerMessageId": "example"
}
]

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"
}