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":"Ngd2HoT3L7uoDLoXjCpqXX3BvCXTBK4txrL6nS1hYSyvuVw1XnLZtZW9xfjWRlutVMbLwDeJZLw2kn4CS0U5YaH4YDT0zJ7QtT0XONP4eUSn0OXnfPWbzNnpUqgrSWYFcZfpypHVpkXYFF"}'
Request examples
{
  "token": "Ngd2HoT3L7uoDLoXjCpqXX3BvCXTBK4txrL6nS1hYSyvuVw1XnLZtZW9xfjWRlutVMbLwDeJZLw2kn4CS0U5YaH4YDT0zJ7QtT0XONP4eUSn0OXnfPWbzNnpUqgrSWYFcZfpypHVpkXYFF"
}
Response examples (401)
{
  "message": "Unauthenticated."
}