Skip to content
Last update: June 20, 2024

addFcmToken mutation

This mutation is used to add a Firebase Cloud Messaging (FCM) token to the system.

Arguments

The InputAddFcmTokenType! is used to provide the necessary input for the mutation.

Field Description
token String! The FCM token to be added.

Possible returns

Possible return Description
Boolean Indicates whether the FCM token was successfully added.
1
2
3
mutation {
  addFcmToken(command: { token: "qwerty" })
}
1
2
3
4
5
{
  "command": {
    "token": "qwerty"
  }
}