# Push Notification API

### **Push Notification to User**

This feature to send notification on mobile apps (3Dolphins Anywhere).

| Method     | POST                                                                                                                                                                                                                                                                                  |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Media Type | application/json                                                                                                                                                                                                                                                                      |
| URL        | http\://\[server]/dolphin/apiv1/graph/pushNotification/user                                                                                                                                                                                                                           |
| Header     | Authorization **>>** \[generatedToken]                                                                                                                                                                                                                                                |
| Body       | <p>{<br>   “to”:”\[mobile-token]”,<br>   “notification”:{<br>     “body”:”Push Notification Body”,<br>     “title”:”Push Notification Title”,<br>   },<br>   “data”:{<br>     “click\_action”:”PUSH\_NOTIFICATION\_CLICK”,<br>     “title”:”great match 456! bawah”<br>}<br>}<br></p> |
| Status     | 200                                                                                                                                                                                                                                                                                   |
| Response   | <p>{<br>     “status”: “success”,<br>     “data”: “\[data]”<br>     “hasMore”: false,<br>     “nextIndex”: 0,<br>     “prevIndex”: 0,<br>     “totalResults”: 0<br>}</p>                                                                                                              |
