List message deliveries
Returns one delivery per recipient: its status, attempts, delivery times, and why it failed or is waiting.
GET
Returns one delivery per recipient: its status, attempts, delivery times, and why it failed or is waiting.
apiKeyheader
x-api-key<token>id*stringMatch
^msg_[0-9a-hjkmnp-tv-z]{16,24}$MessageDeliveryList
application/json- response
items*array<>import { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.messages.listDeliveries({ "id": "example"});Example Response
{ "items": [ { "id": "string", "recipient": "string", "status": "pending", "attemptCount": 0, "waitReason": "rate", "nextRetryAt": "string", "sentAt": "string", "deliveredAt": "string", "readAt": "string", "failedAt": "string", "error": { "code": "string", "message": "string", "retryable": true }, "estimatedProviderCost": { "amount": "string", "currency": "string", "billingMode": "pass_through" }, "createdAt": "string", "updatedAt": "string" } ]}