---
schema_version: "1"
id: 201c29c20613ad26174a921edaaea178186f202c329bcee10fd169983e40d8a0
title: Working with Recently Viewed Information
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/api-rest/guides/do-me/using-resources-working-with-recently-viewed.md
canonical_url: https://developer.salesforce.com/docs/platform/api-rest/guide/using-resources-working-with-recently-viewed.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: ea6b2dc8a7128d479c8e2b24ea06ff51b31f9018fba798ea7d2ea486c73552ce
products:
  - REST API Developer Guide
  - Platform Developer Content
---

# Working with Recently Viewed Information

The examples in this section use REST API Query and Recently Viewed resources to programmatically retrieve and update recently viewed record information.

-   **[View Recently Viewed Records](https://developer.salesforce.com/docs/platform/api-rest/guide/dome-see-recently-viewed.md)**  


    Use the Recently Viewed Items resource to get a list of recently viewed records.

-   **[Mark Records as Recently Viewed](https://developer.salesforce.com/docs/platform/api-rest/guide/dome-mark-records-as-recently-viewed.md)**  


    To mark a record as recently viewed using REST API, use the Query resource with a `FOR VIEW` or `FOR REFERENCE` clause. Use SOQL to mark records as recently viewed to ensure that information such as the date and time the record was viewed is correctly set.


