Retrieve device
Retrieves a device for an HQ user with access to its company, or the calling device itself.
GET
/v1/hq/devices/{device_id}AuthorizationBearer <token>
Bearer token issued to a paired device; an operation's scopes list the device types allowed to call it, such as checkin.
In: header
Scope: checkin
Path Parameters
device_id*string
Response Body
application/json
curl -X GET "https://api.noona.is/v1/hq/devices/string"{
"id": "string",
"company": "string",
"name": "string",
"type": "checkin",
"status": "unpaired",
"configuration": {
"terminal": "string",
"success_message": "string",
"success_message_translations": {
"is": "King Accounting tenging",
"fr": "Connexion King Accounting"
},
"languages": [
"en"
],
"default_language": "en",
"brand_color": "string"
},
"pairing": {
"expires_at": "2019-08-24T14:15:22Z",
"consumed_at": "2019-08-24T14:15:22Z",
"attempts_remaining": 0
},
"masked_token": "string",
"last_active": "2019-08-24T14:15:22Z",
"revoked_at": "2019-08-24T14:15:22Z",
"created_by": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}Empty
Empty
Empty
Empty
Empty