Add multiple tokens to user
Examples
- URL:
/users/user-1234/tokens
- Method:
PUT
- Body:
{
"tokens": [
{
"token": "ads23fghsdfgsd32",
"provider_key": "apn",
"properties": {
"is_person": true
},
"device": {
"app_id": "com.my.app",
"platform": "iOS",
"model": "iPhone 13"
}
},
{
"token": "b2345dfgdgnwa",
"provider_key": "apn",
"tracking": {
"ip": "127.0.0.1",
"lat": "0.0",
"long": "123"
}
},
{
"token": "c32432fsdfdsdsfscxzcz",
"provider_key": "firebase-fcm",
"device": {
"device_id": "ipad",
"platform": "ipadOS",
"model": "iPad mini"
}
}
]
}