You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 3 Next »
The method allows assigning a new App Push token to the user.
Token platform. Available values:
HTTP status code
The request was successful.
The response is JSON type with the following properties:
Current status. Can have one of two values:
The text of the error if it occurred
curl 'https://api.personaclick.com/mobile_push_tokens' \ -X 'POST' \ -H 'content-type: application/x-www-form-urlencoded' \ -d 'shop_id=0d42fd8b713d0752776ca589cc0056&did=7rjVGhMykT&platform=android&token=cCM2SRUF8pO9UaJOqX00wz:APuCScUxcUno1p1Gz6kcV4xux2dnVO1MfEkOen-6fdAlA9JqiTCClKM4Gc6KnUon1bGIbq7o2c03OH-b88vnZmBev7Ho7wAYs3_XOw93YUn5sxNOZ8sq75kjB9UHgoZbbVXrBrWwYhr5'