{"id":4778,"date":"2026-03-30T08:36:18","date_gmt":"2026-03-30T08:36:18","guid":{"rendered":"https:\/\/tinyurl.com\/blog\/?p=4778"},"modified":"2026-04-29T13:11:07","modified_gmt":"2026-04-29T13:11:07","slug":"how-create-modify-api-token","status":"publish","type":"post","link":"https:\/\/tinyurl.com\/blog\/how-create-modify-api-token\/","title":{"rendered":"How to Create or Modify an API Token With Specific Permissions?"},"content":{"rendered":"\n<p style=\"font-size:16px\">Here are the instructions on how to create an API token with specific permissions:<\/p>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ol class=\"wp-block-list\">\n<li style=\"font-size:16px\">Login to your account.<\/li>\n<\/ol>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li style=\"font-size:16px\">Go to&nbsp;<a href=\"https:\/\/tinyurl.com\/app\/settings\/api\" target=\"_blank\" rel=\"noreferrer noopener\">Profile &gt; API<\/a><\/li>\n<\/ol>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li style=\"font-size:16px\">Next step is to create a token by entering Token Name and allow at least permissions for your use case. The general guideline is that permissions should be as restrictive as possible for information security reasons. For example, you can create an API token which can be used to create, update, change and delete a TinyURL by checking the relevant checkboxes as shown in the below screenshot<\/li>\n<\/ol>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"888\" height=\"522\" src=\"https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/Settings_API_Token_Management.png\" alt=\"\" class=\"wp-image-5043\" srcset=\"https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/Settings_API_Token_Management.png 888w, https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/Settings_API_Token_Management-300x176.png 300w, https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/Settings_API_Token_Management-768x451.png 768w\" sizes=\"(max-width: 888px) 100vw, 888px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li style=\"font-size:16px\">Click \u201cCreate Token\u201d to create an API token with the selected permissions. This will result in the following pop up on the right with the API token shown.<\/li>\n<\/ol>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"469\" src=\"https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/API_Token_Slider-1024x469.png\" alt=\"\" class=\"wp-image-5045\" srcset=\"https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/API_Token_Slider-1024x469.png 1024w, https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/API_Token_Slider-300x137.png 300w, https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/API_Token_Slider-768x352.png 768w, https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/API_Token_Slider.png 1446w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li style=\"font-size:16px\">You need to copy the API token and save it in safe space so that it can be used when needed. Please note that if your API token is compromised, it can be used to manage your TinyURLs so pay special attention to keep it private.<\/li>\n<\/ol>\n\n\n\n<div style=\"height:16px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li style=\"font-size:16px\">It is possible to modify the permissions or delete the API token from the same page. To do any of these, please click on the gear icon button in front of every token on the right.<\/li>\n<\/ol>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"363\" src=\"https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/API_Edit-1024x363.png\" alt=\"\" class=\"wp-image-5046\" srcset=\"https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/API_Edit-1024x363.png 1024w, https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/API_Edit-300x106.png 300w, https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/API_Edit-768x272.png 768w, https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/API_Edit.png 1416w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"490\" height=\"694\" src=\"https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/API_Edit_Slider.png\" alt=\"\" class=\"wp-image-5047\" srcset=\"https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/API_Edit_Slider.png 490w, https:\/\/tinyurl.com\/blog\/wp-content\/uploads\/2026\/03\/API_Edit_Slider-212x300.png 212w\" sizes=\"(max-width: 490px) 100vw, 490px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are the instructions on how to create an API token with specific permissions:<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[60],"tags":[67],"class_list":["post-4778","post","type-post","status-publish","format-standard","hentry","category-help","tag-api-help"],"_links":{"self":[{"href":"https:\/\/tinyurl.com\/blog\/wp-json\/wp\/v2\/posts\/4778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tinyurl.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tinyurl.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tinyurl.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/tinyurl.com\/blog\/wp-json\/wp\/v2\/comments?post=4778"}],"version-history":[{"count":7,"href":"https:\/\/tinyurl.com\/blog\/wp-json\/wp\/v2\/posts\/4778\/revisions"}],"predecessor-version":[{"id":5049,"href":"https:\/\/tinyurl.com\/blog\/wp-json\/wp\/v2\/posts\/4778\/revisions\/5049"}],"wp:attachment":[{"href":"https:\/\/tinyurl.com\/blog\/wp-json\/wp\/v2\/media?parent=4778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tinyurl.com\/blog\/wp-json\/wp\/v2\/categories?post=4778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tinyurl.com\/blog\/wp-json\/wp\/v2\/tags?post=4778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}