Skip to main content

DevicePaired

Emitted when a device is paired with a verification hash.

Payload

FieldTypeRequiredDescription
deviceIdentityHashstringServer-generated unique identifier of the device, used as the public-facing identifier in the REST API.
ownerobjectOwnership envelope identifying the company or organization that owns this event.
owner.ownershipType"organization" (literal)Discriminator for the ownership envelope; always organization for these events.
owner.organizationUidstringUID of the organization that owns the event.
owner.parentCompanyUidstringUID of the owning organization's parent company.
type"Device.Verification.DevicePaired" (literal)Fully-qualified event type discriminator (e.g. Device.DeviceConnectionAdded).
originatorobjectActor that initiated the action behind this event. Omitted for system-triggered events.
originator.accountIdnumberNumeric identifier of the account that initiated the action.
originator.organizationUidstringOrganization on whose behalf the action was initiated.
originator.policyUidstringPolicy under which the action was initiated, if applicable.
verificationHashstring

Example

{
"id": "string",
"kind": "domain",
"type": "Device.Verification.DevicePaired",
"payload": {
"deviceIdentityHash": "8d6b3da0xxxxxxxxxxxxxxxx1d40293e",
"owner": {
"ownershipType": "organization",
"organizationUid": "8742ac98xxxxxxxxxxxxxxxx4b8c354c",
"parentCompanyUid": "5e4d8e7cxxxxxxxxxxxxxxxx6dcde5ea"
},
"type": "Device.Verification.DevicePaired",
"originator": {
"accountId": 2768,
"organizationUid": "c401576cxxxxxxxxxxxxxxxx5780b65a",
"policyUid": "c956e32axxxxxxxxxxxxxxxx7bf16c75"
},
"verificationHash": "1c61025fxxxxxxxxxxxxxxxxc517e042"
}
}

Shape

{
"id": "string",
"kind": "domain",
"type": "Device.Verification.DevicePaired",
"payload": {
"deviceIdentityHash": "string",
"owner": {
"ownershipType": "organization",
"organizationUid": "string",
"parentCompanyUid": "string"
},
"type": "Device.Verification.DevicePaired",
"originator?": {
"accountId?": "number",
"organizationUid?": "string",
"policyUid?": "string"
},
"verificationHash": "string"
}
}