Push Notification API
Push Notification to User
Fitur ini untuk mengirimkan notifikasi pada aplikasi mobile (3Dolphins Anywhere).
Method | POST |
Media Type | application/json |
URL | http://[server]/dolphin/apiv1/graph/pushNotification/user |
Header | Authorization : [generatedToken] |
Body | { “to”:”[mobile-token]”, “notification”:{ “body”:”Push Notification Body”, “title”:”Push Notification Title”, }, “data”:{ “click_action”:”PUSH_NOTIFICATION_CLICK”, “title”:”great match 456! bawah” } } |
Status | 200 |
Response | { “status”: “success”, “data”: “[data]” “hasMore”: false, “nextIndex”: 0, “prevIndex”: 0, “totalResults”: 0 } |
Last updated