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