user with your own user (or ~).403.push-device must be an existing device within your reach. Any other answers 404 with Device not found., whether the device is missing or someone else's.push-device must be a device in the path's domain, and your own below Reseller.push-network, so a device holds one token per push service.push-network defaults to firebase. A pwa token is URL-decoded before it is checked and stored.202 with {"response": "ok", "device": ...}. The change is accepted and applied shortly after, so a read made straight after it can still show the previous state.apns registration returns 400 when the platform is not set up for Apple push. Contact support. To remove the registration, see the matching DELETE.Authorization: Bearer ********************curl --location 'https://awqacore01.crexendocloud.com/ns-api/v2/domains/example.com/push' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"user": "1001",
"push-device": "sip:1001a@example.com",
"push-device-token": "a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90",
"push-network": "apns",
"push-test": "no"
}'{
"response": "ok",
"device": "sip:1001a@example.com"
}