Skip to content

Push Notifications

Maya Saxena edited this page Mar 22, 2018 · 1 revision

POST /push-token

Requirements:

  • token: unique user token provided by PickPocket backend
  • firebaseToken: FCM token

Example request:

POST /push-token
Content-Type: application/json

{
    "token": "2948785c-dabf-11e6-b80d-cadaf4a179ef",
    "firebaseToken": "41f6d95d1906351176743d7e4c07bcf95535670cac04bbb2f1e4805fc7a32cc4"
}

Example response:

{
    "response": "success"
}
Clone this wiki locally