Register User Device Parameters

This API Function will register app users device token to a custom UserID and/or Tag.

POST METHOD

https://send.pushnotificationapi.com/v1/device/add

Fields (string) Description
api_key Your Push Notification API App Key.
device_token Device Token/Registration ID.
platform Platform you want to send push to (Android, iOS, Windows).
user_id optional Your custom User ID from your internal app.
tag optional Tag device with a friendly name.

Success Response

HTTP/1.1 200 OK
{
    "status": true,
    "success": "Device added."
}