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