Skip to main content

myStaffPushTokens

Requires permission notifications:push-token:manage.

Lists the push-notification tokens registered for the signed-in staff user. Requires permission to manage push tokens.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query MyStaffPushTokens {
myStaffPushTokens {
appVersion
deviceId
platform
registeredAt
token
}
}

Response:

{
"data": {
"myStaffPushTokens": [
{
"appVersion": "string",
"deviceId": "id",
"platform": "ANDROID",
"registeredAt": "2025-01-15T00:00:00Z",
"token": "string"
}
]
}
}
myStaffPushTokens: [MobilePushToken!]!

Type​

MobilePushToken object​

A device registered for push messages.