{"id":3805,"date":"2026-03-12T14:05:29","date_gmt":"2026-03-12T19:05:29","guid":{"rendered":"https:\/\/www.mysmartbots.com\/blog\/?p=3805"},"modified":"2026-03-12T14:05:30","modified_gmt":"2026-03-12T19:05:30","slug":"bot-access-code-new-api-tokens","status":"publish","type":"post","link":"https:\/\/www.mysmartbots.com\/blog\/2026\/03\/bot-access-code-new-api-tokens\/","title":{"rendered":"Bot Access Code: New API Tokens"},"content":{"rendered":"\n<div class=\"wp-block-image post-image\"><figure class=\"alignright size-large\"><img loading=\"lazy\" width=\"250\" height=\"195\" src=\"https:\/\/www.mysmartbots.com\/blog\/wp-content\/smartbots\/2026\/03\/SB-Updates1.png\" alt=\"\" class=\"wp-image-3809\"\/><\/figure><\/div>\n\n\n\n<p>A new security feature has been deployed: <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.mysmartbots.com\/docs\/Bot_access_code\" data-type=\"URL\" data-id=\"https:\/\/www.mysmartbots.com\/docs\/Bot_access_code\" target=\"_blank\">bot API tokens<\/a><\/strong>: a safer and more flexible alternative to existing <strong>Bot Access Codes<\/strong>.<\/p>\n\n\n\n<p>Until now, bot integrations used a single Bot Access Code. This code was often shared across multiple scripts, websites, or in-world devices.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2>About API tokens<\/h2>\n\n\n\n<p>You can now create <strong>multiple tokens<\/strong> for programmatic bot access. Each token can be managed independently.<\/p>\n\n\n\n<p>New API tokens allow to:<\/p>\n\n\n\n<ul><li>create multiple access credentials for different scripts or services,<\/li><li>set expiration dates,<\/li><li>revoke tokens anytime,<\/li><li>track when a token was last used.<\/li><\/ul>\n\n\n\n<h2>API Tokens creation and usage<\/h2>\n\n\n\n<p>Bot AccessTokens are available in the <strong>Bot Control Panel \u2192 Access Code &amp; API Tokens<\/strong> page. API Token can be used anywhere as a drop-in replacement of old Bot Access Code. You can also mix the usage of new tokens and the old Access Code.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"891\" height=\"579\" src=\"https:\/\/www.mysmartbots.com\/blog\/wp-content\/smartbots\/2026\/03\/image.png\" alt=\"\" class=\"wp-image-3806\"\/><\/figure>\n\n\n\n<p>You can continue using the traditional <strong>Bot Access Code<\/strong>, but we recommend switching to tokens for a better security and control.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A new security feature has been deployed: bot API tokens: a safer and more flexible alternative to existing Bot Access Codes. Until now, bot integrations used a single Bot Access Code. This code was often shared across multiple scripts, websites, or in-world devices.<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[144,146,352],"tags":[145,310,366,250],"_links":{"self":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/3805"}],"collection":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/comments?post=3805"}],"version-history":[{"count":5,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/3805\/revisions"}],"predecessor-version":[{"id":3817,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/3805\/revisions\/3817"}],"wp:attachment":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/media?parent=3805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/categories?post=3805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/tags?post=3805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}