{"id":3819,"date":"2026-11-18T01:45:54","date_gmt":"2026-11-18T06:45:54","guid":{"rendered":"https:\/\/tolinku.com\/support\/why-am-i-getting-401-unauthorized\/"},"modified":"2026-11-22T18:53:01","modified_gmt":"2026-11-22T23:53:01","slug":"pourquoi-ai-je-une-erreur-401-non-autorise","status":"publish","type":"tolinku_support","link":"https:\/\/tolinku.com\/fr\/support\/why-am-i-getting-401-unauthorized\/","title":{"rendered":"Pourquoi est-ce que j'obtiens une erreur 401 Unauthorized ?"},"content":{"rendered":"<p>La cl\u00e9 est absente, mal form\u00e9e ou du mauvais type. Les endpoints de lecture demandent une cl\u00e9 secr\u00e8te (<code>tolk_sec_<\/code>) ; une cl\u00e9 publiable (<code>tolk_pub_<\/code>) peut seulement envoyer des \u00e9v\u00e9nements.<\/p>\n<p>A revoked key reads the same way, since revocation is immediate and permanent. See <a href=\"https:\/\/tolinku.com\/docs\/fr\/troubleshooting\/common-issues\/#api-returns-401-unauthorized\">L'API renvoie 401 Unauthorized<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>The key is missing, malformed, or the wrong kind. Read endpoints need a secret key (tolk_sec_); a publishable key (tolk_pub_) can only write events. A revoked key reads the same way, since revocation is immediate and permanent. See API returns 401 Unauthorized.<\/p>","protected":false},"template":"","meta":{"rank_math_title":"","rank_math_description":"","rank_math_focus_keyword":"","rank_math_canonical_url":"","rank_math_facebook_title":"","rank_math_facebook_description":"","rank_math_facebook_image":"","rank_math_facebook_image_id":"","rank_math_twitter_title":"","rank_math_twitter_description":"","rank_math_twitter_image":"","footnotes":""},"tolinku_support_cat":[681],"class_list":["post-3819","tolinku_support","type-tolinku_support","status-publish","hentry","tolinku_support_cat-data"],"_links":{"self":[{"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/support\/3819","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/support"}],"about":[{"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/types\/tolinku_support"}],"version-history":[{"count":1,"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/support\/3819\/revisions"}],"predecessor-version":[{"id":3894,"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/support\/3819\/revisions\/3894"}],"wp:attachment":[{"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/media?parent=3819"}],"wp:term":[{"taxonomy":"tolinku_support_cat","embeddable":true,"href":"https:\/\/tolinku.com\/fr\/wp-json\/wp\/v2\/tolinku_support_cat?post=3819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}