Skip to main content
GET
/
webhooks
/
deliveries
/
stats
JavaScript
import Mobilerun from '@mobilerun/sdk';

const client = new Mobilerun({
  apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});

const response = await client.webhooks.deliveries.stats();

console.log(response.data);
{
  "data": {
    "total": 123,
    "byStatus": {
      "pending": 123,
      "success": 123,
      "skipped": 123,
      "dead": 123
    },
    "successRate": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer token via Authorization header

Query Parameters

since
string<date-time>

Response

Delivery statistics

data
object
required