{"id":14205,"date":"2021-10-09T09:14:20","date_gmt":"2021-10-09T09:14:20","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=14205"},"modified":"2026-02-27T13:22:15","modified_gmt":"2026-02-27T07:52:15","slug":"create-manage-api-tokens-cpanel","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/","title":{"rendered":"How to Create and Manage API Tokens in cPanel?"},"content":{"rendered":"<p><strong>Watch this video for a step by step process on How to Create and Manage API Tokens in cPanel<\/strong><\/p>\n<div class=\"youtube-video\" style=\"border: 1px solid #ddd;\"><iframe src=\"https:\/\/www.youtube.com\/embed\/rDgbO_5TcMY\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<p>API is a unique identifier or authentication that allows an application to access a service. It is possible to create and manage API Tokens in cPanel from version 80 onwards. The main function of the API token is to grant a user access to the server without logging in with a password.<\/p>\n<p>So, by issuing API tokens, it is possible to grant permissions to resellers or third-party developers to carry API2 and UAPI operations.<\/p>\n<p>1. Log in to your cPanel account.<\/p>\n<p>2. Go to the <strong>SECURITY<\/strong> section and click on <strong>Manage API Tokens<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13250\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/10\/cp_manage_api_tokens.png\" alt=\"\" width=\"1357\" height=\"308\" \/><\/p>\n<p>The Manage API Tokens panel will appear.<\/p>\n<p>You will first have to create a new API token.<\/p>\n<h2>To Create API Tokens<\/h2>\n<ol>\n<li>Enter the name for the API token in the <strong>API Token Name<\/strong> field.<\/li>\n<li>Choose the <strong>Specify an expiration date<\/strong> option.<\/li>\n<li>Select a date from the calendar in the <strong>API Token Expiration Date<\/strong>. The token will remain usable till that date.<\/li>\n<li>Click on <strong>Create<\/strong>.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13251\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/10\/cp_create_api_tokens.png\" alt=\"\" width=\"1191\" height=\"649\" \/><\/p>\n<div class=\"kb-box-focus kb-box-focus-rounded kb-box-focus-blue\"><strong>Note:\u00a0<\/strong>Although you can choose <strong>The API Token will not expire<\/strong> option, we strongly recommend you don&#8217;t.<\/div>\n<p>A success message will appear as cPanel will create a new token.<\/p>\n<p>5. Copy the API token someplace discreet to share it with your operator later.<\/p>\n<p>6. Click on the <strong>Yes, I Saved My Token<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13252\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/10\/cp_save_api_token.png\" alt=\"\" width=\"784\" height=\"653\" \/><\/p>\n<p>The API token you created will now appear in the list for the active API tokens.<\/p>\n<h2>To Manage API Tokens<\/h2>\n<p>1. Click the <strong>Manage<\/strong> button for the API token you want to manage.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13253\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/10\/cp_manage_api_token_test.png\" alt=\"\" width=\"1206\" height=\"567\" \/><\/p>\n<p>Here, there will be two sections-<\/p>\n<ul>\n<li><strong>MANAGE API TOKEN<\/strong>: Here, you can change the name for the API Token.<\/li>\n<li><strong>REVOKE API TOKEN<\/strong>: It allows you to discard the API token.<\/li>\n<\/ul>\n<h3>MANAGE API TOKEN<\/h3>\n<ol>\n<li>Enter the new name for the API token in the <strong>New API Token Name<\/strong> field.<\/li>\n<li>Click the <strong>Update<\/strong> button.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13255\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/10\/cp_update_api_token.png\" alt=\"\" width=\"790\" height=\"588\" \/><\/p>\n<p>The name of the API token will change to the new one you just updated.<\/p>\n<h3>REVOKE API TOKEN<\/h3>\n<p>1. Click on <strong>Revoke The Token<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13256\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/10\/cp_revoke_api_token.png\" alt=\"\" width=\"794\" height=\"233\" \/>A message will flash asking for your confirmation.<\/p>\n<p>2. Click on the\u00a0<strong>Yes, Revoke The Token<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13259\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/10\/cp_revoke_the_api_token.png\" alt=\"\" width=\"788\" height=\"300\" \/><\/p>\n<p>The system will turn the API Token invalid and remove it from the list of active tokens.<\/p>\n<p>That is all there is to know about configuring API tokens in cPanel.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Watch this video for a step by step process on How to Create and Manage API Tokens in cPanel API is a unique identifier or authentication that allows an application to access a service. It is possible to create and manage API Tokens in cPanel from version 80 onwards. The main function of the API [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3053],"tags":[2095,2550,2551,2549,2548,2552,2046],"class_list":["post-14205","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-advanced-features-and-whm","tag-access-cpanel","tag-api-access","tag-api-access-cpanel","tag-api-token","tag-api-tokens-cpanel","tag-cpanel-api","tag-cpanel-users"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Create and Manage API Tokens in cPanel?<\/title>\n<meta name=\"description\" content=\"cPanel has become a system with API access. In this guide, we have shown how to create and manage the API tokens in cPanel.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create and Manage API Tokens in cPanel?\" \/>\n<meta property=\"og:description\" content=\"cPanel has become a system with API access. In this guide, we have shown how to create and manage the API tokens in cPanel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-09T09:14:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-27T07:52:15+00:00\" \/>\n<meta name=\"author\" content=\"Prasad Khartadkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prasad Khartadkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/create-manage-api-tokens-cpanel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/create-manage-api-tokens-cpanel\\\/\"},\"author\":{\"name\":\"Prasad Khartadkar\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#\\\/schema\\\/person\\\/c9138a9488172a8d0aa2d4f40878d83e\"},\"headline\":\"How to Create and Manage API Tokens in cPanel?\",\"datePublished\":\"2021-10-09T09:14:20+00:00\",\"dateModified\":\"2026-02-27T07:52:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/create-manage-api-tokens-cpanel\\\/\"},\"wordCount\":387,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/create-manage-api-tokens-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/cp_manage_api_tokens.png\",\"keywords\":[\"access cpanel\",\"API access\",\"API access cPanel\",\"API token\",\"API tokens cPanel\",\"cPanel API\",\"cPanel users\"],\"articleSection\":[\"Advanced Features and WHM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/create-manage-api-tokens-cpanel\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/create-manage-api-tokens-cpanel\\\/\",\"url\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/create-manage-api-tokens-cpanel\\\/\",\"name\":\"How to Create and Manage API Tokens in cPanel?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/create-manage-api-tokens-cpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/create-manage-api-tokens-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/cp_manage_api_tokens.png\",\"datePublished\":\"2021-10-09T09:14:20+00:00\",\"dateModified\":\"2026-02-27T07:52:15+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#\\\/schema\\\/person\\\/c9138a9488172a8d0aa2d4f40878d83e\"},\"description\":\"cPanel has become a system with API access. In this guide, we have shown how to create and manage the API tokens in cPanel.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/create-manage-api-tokens-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/create-manage-api-tokens-cpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/create-manage-api-tokens-cpanel\\\/#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/create-manage-api-tokens-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create and Manage API Tokens in cPanel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#website\",\"url\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/#\\\/schema\\\/person\\\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Prasad-K.-1-150x150.jpg\",\"url\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Prasad-K.-1-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Prasad-K.-1-150x150.jpg\",\"caption\":\"Prasad Khartadkar\"},\"description\":\"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.\",\"sameAs\":[\"https:\\\/\\\/www.milesweb.in\"],\"url\":\"https:\\\/\\\/www.milesweb.in\\\/hosting-faqs\\\/author\\\/prasad-khartadkar\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create and Manage API Tokens in cPanel?","description":"cPanel has become a system with API access. In this guide, we have shown how to create and manage the API tokens in cPanel.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to Create and Manage API Tokens in cPanel?","og_description":"cPanel has become a system with API access. In this guide, we have shown how to create and manage the API tokens in cPanel.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-10-09T09:14:20+00:00","article_modified_time":"2026-02-27T07:52:15+00:00","author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/"},"author":{"name":"Prasad Khartadkar","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"headline":"How to Create and Manage API Tokens in cPanel?","datePublished":"2021-10-09T09:14:20+00:00","dateModified":"2026-02-27T07:52:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/"},"wordCount":387,"commentCount":0,"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/10\/cp_manage_api_tokens.png","keywords":["access cpanel","API access","API access cPanel","API token","API tokens cPanel","cPanel API","cPanel users"],"articleSection":["Advanced Features and WHM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/","name":"How to Create and Manage API Tokens in cPanel?","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/10\/cp_manage_api_tokens.png","datePublished":"2021-10-09T09:14:20+00:00","dateModified":"2026-02-27T07:52:15+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"description":"cPanel has become a system with API access. In this guide, we have shown how to create and manage the API tokens in cPanel.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/create-manage-api-tokens-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Create and Manage API Tokens in cPanel?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","caption":"Prasad Khartadkar"},"description":"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.","sameAs":["https:\/\/www.milesweb.in"],"url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=14205"}],"version-history":[{"count":2,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14205\/revisions"}],"predecessor-version":[{"id":14481,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14205\/revisions\/14481"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=14205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=14205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=14205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}