On This Page
REST Example: Generating an Android Device Activation Code
Request
The body of the request is empty. The POST request includes the information
required to return the response.
{ }
Response to a Successful Request
The response includes the activation code (
token
field)
and the amount of time (ttl
field) that the activation
code is valid. The ttl
field value is shown in
milliseconds. The activation code is valid for 24 hours. { "tokens": [ { "token": "%N5wU2jH", "ttl": 86399805 } ] }