Store Firebase notification tokens

POST /api/v1/mobile/notification-token
application/json

Body Required

  • token string Required

    The Firebase (FCM) token generated to be used for native iOS/Android notifications.

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/mobile/notification-token
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/mobile/notification-token' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"token":"0pd0JKguJmeLOC0Yr2SUB6MhTAqBiM7LUx4PDnzqnUPHVvZY1g6wQ8Nqp4mp8BlyAnf3t8r2LnWI3w6WT5Un1eGOWHGkt9jdg602cPDrJzAYOZjNQfhdHw3RWS9DWRbth6ezf3JJyWPxfr"}'
Request examples
{
  "token": "0pd0JKguJmeLOC0Yr2SUB6MhTAqBiM7LUx4PDnzqnUPHVvZY1g6wQ8Nqp4mp8BlyAnf3t8r2LnWI3w6WT5Un1eGOWHGkt9jdg602cPDrJzAYOZjNQfhdHw3RWS9DWRbth6ezf3JJyWPxfr"
}
Response examples (401)
{
  "message": "Unauthenticated."
}