Get device code history
Devices
Get device code history
Return the decrypted code history for ONE device (recovery key, iCloud bypass code, unlock PIN, recovery OS password), newest first. Optionally filter by type. For many devices at once, use getDevicesCodeHistory instead of calling this endpoint in a loop.
GET
Get device code history
Key: Read
Scope: Company
Authorizations
Use your Primo API key in the Authorization header as Bearer <API_KEY>.
Path Parameters
Query Parameters
Filter to a single code type (ICLOUD_BYPASS_CODE, UNLOCK_PIN, RECOVERY_KEY, RECOVERY_OS).
Available options:
ICLOUD_BYPASS_CODE, UNLOCK_PIN, RECOVERY_KEY, RECOVERY_OS Response
default - application/json
Code history entries, newest first.