Skip to content

Push notifications API

The push API lets you send notifications from your own systems (CRM, ERP, marketing automation) without going through the backoffice. It is currently the only documented public Reskyt API.

HeaderValueRequired
Content-Typeapplication/jsonYes
x-api-keyYour API keyYes

API keys are generated from the Reskyt panel.

POST https://push.api.reskyt.com/push/send
{
"title": "Your order is on its way",
"heading": "Shipping",
"dateEnd": 1790000000,
"url": "https://yourstore.com/offers",
"pictureUrl": "https://yourstore.com/img/preview.jpg",
"utmCampaign": "black_friday_2026",
"deviceId": [
"41dc840f7e76bcec71a40bce87699431",
"076b3c207b9a010d654efdfab92cb898"
]
}
FieldTypeRequiredDescription
titlestringYesText or body of the notification.
headingstringNoTitle of the notification.
deviceIdstring[]Yes in V2Recipients of the send, identified by their hashed installation ID.
dateEndnumberNoUnix timestamp in seconds at which the notification expires. If not specified, the API applies 7 days from the send.
urlstringNoURL opened when the notification is tapped.
pictureUrlstringNoURL of the preview image.
utmCampaignstringNoCampaign identifier or label.
tokensarray of stringsNoV1 mechanism. Kept for customers migrating from that version.

deviceId carries hashed installation IDs, not APNs or FCM tokens. The recommended flow to obtain them is:

  1. Check that the user agent contains rktwebview, which is what indicates that the code is running inside the app. See available variables.
  2. During login or sign-up, call window.ReskytLayout.device.getHashedInstallationId().
  3. Store the returned hashed installation ID.
  4. Associate it with the corresponding user in your systems.
  5. Then use it as the value of deviceId in your sends.

Without step 4 it is not possible to segment by customer.

Ventana de terminal
curl -X POST https://push.api.reskyt.com/push/send \
-H "Content-Type: application/json" \
-H "x-api-key: $RESKYT_API_KEY" \
-d '{
"title": "Your order is on its way",
"heading": "Shipping",
"dateEnd": 1790000000,
"url": "https://yourstore.com/orders/1234",
"deviceId": ["41dc840f7e76bcec71a40bce87699431"]
}'