The held messages
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://api.nimles.com/communication/api/tenant/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/Mails/held"), Headers = { { "Authorization", "Bearer <token>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://api.nimles.com/communication/api/tenant/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/Mails/held';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://api.nimles.com/communication/api/tenant/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/Mails/held \ --header 'Authorization: Bearer <token>'The held messages: the tenant’s mails to one address on a held recipient domain (Mail:HeldRecipientDomains, the
end-to-end runs’ test domain), which are recorded and never sent, newest first, at most 20, so an end-to-end run can
follow its test account’s verification link, in production too. A mail that also went to an address on any other
domain is never shown: nothing that reached a mailbox is ever exposed. Needs Nimles.Communication.Contract.HeldMessageActions.Read
tenant-wide. Its literal route segment wins over GET {id}.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Your tenant id.
Query Parameters
Section titled “Query Parameters”The address, on a held recipient domain.
Only the mails recorded after this moment (an offset is honoured; without one it is UTC).
Responses
Section titled “Responses”OK
object
object
object
Example generated
{ "data": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "to": [ "example" ], "subject": "example", "body": "example", "htmlBody": "example", "createdAt": "2026-04-15T12:00:00Z" } ]}Unauthorized: no bearer token, or one that is expired or not for this API.
Forbidden: the caller holds no role that allows this action at this scope. The body is empty, or a problem whose detail names the action.
An RFC 9457 problem.
object
Example generated
{ "detail": "example", "instance": "example", "status": 1, "title": "example", "type": "example"}