Get notification credit pricing

gethttps://api.expiryedge.com/v1/getNotificationPricing
Öffentlich - kein API-Schlüssel60/min
Anfrage
curl 'https://api.expiryedge.com/v1/getNotificationPricing'
Antwort
{
  "success": true,
  "data": {
    "whatsapp": {
      "credits_per_message": 1,
      "description": "WhatsApp messages cost 1 credit per message, regardless of destination country or message length (up to template limits)."
    },
    "sms": {
      "description": "SMS pricing varies by destination country and message length.",
      "pricing_tiers": {
        "tier1": {
          "credits_per_segment": 1,
          "description": "US, Canada, UK, Australia, and select countries",
          "countries": [
            "US",
            "CA",
            "GB",
            "AU"
          ]
        },
        "tier2": {
          "credits_per_segment": 2,
          "description": "European countries and select regions",
          "countries": [
            "DE",
            "FR",
            "ES"
          ]
        },
        "tier3": {
          "credits_per_segment": 3,
          "description": "Asia, South America, Africa, Middle East, and other regions",
          "countries": [
            "IN",
            "BR",
            "ZA"
          ]
        }
      },
      "segments_info": {
        "standard_gsm": {
          "chars_per_segment": 160,
          "description": "Standard text messages without special characters"
        },
        "unicode": {
          "chars_per_segment": 70,
          "description": "Messages with emoji or non-Latin characters"
        }
      }
    },
    "email": {
      "credits_per_email": 1,
      "description": "Email notifications cost 1 credit per email sent."
    },
    "examples": [
      {
        "type": "SMS",
        "destination": "United States (+1)",
        "message_length": "150 characters",
        "credits_required": 1
      },
      {
        "type": "SMS",
        "destination": "India (+91)",
        "message_length": "320 characters (2 segments)",
        "credits_required": 6
      }
    ]
  }
}

Static price sheet for email, SMS (per-country tier and segment) and WhatsApp credits. Only GET is accepted.

Rückgabe

200
Pricing information.
  • successboolean
  • dataobject

Fehler

405
The endpoint does not accept this HTTP method.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.