Skip to content

API

text
POST https://send.meowpush.com/
Content-Type: application/json

Common Request Fields

  • key: A single Push Key
  • keys: Multiple Push Keys for batch delivery, up to 50

key and keys cannot be used together in the same request.

Push Request Fields

FieldType and constraintsDefaultDescription
titleString, 1–256 charactersNotification title
subtitleString, 1–256 charactersNotification subtitle; presentation varies by platform
bodyString, 1–4000 charactersNotification content
levelpassive, active, time-sensitive, criticalactive
soundsilent, default, bell, chime, alarm, dingsilent
badgeInteger, 0–99Absolute badge value; 0 clears the badge
iconHTTPS URL, 1–2048 charactersSource avatar or icon; presentation varies by platform
imageHTTPS URL, 1–2048 charactersNotification media image; presentation varies by platform
urlURI, 1–2048 charactersLink attached to the notification and opened when it is tapped
groupString, 1–64 charactersPlaces related notifications in the same group
collapse_id[A-Za-z0-9_-]{1,32}Replaces previously displayed content with the same identifier
ttlInteger in seconds, 0–241920086400Notification lifetime
dataJSON objectCustom data passed to the app

All message fields except body are optional.

Response

A successfully processed request returns a summary of the final delivery results:

json
{
  "notification_id": "019cf5f1-7f2d-7d18-8be1-6f27e1916b52",
  "accepted": 1,
  "failed": 0,
  "results": [
    {
      "key": "mpdv0000000000000001",
      "source_keys": ["mpdv0000000000000001"],
      "status": "accepted",
      "transport": "apns",
      "message_id": "provider-message-id"
    }
  ]
}
FieldDescription
notification_idServer-side notification identifier for this Push Request
accepted / failedFinal counts of accepted and failed devices
results[].keyPrimary source Push Key for this result
results[].source_keysSource Push Keys that resolved to the same final device
results[].statusaccepted or failed
results[].transportActual transport: apns, fcm, hms, wns, or unifiedpush; may be null when no device was resolved
results[].message_idOptional message identifier returned by the upstream service
results[].reasonStable reason code for a failed result
results[].retry_atEarliest retry time that may be returned when quota is exhausted

accepted only means that the corresponding upstream push service, such as APNs or FCM, accepted the message for delivery. Final delivery usually occurs shortly after the response and depends on the upstream service and device state.

Rate Limit

Rate limit per IP address: 100 requests per second.