

<!-- Home: no -->{"id":53404,"date":"2022-06-02T12:00:40","date_gmt":"2022-06-02T12:00:40","guid":{"rendered":"https:\/\/z2023devstaging.kinsta.cloud\/?page_id=53404"},"modified":"2022-10-18T09:03:40","modified_gmt":"2022-10-18T09:03:40","slug":"get-a-token-for-accessing-the-api","status":"publish","type":"page","link":"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/","title":{"rendered":"Get a token for accessing the API"},"content":{"rendered":"<p><strong>You need to have a &#8220;token&#8221; as your key for accessing the API. <\/strong><\/p>\n<div class=\"article-image-wrapper\"><img loading=\"lazy\" class=\"aligncenter size-large wp-image-53405\" src=\"https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2022\/06\/angela-merenkova-OVGrZBZIhzo-unsplash-1024x683.jpg\" alt=\"\" width=\"1024\" height=\"683\" srcset=\"https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2022\/06\/angela-merenkova-OVGrZBZIhzo-unsplash-1024x683.jpg 1024w, https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2022\/06\/angela-merenkova-OVGrZBZIhzo-unsplash-300x200.jpg 300w, https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2022\/06\/angela-merenkova-OVGrZBZIhzo-unsplash-768x512.jpg 768w, https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2022\/06\/angela-merenkova-OVGrZBZIhzo-unsplash-1536x1024.jpg 1536w, https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2022\/06\/angela-merenkova-OVGrZBZIhzo-unsplash.jpg 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/div>\n<p>Some of the Sonetel APIs are open and do not require any token &#8211; but <a href=\"https:\/\/docs.sonetel.com\/docs\/sonetel-documentation\/ZG9jOjcxNjE0-introduction\" target=\"_blank\" rel=\"noopener\">most of them do<\/a>.<\/p>\n<p>For testing purposes, you can get a <a href=\"https:\/\/ai-staging-app.sonetel.com\/account-settings\/developer-api\" target=\"_blank\" rel=\"noopener\">temporary token here<\/a>.<\/p>\n<p>Once you have tested, and want to create &#8220;the real thing&#8221;, you will need to have your code generate new tokens, by using the email address and password you used when <a href=\"https:\/\/ai-staging-app.sonetel.com\/register?tag=api-developer&amp;simple=true\" target=\"_blank\" rel=\"noopener\">signing up<\/a> for your Sonetel account. The approach is <a href=\"https:\/\/docs.sonetel.com\/docs\/sonetel-documentation\/YXBpOjExMzI3NDM3-authentication\" target=\"_blank\" rel=\"noopener\">described here<\/a>. Read more about <a href=\"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/token\/\">tokens<\/a> here.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<p>Photo by <a href=\"https:\/\/unsplash.com\/es\/@mangelinka?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText\">Angela Merenkova<\/a> on <a href=\"https:\/\/unsplash.com\/s\/photos\/keys?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText\">Unsplash<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You need to have a &#8220;token&#8221; as your key for accessing the API. Some of the Sonetel APIs are open&#8230;<\/p>\n","protected":false},"author":3,"featured_media":53405,"parent":53364,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"templates\/help-subtopic-subsite.php","meta":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"description\" content=\"You need to have a &quot;token&quot; as your key for accessing the API. Some of the Sonetel APIs are open and do not require any token - but most of them do. For\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Get a token for accessing the API - Sonetel\" \/>\n<meta property=\"og:description\" content=\"You need to have a &quot;token&quot; as your key for accessing the API. Some of the Sonetel APIs are open and do not require any token - but most of them do. For\" \/>\n<meta property=\"og:url\" content=\"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Sonetel\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sonetel\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-18T09:03:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2022\/06\/angela-merenkova-OVGrZBZIhzo-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@Sonetel\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/z2023devstaging.kinsta.cloud\/ar\/#organization\",\"name\":\"Sonetel\",\"url\":\"https:\/\/z2023devstaging.kinsta.cloud\/ar\/\",\"sameAs\":[\"https:\/\/www.facebook.com\/sonetel\",\"https:\/\/www.linkedin.com\/company\/sonetel\",\"https:\/\/twitter.com\/Sonetel\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/z2023devstaging.kinsta.cloud\/ar\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2017\/10\/logo_horizontal.png\",\"contentUrl\":\"https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2017\/10\/logo_horizontal.png\",\"width\":137,\"height\":44,\"caption\":\"Sonetel\"},\"image\":{\"@id\":\"https:\/\/z2023devstaging.kinsta.cloud\/ar\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/z2023devstaging.kinsta.cloud\/ar\/#website\",\"url\":\"https:\/\/z2023devstaging.kinsta.cloud\/ar\/\",\"name\":\"Sonetel\",\"description\":\"A TELEPHONE SERVICE FOR GLOBAL ENTREPRENEURS\",\"publisher\":{\"@id\":\"https:\/\/z2023devstaging.kinsta.cloud\/ar\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/z2023devstaging.kinsta.cloud\/ar\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2022\/06\/angela-merenkova-OVGrZBZIhzo-unsplash.jpg\",\"contentUrl\":\"https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2022\/06\/angela-merenkova-OVGrZBZIhzo-unsplash.jpg\",\"width\":1920,\"height\":1280},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/#webpage\",\"url\":\"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/\",\"name\":\"Get a token for accessing the API - Sonetel\",\"isPartOf\":{\"@id\":\"https:\/\/z2023devstaging.kinsta.cloud\/ar\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/#primaryimage\"},\"datePublished\":\"2022-06-02T12:00:40+00:00\",\"dateModified\":\"2022-10-18T09:03:40+00:00\",\"description\":\"You need to have a \\\"token\\\" as your key for accessing the API. Some of the Sonetel APIs are open and do not require any token - but most of them do. For\",\"breadcrumb\":{\"@id\":\"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/z2023devstaging.kinsta.cloud\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Developer\",\"item\":\"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Help\",\"item\":\"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Getting started\",\"item\":\"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Get a token for accessing the API\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"description":"You need to have a \"token\" as your key for accessing the API. Some of the Sonetel APIs are open and do not require any token - but most of them do. For","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:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/","og_locale":"en_US","og_type":"article","og_title":"Get a token for accessing the API - Sonetel","og_description":"You need to have a \"token\" as your key for accessing the API. Some of the Sonetel APIs are open and do not require any token - but most of them do. For","og_url":"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/","og_site_name":"Sonetel","article_publisher":"https:\/\/www.facebook.com\/sonetel","article_modified_time":"2022-10-18T09:03:40+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2022\/06\/angela-merenkova-OVGrZBZIhzo-unsplash.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@Sonetel","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/z2023devstaging.kinsta.cloud\/ar\/#organization","name":"Sonetel","url":"https:\/\/z2023devstaging.kinsta.cloud\/ar\/","sameAs":["https:\/\/www.facebook.com\/sonetel","https:\/\/www.linkedin.com\/company\/sonetel","https:\/\/twitter.com\/Sonetel"],"logo":{"@type":"ImageObject","@id":"https:\/\/z2023devstaging.kinsta.cloud\/ar\/#logo","inLanguage":"en-US","url":"https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2017\/10\/logo_horizontal.png","contentUrl":"https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2017\/10\/logo_horizontal.png","width":137,"height":44,"caption":"Sonetel"},"image":{"@id":"https:\/\/z2023devstaging.kinsta.cloud\/ar\/#logo"}},{"@type":"WebSite","@id":"https:\/\/z2023devstaging.kinsta.cloud\/ar\/#website","url":"https:\/\/z2023devstaging.kinsta.cloud\/ar\/","name":"Sonetel","description":"A TELEPHONE SERVICE FOR GLOBAL ENTREPRENEURS","publisher":{"@id":"https:\/\/z2023devstaging.kinsta.cloud\/ar\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/z2023devstaging.kinsta.cloud\/ar\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/#primaryimage","inLanguage":"en-US","url":"https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2022\/06\/angela-merenkova-OVGrZBZIhzo-unsplash.jpg","contentUrl":"https:\/\/z2023devstaging.kinsta.cloud\/wp-content\/uploads\/2022\/06\/angela-merenkova-OVGrZBZIhzo-unsplash.jpg","width":1920,"height":1280},{"@type":"WebPage","@id":"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/#webpage","url":"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/","name":"Get a token for accessing the API - Sonetel","isPartOf":{"@id":"https:\/\/z2023devstaging.kinsta.cloud\/ar\/#website"},"primaryImageOfPage":{"@id":"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/#primaryimage"},"datePublished":"2022-06-02T12:00:40+00:00","dateModified":"2022-10-18T09:03:40+00:00","description":"You need to have a \"token\" as your key for accessing the API. Some of the Sonetel APIs are open and do not require any token - but most of them do. For","breadcrumb":{"@id":"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/get-a-token-for-accessing-the-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/z2023devstaging.kinsta.cloud\/en\/"},{"@type":"ListItem","position":2,"name":"Developer","item":"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/"},{"@type":"ListItem","position":3,"name":"Help","item":"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/"},{"@type":"ListItem","position":4,"name":"Getting started","item":"https:\/\/z2023devstaging.kinsta.cloud\/en\/developer\/help\/getting-started\/"},{"@type":"ListItem","position":5,"name":"Get a token for accessing the API"}]}]}},"_links":{"self":[{"href":"https:\/\/z2023devstaging.kinsta.cloud\/en\/wp-json\/wp\/v2\/pages\/53404"}],"collection":[{"href":"https:\/\/z2023devstaging.kinsta.cloud\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/z2023devstaging.kinsta.cloud\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/z2023devstaging.kinsta.cloud\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/z2023devstaging.kinsta.cloud\/en\/wp-json\/wp\/v2\/comments?post=53404"}],"version-history":[{"count":5,"href":"https:\/\/z2023devstaging.kinsta.cloud\/en\/wp-json\/wp\/v2\/pages\/53404\/revisions"}],"predecessor-version":[{"id":57880,"href":"https:\/\/z2023devstaging.kinsta.cloud\/en\/wp-json\/wp\/v2\/pages\/53404\/revisions\/57880"}],"up":[{"embeddable":true,"href":"https:\/\/z2023devstaging.kinsta.cloud\/en\/wp-json\/wp\/v2\/pages\/53364"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/z2023devstaging.kinsta.cloud\/en\/wp-json\/wp\/v2\/media\/53405"}],"wp:attachment":[{"href":"https:\/\/z2023devstaging.kinsta.cloud\/en\/wp-json\/wp\/v2\/media?parent=53404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}