POST
/
v2
/
device-login
/
device
/
authorize
Start a device-login grant (RFC 8628 device authorization request)
curl --request POST \
  --url https://coreapi-dev.us.bcpapers.ca/v2/device-login/device/authorize \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "hardwareId": "<string>",
  "ipAddress": "<string>"
}
'
{
  "device_code": "<string>",
  "expires_in": 123,
  "interval": 123,
  "user_code": "<string>",
  "verification_uri": "<string>",
  "verification_uri_complete": "<string>"
}

Body

application/json

Agent email + hardware id

email
string
hardwareId
string
ipAddress
string

Response

OK

device_code
string
expires_in
integer
interval
integer
user_code
string
verification_uri
string
verification_uri_complete
string