{"id":7792,"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":"api-unauthorized-troubleshooting","status":"publish","type":"docs","link":"https:\/\/docs.tawarly.com\/ar\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/api-unauthorized-troubleshooting\/","title":{"rendered":"API Unauthorized Troubleshooting"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>401 and 403 errors usually mean the request is missing a valid key or does not have the required scope.<\/p>\n<h2>Checklist<\/h2>\n<ul>\n<li>Is the endpoint URL correct?<\/li>\n<li>Is the API key active?<\/li>\n<li>Is the key copied exactly?<\/li>\n<li>Is the required header name used?<\/li>\n<li>Does the key have the required scope?<\/li>\n<li>Is the request using HTTPS?<\/li>\n<\/ul>\n<h2>Example issue<\/h2>\n<p>If you send <code>Authorization: Bearer<\/code> but your plugin expects <code>X-RLP-API-Key<\/code>, the endpoint may return 401.<\/p>\n<h2>Example fix<\/h2>\n<pre><code>curl -X GET \"https:\/\/your-rise-domain.com\/api\/rise-log\/activity\" \\\n  -H \"Accept: application\/json\" \\\n  -H \"X-RLP-API-Key: YOUR_API_KEY\" <\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>Overview 401 and 403 errors usually mean the request is missing a valid key or does not have the required scope. Checklist Is the endpoint URL correct? Is the API key active? Is the key copied exactly? Is the required header name used? Does the key have the required scope? Is the request using HTTPS? [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":8292,"menu_order":13,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"doc_badge":[],"class_list":["post-7792","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>API Unauthorized Troubleshooting - 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=\"API Unauthorized Troubleshooting - Tawarly Ltd\" \/>\n<meta property=\"og:description\" content=\"Overview 401 and 403 errors usually mean the request is missing a valid key or does not have the required scope. Checklist Is the endpoint URL correct? Is the API key active? Is the key copied exactly? Is the required header name used? Does the key have the required scope? Is the request using HTTPS? [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.tawarly.com\/ar\/docs\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/api-unauthorized-troubleshooting\/\" \/>\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<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\\\/api-unauthorized-troubleshooting\\\/\",\"url\":\"https:\\\/\\\/docs.tawarly.com\\\/docs\\\/rise-audit-pro-documentation\\\/api-webhooks-and-audit-record-management\\\/api-unauthorized-troubleshooting\\\/\",\"name\":\"API Unauthorized Troubleshooting - 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\\\/api-unauthorized-troubleshooting\\\/#breadcrumb\"},\"inLanguage\":\"ar\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/docs.tawarly.com\\\/docs\\\/rise-audit-pro-documentation\\\/api-webhooks-and-audit-record-management\\\/api-unauthorized-troubleshooting\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/docs.tawarly.com\\\/docs\\\/rise-audit-pro-documentation\\\/api-webhooks-and-audit-record-management\\\/api-unauthorized-troubleshooting\\\/#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\":\"API Unauthorized Troubleshooting\"}]},{\"@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":"API Unauthorized Troubleshooting - 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":"API Unauthorized Troubleshooting - Tawarly Ltd","og_description":"Overview 401 and 403 errors usually mean the request is missing a valid key or does not have the required scope. Checklist Is the endpoint URL correct? Is the API key active? Is the key copied exactly? Is the required header name used? Does the key have the required scope? Is the request using HTTPS? [&hellip;]","og_url":"https:\/\/docs.tawarly.com\/ar\/docs\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/api-unauthorized-troubleshooting\/","og_site_name":"Tawarly Ltd","article_modified_time":"2026-05-18T12:00:00+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.tawarly.com\/docs\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/api-unauthorized-troubleshooting\/","url":"https:\/\/docs.tawarly.com\/docs\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/api-unauthorized-troubleshooting\/","name":"API Unauthorized Troubleshooting - 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\/api-unauthorized-troubleshooting\/#breadcrumb"},"inLanguage":"ar","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.tawarly.com\/docs\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/api-unauthorized-troubleshooting\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.tawarly.com\/docs\/rise-audit-pro-documentation\/api-webhooks-and-audit-record-management\/api-unauthorized-troubleshooting\/#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":"API Unauthorized Troubleshooting"}]},{"@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\/7792","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=7792"}],"version-history":[{"count":1,"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/docs\/7792\/revisions"}],"predecessor-version":[{"id":8224,"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/docs\/7792\/revisions\/8224"}],"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=7792"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/doc_tag?post=7792"},{"taxonomy":"doc_badge","embeddable":true,"href":"https:\/\/docs.tawarly.com\/ar\/wp-json\/wp\/v2\/doc_badge?post=7792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}