Skip to content

push_register

PUT
/v1/devices/self/push
curl --request PUT \
--url https://example.com/v1/devices/self/push \
--header 'Content-Type: application/json' \
--data '{ "platform": "example", "token": "example" }'

Remote listener and relay tunnel only. Requires a paired device bearer token with either view or decide scope.

Media typeapplication/json
object
platform
required
string
token
required
string
Examplegenerated
{
"platform": "example",
"token": "example"
}

Registered

Invalid registration

Device token required

Device revoked