List email forwarding logs
Returns forwarded inbound emails with their delivery outcomes, newest first, optionally filtered by rule, status, or creation time (`after`, `before`).
GET
Returns forwarded inbound emails with their delivery outcomes, newest first, optionally filtered by rule, status, or creation time (after, before). Pass nextCursor back as cursor for the next page; it is null on the last page.
apiKeyheader
x-api-key<token>forwardingRuleId?stringMatch
^fwd_[0-9a-hjkmnp-tv-z]{16,24}$status?stringValue in
"pending""forwarded""failed"after?stringbefore?stringlimit?|nullcursor?stringForwardingLogPage
application/json- response
items*array<>nextCursor*string|nullimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.email.getForwardingLog({});Example Response
{ "items": [ { "id": "string", "forwardingRuleId": "string", "originalFromAddress": "string", "originalToAddress": "string", "originalSubject": "string", "forwardedTo": [ "string" ], "status": "pending", "errorMessage": "string", "messageId": "string", "forwardedAt": "string", "createdAt": "string" } ], "nextCursor": "string"}