I am referring to the documentation on the MobileFirst Server push service REST API for Push Device Registration (POST). From the document (https://www.ibm.com/support/knowledgecenter/SSHS8R_8.0.0/com.ibm.worklight.apiref.doc/rest_runtime/r_restapi_push_device_registration_post.html), the payload looks like this
{
"deviceId" : "12345-6789",
"phoneNumber" : "123456789",
"platform" : "A",
"token" : "xyz",
}
I can see that the description for token is "Device token obtained via the service provider" but i still do not understand where i am supposed to obtain this token from.
Is there some other api i need to call to get this "token"? If so, what is the API? If not, then where am i supposed to get this from?