
{"id":9598,"date":"2023-06-15T23:30:56","date_gmt":"2023-06-15T23:30:56","guid":{"rendered":"https:\/\/when2work.com\/help\/mgr\/?page_id=9598"},"modified":"2023-07-23T23:33:22","modified_gmt":"2023-07-23T23:33:22","slug":"api-key-options","status":"publish","type":"page","link":"https:\/\/when2work.com\/help\/mgr\/api-key-options\/","title":{"rendered":"API Key &#038; Options &#8211; Pro Plan"},"content":{"rendered":"<div class=\"inforight\">\n<h4 style=\"text-align: center;\"><strong>Documentation Links<\/strong><\/h4>\n<ul>\n<li style=\"text-align: left;\"><a href=\"https:\/\/when2work.com\/help\/mgr\/api-access\/\">About W2W API<\/a><\/li>\n<li style=\"text-align: left;\"><a href=\"https:\/\/when2work.com\/help\/mgr\/api-setup\/\">API Setup<\/a><\/li>\n<li style=\"text-align: left;\"><strong><a href=\"https:\/\/when2work.com\/help\/mgr\/api-key-options\/\">Key &amp; Options<\/a><\/strong><\/li>\n<li style=\"text-align: left;\"><a href=\"https:\/\/when2work.com\/help\/mgr\/api-3rdpartyexports\/\">Preconfigured Third Party Programs<\/a><\/li>\n<li style=\"text-align: left;\"><a href=\"https:\/\/when2work.com\/help\/mgr\/api-general-endpoints\/\">General Endpoints<\/a><\/li>\n<li style=\"text-align: left;\"><a href=\"https:\/\/when2work.com\/help\/mgr\/api-calls\/\">API Calls<\/a><\/li>\n<li style=\"text-align: left;\"><a href=\"https:\/\/when2work.com\/help\/mgr\/api-power-bi\/\">Use with Power BI<\/a><\/li>\n<\/ul>\n<\/div>\n<h3 data-pm-slice=\"1 1 []\"><strong>Key<\/strong><\/h3>\n<p data-pm-slice=\"1 1 []\">You can cancel a previously created key which will disable that key and create a new one.\u00a0 You can also Disable all API access on the account (which would require you re-enabling it later if needed).<\/p>\n<h3 data-pm-slice=\"1 1 []\"><strong>\u00a0Options<\/strong><\/h3>\n<p data-pm-slice=\"1 1 []\">You can check off to include payrate information in API results and also enter IP addresses to restrict API access to those IPs. Multiple IP addresses can be separated by commas and you can use an asterisk for the last portion of the IP to cover all numbers in the last portion.<\/p>\n<p data-pm-slice=\"1 1 []\">Click <strong>Save<\/strong> after setting options.<a href=\"https:\/\/when2work.com\/help\/mgr\/wp-content\/uploads\/sites\/2\/2023\/07\/ss-apitop.png\"><img class=\"aligncenter size-full wp-image-9845\" src=\"https:\/\/when2work.com\/help\/mgr\/wp-content\/uploads\/sites\/2\/2023\/07\/ss-apitop.png\" alt=\"\" width=\"1327\" height=\"1131\" srcset=\"https:\/\/when2work.com\/help\/mgr\/wp-content\/uploads\/sites\/2\/2023\/07\/ss-apitop.png 1327w, https:\/\/when2work.com\/help\/mgr\/wp-content\/uploads\/sites\/2\/2023\/07\/ss-apitop-300x256.png 300w, https:\/\/when2work.com\/help\/mgr\/wp-content\/uploads\/sites\/2\/2023\/07\/ss-apitop-1024x873.png 1024w, https:\/\/when2work.com\/help\/mgr\/wp-content\/uploads\/sites\/2\/2023\/07\/ss-apitop-768x655.png 768w\" sizes=\"(max-width: 1327px) 100vw, 1327px\" \/><\/a><\/p>\n<p data-pm-slice=\"1 1 []\">\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Documentation Links About W2W API API Setup Key &amp; Options Preconfigured Third Party Programs General Endpoints API Calls Use with Power BI Key You can&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/when2work.com\/help\/mgr\/api-key-options\/\">More<span class=\"screen-reader-text\">API Key &#038; Options &#8211; Pro Plan<\/span><\/a><\/div>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/when2work.com\/help\/mgr\/wp-json\/wp\/v2\/pages\/9598"}],"collection":[{"href":"https:\/\/when2work.com\/help\/mgr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/when2work.com\/help\/mgr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/when2work.com\/help\/mgr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/when2work.com\/help\/mgr\/wp-json\/wp\/v2\/comments?post=9598"}],"version-history":[{"count":18,"href":"https:\/\/when2work.com\/help\/mgr\/wp-json\/wp\/v2\/pages\/9598\/revisions"}],"predecessor-version":[{"id":9890,"href":"https:\/\/when2work.com\/help\/mgr\/wp-json\/wp\/v2\/pages\/9598\/revisions\/9890"}],"wp:attachment":[{"href":"https:\/\/when2work.com\/help\/mgr\/wp-json\/wp\/v2\/media?parent=9598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}