Sending accounts

Get sending account statistics

Changed on

Returns aggregate counts of configured sending accounts with breakdowns by type and status.

get/providers/stats

Request

  • Base URL: https://app.sendmux.ai/api/v1
  • URL: https://app.sendmux.ai/api/v1/providers/stats
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.sendmux.ai/oauth/authorize, token URL https://app.sendmux.ai/oauth/token, scopes: provider.read)

Response

Sending account statistics

oktrue required

Example response

{
  "meta": {
    "request_id": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx"
  },
  "data": {
    "active": 8,
    "by_status": {
      "active": 8,
      "error": 1,
      "inactive": 3
    },
    "by_type": {
      "amazon_ses": 1,
      "gmail_api": 4,
      "outlook_api": 2,
      "smtp": 6
    },
    "error": 1,
    "inactive": 3,
    "total": 12
  }
}

Changes