# GetPushNotificationToken

## Description

Returns the push notification token for this device, this must be sent to your server that sends out the notifications so that it can send notifications to this device. If PushNotificationSetup returned 1 then you should keep calling this command until it returns a non-empty string. If PushNotificationSetup returned 0 then this command will always return an empty string.

## Definition

string GetPushNotificationToken()

char* agk::GetPushNotificationToken()