Notify Partner API
Swagger‑style docs • Base URL https://notifyapns.pingie.com
Public endpoints for device and group messaging. Documented here: GET /link, GET/POST /notify/{deviceId}, and GET/POST /notify-group/{groupId}.
GET
POST
/notify/{deviceId}
Send a notification to a single device

Parameters

ℹ️ Note: Both GET and POST methods are supported with identical parameters.

NameInTypeRequiredDescription
deviceIdpathstringrequiredTarget device ID
tokenquerystringrequiredDevice token
bodyquerystringrequiredNotification message. URL‑encode if sent in query/form.

Request Examples

GET Method:

GET /notify/ABC12345?token=XYZ789TOKEN123&body=Hello%20World

POST Method:

POST /notify/ABC12345?token=XYZ789TOKEN123&body=Hello%20World

cURL

Using GET:

curl "https://notifyapns.pingie.com/notify/ABC12345?token=XYZ789TOKEN123&body=Hello%20World"

Using POST:

curl -X POST "https://notifyapns.pingie.com/notify/ABC12345?token=XYZ789TOKEN123&body=Hello%20World"

Responses

{
  "success": true,
  "deviceId": "ABC12345",
  "message": "Notification sent successfully"
}

Errors: 403 invalid device token • 404 device not found

GET
POST
/notify-group/{groupId}
Send a notification to all devices in the group

Parameters

ℹ️ Note: Both GET and POST methods are supported with identical parameters.

NameInTypeRequiredDescription
groupIdpathstringrequiredTarget group ID
tokenquerystringrequiredGroup token
bodyquerystringrequiredNotification message. URL‑encode if sent in query/form.

Request Examples

GET Method:

GET /notify-group/GRP56789?token=GROUP_TOKEN&body=Hello%20team!

POST Method:

POST /notify-group/GRP56789?token=GROUP_TOKEN&body=Hello%20team!

cURL

Using GET:

curl "https://notifyapns.pingie.com/notify-group/GRP56789?token=GROUP_TOKEN&body=Hello%20team!"

Using POST:

curl -X POST "https://notifyapns.pingie.com/notify-group/GRP56789?token=GROUP_TOKEN" \
  --data-urlencode "body=Hello team!"

Responses

{
  "success": true,
  "groupId": "GRP56789",
  "message": "Notification sent to 3 devices"
}

Errors: 403 invalid group token • 404 group not found

Tips. URL‑encode body for query/form sends. Both GET and POST methods work for notification endpoints. Keep messages short to avoid truncation. Use GET /link first to verify credentials.