{"id":7786,"date":"2026-05-17T06:20:59","date_gmt":"2026-05-17T03:20:59","guid":{"rendered":"http:\/\/mohamed"},"modified":"2026-05-18T15:00:00","modified_gmt":"2026-05-18T12:00:00","slug":"get-view-log-api","status":"publish","type":"docs","link":"https:\/\/docs.tawarly.com\/ar\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/get-view-log-api\/","title":{"rendered":"GET View Log API"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>The View Log API returns supported record-view events such as viewed projects, tasks, invoices, clients, or supported entity pages.<\/p>\n<h2>Endpoint<\/h2>\n<pre><code>GET https:\/\/your-rise-domain.com\/api\/rise-log\/views<\/code><\/pre>\n<h2>Example request<\/h2>\n<pre><code>curl -X GET \"https:\/\/your-rise-domain.com\/api\/rise-log\/views?entity_type=invoices&date_from=2026-05-01&date_to=2026-05-31\" \\\n  -H \"Accept: application\/json\" \\\n  -H \"X-RLP-API-Key: YOUR_API_KEY\" <\/code><\/pre>\n<h2>Example response<\/h2>\n<pre><code>{\n  \"success\": true,\n  \"data\": [\n    {\n      \"id\": 3001,\n      \"entity_type\": \"invoices\",\n      \"entity_id\": 87,\n      \"entity_title\": \"INV-00087\",\n      \"viewed_by\": {\"id\": 5, \"name\": \"Finance User\"},\n      \"ip_address\": \"203.0.113.12\",\n      \"created_at\": \"2026-05-17 12:40:00\"\n    }\n  ]\n}<\/code><\/pre>\n<h2>Common mistakes<\/h2>\n<ul>\n<li>Treating view events as edit events.<\/li>\n<li>Exposing view activity to unauthorized systems.<\/li>\n<li>Assuming every custom page generates a view event.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Overview The View Log API returns supported record-view events such as viewed projects, tasks, invoices, clients, or supported entity pages. Endpoint GET https:\/\/your-rise-domain.com\/api\/rise-log\/views Example request curl -X GET &#8220;https:\/\/your-rise-domain.com\/api\/rise-log\/views?entity_type=invoices&#038;date_from=2026-05-01&#038;date_to=2026-05-31&#8221; \\ -H &#8220;Accept: application\/json&#8221; \\ -H &#8220;X-RLP-API-Key: YOUR_API_KEY&#8221; Example response { &#8220;success&#8221;: true, &#8220;data&#8221;: [ { &#8220;id&#8221;: 3001, &#8220;entity_type&#8221;: &#8220;invoices&#8221;, &#8220;entity_id&#8221;: 87, &#8220;entity_title&#8221;: &#8220;INV-00087&#8221;, &#8220;viewed_by&#8221;: {&#8220;id&#8221;: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":8292,"menu_order":7,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"doc_badge":[],"class_list":["post-7786","docs","type-docs","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>GET View Log API - Tawarly Ltd<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"ar_AR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GET View Log API - Tawarly Ltd\" \/>\n<meta property=\"og:description\" content=\"Overview The View Log API returns supported record-view events such as viewed projects, tasks, invoices, clients, or supported entity pages. Endpoint GET https:\/\/your-rise-domain.com\/api\/rise-log\/views Example request curl -X GET &quot;https:\/\/your-rise-domain.com\/api\/rise-log\/views?entity_type=invoices&amp;date_from=2026-05-01&amp;date_to=2026-05-31&quot;  -H &quot;Accept: application\/json&quot;  -H &quot;X-RLP-API-Key: YOUR_API_KEY&quot; Example response { &quot;success&quot;: true, &quot;data&quot;: [ { &quot;id&quot;: 3001, &quot;entity_type&quot;: &quot;invoices&quot;, &quot;entity_id&quot;: 87, &quot;entity_title&quot;: &quot;INV-00087&quot;, &quot;viewed_by&quot;: {&quot;id&quot;: [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.tawarly.com\/ar\/docs\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/get-view-log-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Tawarly Ltd\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-18T12:00:00+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0648\u0642\u062a \u0627\u0644\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u064f\u0642\u062f\u0651\u0631\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/docs.tawarly.com\\\/docs\\\/rise-audit-pro-documentation\\\/api-webhooks-and-audit-record-management\\\/get-view-log-api\\\/\",\"url\":\"https:\\\/\\\/docs.tawarly.com\\\/docs\\\/rise-audit-pro-documentation\\\/api-webhooks-and-audit-record-management\\\/get-view-log-api\\\/\",\"name\":\"GET View Log API - Tawarly Ltd\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/docs.tawarly.com\\\/#website\"},\"datePublished\":\"2026-05-17T03:20:59+00:00\",\"dateModified\":\"2026-05-18T12:00:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/docs.tawarly.com\\\/docs\\\/rise-audit-pro-documentation\\\/api-webhooks-and-audit-record-management\\\/get-view-log-api\\\/#breadcrumb\"},\"inLanguage\":\"ar\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/docs.tawarly.com\\\/docs\\\/rise-audit-pro-documentation\\\/api-webhooks-and-audit-record-management\\\/get-view-log-api\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/docs.tawarly.com\\\/docs\\\/rise-audit-pro-documentation\\\/api-webhooks-and-audit-record-management\\\/get-view-log-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/docs.tawarly.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rise Audit Pro Documentation\",\"item\":\"https:\\\/\\\/docs.tawarly.com\\\/docs\\\/rise-audit-pro-documentation\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"API, Webhooks and Audit Record Management\",\"item\":\"https:\\\/\\\/docs.tawarly.com\\\/docs\\\/rise-audit-pro-documentation\\\/api-webhooks-and-audit-record-management\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"GET View Log API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/docs.tawarly.com\\\/#website\",\"url\":\"https:\\\/\\\/docs.tawarly.com\\\/\",\"name\":\"Tawarly Ltd\",\"description\":\"inspired by the future\",\"publisher\":{\"@id\":\"https:\\\/\\\/docs.tawarly.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/docs.tawarly.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ar\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/docs.tawarly.com\\\/#organization\",\"name\":\"Tawarly Ltd\",\"url\":\"https:\\\/\\\/docs.tawarly.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ar\",\"@id\":\"https:\\\/\\\/docs.tawarly.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/docs.tawarly.com\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/logo-full.png\",\"contentUrl\":\"https:\\\/\\\/docs.tawarly.com\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/logo-full.png\",\"width\":300,\"height\":81,\"caption\":\"Tawarly Ltd\"},\"image\":{\"@id\":\"https:\\\/\\\/docs.tawarly.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"GET View Log API - Tawarly Ltd","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"ar_AR","og_type":"article","og_title":"GET View Log API - Tawarly Ltd","og_description":"Overview The View Log API returns supported record-view events such as viewed projects, tasks, invoices, clients, or supported entity pages. Endpoint GET https:\/\/your-rise-domain.com\/api\/rise-log\/views Example request curl -X GET \"https:\/\/your-rise-domain.com\/api\/rise-log\/views?entity_type=invoices&date_from=2026-05-01&date_to=2026-05-31\"  -H \"Accept: application\/json\"  -H \"X-RLP-API-Key: YOUR_API_KEY\" Example response { \"success\": true, \"data\": [ { \"id\": 3001, \"entity_type\": \"invoices\", \"entity_id\": 87, \"entity_title\": \"INV-00087\", \"viewed_by\": {\"id\": [&hellip;]","og_url":"https:\/\/docs.tawarly.com\/ar\/docs\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/get-view-log-api\/","og_site_name":"Tawarly Ltd","article_modified_time":"2026-05-18T12:00:00+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u0648\u0642\u062a \u0627\u0644\u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u064f\u0642\u062f\u0651\u0631":"\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.tawarly.com\/docs\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/get-view-log-api\/","url":"https:\/\/docs.tawarly.com\/docs\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/get-view-log-api\/","name":"GET View Log API - Tawarly Ltd","isPartOf":{"@id":"https:\/\/docs.tawarly.com\/#website"},"datePublished":"2026-05-17T03:20:59+00:00","dateModified":"2026-05-18T12:00:00+00:00","breadcrumb":{"@id":"https:\/\/docs.tawarly.com\/docs\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/get-view-log-api\/#breadcrumb"},"inLanguage":"ar","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.tawarly.com\/docs\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/get-view-log-api\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.tawarly.com\/docs\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/get-view-log-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.tawarly.com\/"},{"@type":"ListItem","position":2,"name":"Rise Audit Pro Documentation","item":"https:\/\/docs.tawarly.com\/docs\/rise-audit-pro-documentation\/"},{"@type":"ListItem","position":3,"name":"API, Webhooks and Audit Record Management","item":"https:\/\/docs.tawarly.com\/docs\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/"},{"@type":"ListItem","position":4,"name":"GET View Log API"}]},{"@type":"WebSite","@id":"https:\/\/docs.tawarly.com\/#website","url":"https:\/\/docs.tawarly.com\/","name":"Tawarly Ltd","description":"inspired by the future","publisher":{"@id":"https:\/\/docs.tawarly.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.tawarly.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ar"},{"@type":"Organization","@id":"https:\/\/docs.tawarly.com\/#organization","name":"Tawarly Ltd","url":"https:\/\/docs.tawarly.com\/","logo":{"@type":"ImageObject","inLanguage":"ar","@id":"https:\/\/docs.tawarly.com\/#\/schema\/logo\/image\/","url":"https:\/\/docs.tawarly.com\/wp-content\/uploads\/2021\/03\/logo-full.png","contentUrl":"https:\/\/docs.tawarly.com\/wp-content\/uploads\/2021\/03\/logo-full.png","width":300,"height":81,"caption":"Tawarly Ltd"},"image":{"@id":"https:\/\/docs.tawarly.com\/#\/schema\/logo\/image\/"}}]}},"author_avatar":"https:\/\/secure.gravatar.com\/avatar\/08585f715052565fc38d5f512ef098033f30c14d4c14becefded93819a77543c?s=96&d=mm&r=g","author_name":"mohamed","_links":{"self":[{"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/docs\/7786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/comments?post=7786"}],"version-history":[{"count":1,"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/docs\/7786\/revisions"}],"predecessor-version":[{"id":8218,"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/docs\/7786\/revisions\/8218"}],"up":[{"embeddable":true,"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/docs\/8292"}],"wp:attachment":[{"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/media?parent=7786"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/doc_tag?post=7786"},{"taxonomy":"doc_badge","embeddable":true,"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/doc_badge?post=7786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}