{"id":1418,"date":"2021-09-09T15:48:36","date_gmt":"2021-09-09T11:48:36","guid":{"rendered":"https:\/\/blog.keitaro.io\/en\/?p=1418"},"modified":"2024-12-02T12:03:22","modified_gmt":"2024-12-02T10:03:22","slug":"admin-api-article","status":"publish","type":"post","link":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/","title":{"rendered":"Admin API in Keitaro Tracker: How to Work with It?"},"content":{"rendered":"\n<p>Today, let\u2019s dive into the Admin API: why it\u2019s essential, the problems it addresses, and how to correctly structure API requests for the tracker.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Admin API Interface<\/strong><\/h2>\n\n\n\n<p>The <strong>Application Programming Interface (API)<\/strong> describes how one computer program can interact with another program.<\/p>\n\n\n\n<p>Keitaro Admin API is an interface that allows you to control the admin panel of Keitaro Tracker through incoming requests. That is, without going into the tracker admin panel, you can, for example, create a campaign with the necessary settings, change stream content, or generate a conversion report, whether it be through a server script or an external application like Postman.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Actual Application of the Admin API<\/strong><\/h2>\n\n\n\n<p>The Admin API is often used when it is necessary to automate routine scripts or work with large amounts of data.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Example A<\/strong><\/h3>\n\n\n\n<p>The client wants to download relevant conversions from the tracker every six hours and send the list to their CRM.<\/p>\n\n\n\n<p>When working through the web interface, conversions will have to be downloaded manually. Then will have to convert the received report from CSV or Excel to the required format for CRM and send it manually.<\/p>\n\n\n\n<p>The Admin API allows you to form a server request to receive the desired report, which can then be automatically parsed, converted, and sent to CRM. All this can be placed in one script file, which the scheduler will run every 6 hours, as specified in the condition.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Example B<\/strong><\/h3>\n\n\n\n<p>Every 24 hours, the client receives a list of 100 domains that need to be added to Keitaro Tracker.<\/p>\n\n\n\n<p>In manual mode, the list will need to be converted to a string, where each value must be separated by a separator. After that, add the domains to the tracker.<\/p>\n\n\n\n<p>Using the Admin API, the list of domains will automatically be generated and can, by a server request, be added to the tracker. This task can also be executed according to a schedule or depending on a trigger event.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How Do I Use Admin API?<\/strong><\/h2>\n\n\n\n<p>For simple and convenient work with the Admin API, it is desirable to have at least basic skills in working with any of the server-side languages: PHP, Node, Python, etc. But if you wish, this interface can also be mastered by a technically inexperienced person.<\/p>\n\n\n\n<p>In simple terms, the tracker has an entry point (a specific address) to which you send a request (the principle is similar to when you type a website address into your browser).&nbsp;<\/p>\n\n\n\n<p>Then, depending on the specified request parameters, you receive one or another response.<\/p>\n\n\n\n<p>To carry out this request and have it validated, you need to:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Use an authorization key (roughly speaking, your password, which will prevent third-party users from receiving information).<\/li>\n\n\n\n<li>Use the correct query type.<\/li>\n\n\n\n<li>Set the required parameters (needed for requests to create entities, such as creating a campaign).<\/li>\n<\/ol>\n\n\n\n<p>You can get the authorization key from inside the tracker in <strong>Service \u2014> Users \u2014> Key for Admin API<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"381\" src=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-09-09-at-13.54.19-1024x381.png\" alt=\"\" class=\"wp-image-1420\" srcset=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-09-09-at-13.54.19-1024x381.png 1024w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-09-09-at-13.54.19-520x193.png 520w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-09-09-at-13.54.19-400x149.png 400w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-09-09-at-13.54.19-768x286.png 768w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-09-09-at-13.54.19-1536x571.png 1536w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-09-09-at-13.54.19.png 1796w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>As for the query type, the following set is used when working with the Keitaro Admin API:<\/p>\n\n\n\n<p>1. <strong>GET <\/strong>\u2014 to get information, for example, a list of tracker campaigns:<\/p>\n\n\n\n<p><span class=\"crayon-inline font-size:16 lang:default decode:true\">https:\/\/keitarosupport1.xyz\/admin_api\/v1\/campaigns<\/span><\/p>\n\n\n\n<p>2. <strong>POST <\/strong>\u2014 for building reports, as well as for creating something, for example, a new campaign in the tracker:<\/p>\n\n\n\n<p><span class=\"crayon-inline font-size:16 lang:default decode:true\">https:\/\/keitarosupport1.xyz\/admin_api\/v1\/campaigns<\/span><\/p>\n\n\n\n<p><strong>Please note<\/strong>: the request address looks the same outwardly. In both cases, we refer to the \u201ctracker entry point,\u201d which contains:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Tracker address<\/strong> \u2014 keitarosupport1.xyz<\/li>\n\n\n\n<li><strong>The Admin API section<\/strong> \u2014 admin_api\/v1\/<\/li>\n\n\n\n<li><strong>A specific subsection of the tracker, campaigns<\/strong> \u2014 campaigns<\/li>\n<\/ul>\n\n\n\n<p>The type of request must be specified when sending. <strong>For example<\/strong>, when using CURL, the queries look like this:<\/p>\n\n\n\n<p><span class=\"crayon-inline font-size:16 lang:default decode:true\">curl -X GET &#8220;https:\/\/keitarosupport1.xyz\/admin_api\/v1\/campaigns&#8221; -H &#8220;accept: application\/json&#8221; -H &#8220;Api-Key: 029e67361fc20e99ad02a8&#8221;<\/span><\/p>\n\n\n\n<p>To create a campaign the query is:<\/p>\n\n\n\n<p><span class=\"crayon-inline font-size:16 lang:default decode:true\">curl -X POST &#8220;https:\/\/keitarosupport1.xyz\/admin_api\/v1\/campaigns&#8221; -H &#8220;accept: application\/json&#8221; -H &#8220;Api-Key: 029e67361fc20e99ad02a8&#8221; -H &#8220;Content-Type: application\/json&#8221; -d &#8220;{\\&#8221; alias\\ &#8220;:\\&#8221; alias\\ &#8220;,\\&#8221; type\\ &#8220;:\\&#8221; position\\ &#8220;,\\&#8221; name\\ &#8220;:\\&#8221; name\\ &#8220;, &#8230;&#8230;&#8230;\\&#8221; url\\ &#8220;:\\&#8221; string\\ &#8220;}]}&#8221;<\/span><\/p>\n\n\n\n<p>3. <strong>PUT <\/strong>\u2014 to update the available data in the tracker.<\/p>\n\n\n\n<p>4. <strong>DELETE <\/strong>\u2014 to delete data in the tracker.<\/p>\n\n\n\n<p>We have now shown the keys and described the types of queries. It remains to view the parameters, and then you can practice making requests. Where can I get the list of required query parameters?<\/p>\n\n\n\n<p>Refer to our documentation: <a href=\"https:\/\/admin-api.docs.keitaro.io\/\">https:\/\/admin-api.docs.keitaro.io<\/a><\/p>\n\n\n\n<p>Find the type of request you want to make. There will also be a list of required parameters. <strong>For example<\/strong>, the list of parameters necessary for creating a campaign in the tracker includes alias and name.\u00a0<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"515\" src=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-10.55.52-1024x515.png\" alt=\"\" class=\"wp-image-1421\" srcset=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-10.55.52-1024x515.png 1024w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-10.55.52-520x261.png 520w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-10.55.52-400x201.png 400w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-10.55.52-768x386.png 768w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-10.55.52-1536x772.png 1536w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-10.55.52.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You can create a campaign by setting only these two parameters. The rest of the campaign settings will be selected by default.<\/p>\n\n\n\n<p>You can also get a ready-made example of the body (body) of the request, in which you only need to replace the stub values \u200b\u200bwith your own, and you can use this code in your request (shown in the screenshot on the right).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Do I Get Started with Admin API?<\/h2>\n\n\n\n<p>If you\u2019ve read this far and are eager to try your hand at building queries and running the Admin API, then the easiest way to get started is to use our Swagger documentation. It is an interface that combines our Admin API documentation and the ability to send genuine requests to the tracker.<\/p>\n\n\n\n<p>Open <strong>Service \u2014> Users \u2014> Keys for Admin API<\/strong>, copy your key, and click on the <strong>Documentation <\/strong>tab. You will be transferred to interactive mode, where you can practice with queries.<\/p>\n\n\n\n<p>First of all, let\u2019s go through authorizations:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"154\" src=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.06.41-1024x154.png\" alt=\"\" class=\"wp-image-1422\" srcset=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.06.41-1024x154.png 1024w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.06.41-520x78.png 520w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.06.41-400x60.png 400w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.06.41-768x115.png 768w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.06.41-1536x230.png 1536w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.06.41.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Select the desired section, for example, creating a campaign:<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"276\" src=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.18.33-1024x276.png\" alt=\"\" class=\"wp-image-1423\" srcset=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.18.33-1024x276.png 1024w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.18.33-520x140.png 520w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.18.33-400x108.png 400w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.18.33-768x207.png 768w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.18.33-1536x413.png 1536w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.18.33.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>2. Click Try it out. This will allow us to edit our query body, which will be sent when the Execute button is clicked. Inside this body, we set our required parameters name, alias, and any additional ones we want to specify when creating a campaign.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"401\" src=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.22.01-1024x401.png\" alt=\"\" class=\"wp-image-1424\" srcset=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.22.01-1024x401.png 1024w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.22.01-520x203.png 520w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.22.01-400x156.png 400w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.22.01-768x300.png 768w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.22.01-1536x601.png 1536w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.22.01.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>3. Click Execute and see our sent request, the request address, and the response from the tracker.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"513\" src=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.27.32-1024x513.png\" alt=\"\" class=\"wp-image-1425\" srcset=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.27.32-1024x513.png 1024w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.27.32-520x260.png 520w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.27.32-400x200.png 400w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.27.32-768x384.png 768w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.27.32-1536x769.png 1536w, https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-08-25-at-11.27.32.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If the request returns an error, you will see a different response status, and the description of the error will be in the Response body field.<\/p>\n\n\n\n<p>You can test any type of request until you get the hang of it and achieve the desired result with the Admin API.<\/p>\n\n\n\n<p>More advanced users can try to work with the Admin API from a third-party application like Postman or write their own server-side script, which will send a request to the Admin API.<\/p>\n\n\n\n<p>Watch our video guide on the formation of non-standard queries:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Admin API Requests\" width=\"930\" height=\"523\" src=\"https:\/\/www.youtube.com\/embed\/-tVrFgwvE_Q?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>If you still have questions about working with the Admin API, you can always write to us in Support through the chat function on keitaro.io or through the <a href=\"https:\/\/t.me\/keitarobot\" target=\"_blank\" rel=\"noreferrer noopener\">Telegram bot<\/a>. We will definitely help you figure it out.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, let\u2019s dive into the Admin API: why it\u2019s essential, the problems it addresses, and how &hellip; <\/p>\n","protected":false},"author":19,"featured_media":1419,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[108,88,20],"tags":[27,26],"class_list":["post-1418","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guide","category-keitaro-tracker-2","category-usecases","tag-adminapi","tag-how-it-works-2"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.6.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"Let&#039;s nalyze the Admin API in detail: why the Admin API is needed, what cases this interface solves, and how to correctly form API requests to the tracker.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Marketing Team\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/blog.keitaro.io\/en\/admin-api-article\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.6.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Keitaro Blog \u00bb Top Trends in Digital Marketing and Ad Tracking\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Admin API in Keitaro Tracker: How to Work with It?\" \/>\n\t\t<meta property=\"og:description\" content=\"Let&#039;s nalyze the Admin API in detail: why the Admin API is needed, what cases this interface solves, and how to correctly form API requests to the tracker.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/blog.keitaro.io\/en\/admin-api-article\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/8.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/8.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"920\" \/>\n\t\t<meta property=\"og:image:height\" content=\"460\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2021-09-09T11:48:36+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-12-02T10:03:22+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/keitaro.tracker\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@keitaro_tracker\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Admin API in Keitaro Tracker: How to Work with It?\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Let&#039;s nalyze the Admin API in detail: why the Admin API is needed, what cases this interface solves, and how to correctly form API requests to the tracker.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@keitaro_tracker\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-02-at-12.18.52\u202fPM.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/admin-api-article\\\/#aioseo-article-65d3a853c53eb\",\"name\":\"Admin API in Keitaro Tracker: How to Work with It?\",\"headline\":\"Admin API in Keitaro Tracker: How to Work with It?\",\"description\":\"Today, let\\u2019s dive into the Admin API: why it\\u2019s essential, the problems it addresses, and how to correctly structure API requests for the tracker. Admin API Interface The Application Programming Interface (API) describes how one computer program can interact with another program. Keitaro Admin API is an interface that allows you to control the admin\",\"author\":{\"@type\":\"Person\",\"name\":\"Marketing Team\",\"url\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/author\\\/marketing-team\\\/\"},\"publisher\":{\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/8.jpg\",\"width\":920,\"height\":460,\"caption\":\"Admin API in Keitaro Tracker\"},\"datePublished\":\"2021-09-09T15:48:36+02:00\",\"dateModified\":\"2024-12-02T12:03:22+02:00\",\"inLanguage\":\"en-US\",\"articleSection\":\"Guide, Keitaro Tracker, Use Cases, adminapi, how it works\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/admin-api-article\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.keitaro.io\\\/en\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/category\\\/usecases\\\/#listItem\",\"name\":\"Use Cases\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/category\\\/usecases\\\/#listItem\",\"position\":2,\"name\":\"Use Cases\",\"item\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/category\\\/usecases\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/admin-api-article\\\/#listItem\",\"name\":\"Admin API in Keitaro Tracker: How to Work with It?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/admin-api-article\\\/#listItem\",\"position\":3,\"name\":\"Admin API in Keitaro Tracker: How to Work with It?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/category\\\/usecases\\\/#listItem\",\"name\":\"Use Cases\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/#organization\",\"name\":\"Keitaro Tracker\",\"description\":\"Keitaro Tracker is a self-hosted ad tracker that gives you complete control over your traffic. Designed specifically for media buying, affiliate marketing, traffic arbitrage, and internet marketing, it ensures privacy, handles large volumes of clicks, and offers extensive customization options.\",\"url\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/\",\"telephone\":\"+16562184636\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Logo-Keitaro-green.png\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/admin-api-article\\\/#organizationLogo\",\"width\":1000,\"height\":442},\"image\":{\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/admin-api-article\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/keitaro.tracker\",\"https:\\\/\\\/twitter.com\\\/keitaro_tracker?lang=en\",\"https:\\\/\\\/www.instagram.com\\\/keitaro_tracker\",\"https:\\\/\\\/www.tiktok.com\\\/@keitaro_tracker\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCtL1YEGv3EolfAor-vFiYaw\",\"https:\\\/\\\/www.linkedin.com\\\/showcase\\\/keitaro-tracker-apliteni\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/author\\\/marketing-team\\\/#author\",\"url\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/author\\\/marketing-team\\\/\",\"name\":\"Marketing Team\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cde99b1f5f99357d4f5f72c02149c9903057bdae61b102b2f71e3d631f1fa1c3?s=96&d=mm&r=g\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/admin-api-article\\\/#webpage\",\"url\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/admin-api-article\\\/\",\"name\":\"Admin API in Keitaro Tracker: How to Work with It?\",\"description\":\"Let's nalyze the Admin API in detail: why the Admin API is needed, what cases this interface solves, and how to correctly form API requests to the tracker.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/admin-api-article\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/author\\\/marketing-team\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/author\\\/marketing-team\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/8.jpg\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/admin-api-article\\\/#mainImage\",\"width\":920,\"height\":460,\"caption\":\"Admin API in Keitaro Tracker\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/admin-api-article\\\/#mainImage\"},\"datePublished\":\"2021-09-09T15:48:36+02:00\",\"dateModified\":\"2024-12-02T12:03:22+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/\",\"name\":\"Keitaro Tracker Blog\",\"alternateName\":\"Keitaro Tracker Blog\",\"description\":\"Top Trends in Digital Marketing and Ad Tracking\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.keitaro.io\\\/en\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>Admin API in Keitaro Tracker: How to Work with It?<\/title>\n\n","aioseo_head_json":{"title":"Admin API in Keitaro Tracker: How to Work with It?","description":"Let's nalyze the Admin API in detail: why the Admin API is needed, what cases this interface solves, and how to correctly form API requests to the tracker.","canonical_url":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/#aioseo-article-65d3a853c53eb","name":"Admin API in Keitaro Tracker: How to Work with It?","headline":"Admin API in Keitaro Tracker: How to Work with It?","description":"Today, let\u2019s dive into the Admin API: why it\u2019s essential, the problems it addresses, and how to correctly structure API requests for the tracker. Admin API Interface The Application Programming Interface (API) describes how one computer program can interact with another program. Keitaro Admin API is an interface that allows you to control the admin","author":{"@type":"Person","name":"Marketing Team","url":"https:\/\/blog.keitaro.io\/en\/author\/marketing-team\/"},"publisher":{"@id":"https:\/\/blog.keitaro.io\/en\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/8.jpg","width":920,"height":460,"caption":"Admin API in Keitaro Tracker"},"datePublished":"2021-09-09T15:48:36+02:00","dateModified":"2024-12-02T12:03:22+02:00","inLanguage":"en-US","articleSection":"Guide, Keitaro Tracker, Use Cases, adminapi, how it works"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/blog.keitaro.io\/en#listItem","position":1,"name":"Home","item":"https:\/\/blog.keitaro.io\/en","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.keitaro.io\/en\/category\/usecases\/#listItem","name":"Use Cases"}},{"@type":"ListItem","@id":"https:\/\/blog.keitaro.io\/en\/category\/usecases\/#listItem","position":2,"name":"Use Cases","item":"https:\/\/blog.keitaro.io\/en\/category\/usecases\/","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/#listItem","name":"Admin API in Keitaro Tracker: How to Work with It?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blog.keitaro.io\/en#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/#listItem","position":3,"name":"Admin API in Keitaro Tracker: How to Work with It?","previousItem":{"@type":"ListItem","@id":"https:\/\/blog.keitaro.io\/en\/category\/usecases\/#listItem","name":"Use Cases"}}]},{"@type":"Organization","@id":"https:\/\/blog.keitaro.io\/en\/#organization","name":"Keitaro Tracker","description":"Keitaro Tracker is a self-hosted ad tracker that gives you complete control over your traffic. Designed specifically for media buying, affiliate marketing, traffic arbitrage, and internet marketing, it ensures privacy, handles large volumes of clicks, and offers extensive customization options.","url":"https:\/\/blog.keitaro.io\/en\/","telephone":"+16562184636","logo":{"@type":"ImageObject","url":"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2024\/08\/Logo-Keitaro-green.png","@id":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/#organizationLogo","width":1000,"height":442},"image":{"@id":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/keitaro.tracker","https:\/\/twitter.com\/keitaro_tracker?lang=en","https:\/\/www.instagram.com\/keitaro_tracker","https:\/\/www.tiktok.com\/@keitaro_tracker","https:\/\/www.youtube.com\/channel\/UCtL1YEGv3EolfAor-vFiYaw","https:\/\/www.linkedin.com\/showcase\/keitaro-tracker-apliteni"]},{"@type":"Person","@id":"https:\/\/blog.keitaro.io\/en\/author\/marketing-team\/#author","url":"https:\/\/blog.keitaro.io\/en\/author\/marketing-team\/","name":"Marketing Team","image":{"@type":"ImageObject","url":"https:\/\/secure.gravatar.com\/avatar\/cde99b1f5f99357d4f5f72c02149c9903057bdae61b102b2f71e3d631f1fa1c3?s=96&d=mm&r=g"}},{"@type":"WebPage","@id":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/#webpage","url":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/","name":"Admin API in Keitaro Tracker: How to Work with It?","description":"Let's nalyze the Admin API in detail: why the Admin API is needed, what cases this interface solves, and how to correctly form API requests to the tracker.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/blog.keitaro.io\/en\/#website"},"breadcrumb":{"@id":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/#breadcrumblist"},"author":{"@id":"https:\/\/blog.keitaro.io\/en\/author\/marketing-team\/#author"},"creator":{"@id":"https:\/\/blog.keitaro.io\/en\/author\/marketing-team\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/8.jpg","@id":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/#mainImage","width":920,"height":460,"caption":"Admin API in Keitaro Tracker"},"primaryImageOfPage":{"@id":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/#mainImage"},"datePublished":"2021-09-09T15:48:36+02:00","dateModified":"2024-12-02T12:03:22+02:00"},{"@type":"WebSite","@id":"https:\/\/blog.keitaro.io\/en\/#website","url":"https:\/\/blog.keitaro.io\/en\/","name":"Keitaro Tracker Blog","alternateName":"Keitaro Tracker Blog","description":"Top Trends in Digital Marketing and Ad Tracking","inLanguage":"en-US","publisher":{"@id":"https:\/\/blog.keitaro.io\/en\/#organization"}}]},"og:locale":"en_US","og:site_name":"Keitaro Blog \u00bb Top Trends in Digital Marketing and Ad Tracking","og:type":"article","og:title":"Admin API in Keitaro Tracker: How to Work with It?","og:description":"Let's nalyze the Admin API in detail: why the Admin API is needed, what cases this interface solves, and how to correctly form API requests to the tracker.","og:url":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/","og:image":"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/8.jpg","og:image:secure_url":"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/8.jpg","og:image:width":920,"og:image:height":460,"article:published_time":"2021-09-09T11:48:36+00:00","article:modified_time":"2024-12-02T10:03:22+00:00","article:publisher":"https:\/\/www.facebook.com\/keitaro.tracker","twitter:card":"summary","twitter:site":"@keitaro_tracker","twitter:title":"Admin API in Keitaro Tracker: How to Work with It?","twitter:description":"Let's nalyze the Admin API in detail: why the Admin API is needed, what cases this interface solves, and how to correctly form API requests to the tracker.","twitter:creator":"@keitaro_tracker","twitter:image":"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-02-at-12.18.52\u202fPM.png"},"aioseo_meta_data":{"post_id":"1418","title":null,"description":"Let's nalyze the Admin API in detail: why the Admin API is needed, what cases this interface solves, and how to correctly form API requests to the tracker.","keywords":null,"keyphrases":{"focus":{"keyphrase":"Admin API","score":91,"analysis":{"keyphraseInTitle":{"score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"score":9,"maxScore":9,"error":0},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":2},"keyphraseInURL":{"score":5,"maxScore":5,"error":0},"keyphraseInIntroduction":{"score":9,"maxScore":9,"error":0},"keyphraseInSubHeadings":{"score":9,"maxScore":9,"error":0},"keyphraseInImageAlt":{"score":3,"maxScore":9,"error":1},"keywordDensity":{"type":"best","score":9,"maxScore":9,"error":0}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"custom_image","og_image_url":"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/8.jpg","og_image_width":"920","og_image_height":"460","og_image_custom_url":"https:\/\/blog.keitaro.io\/en\/wp-content\/uploads\/2021\/09\/8.jpg","og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"#aioseo-article-65d3a853c53eb","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"open_ai":"{\"title\":{\"suggestions\":[],\"usage\":0},\"description\":{\"suggestions\":[],\"usage\":0}}","ai":null,"created":"2021-09-09 11:17:05","updated":"2025-05-30 00:27:21"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/blog.keitaro.io\/en\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&ndash;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/blog.keitaro.io\/en\/category\/usecases\/\" title=\"Use Cases\">Use Cases<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&ndash;<\/span><span class=\"aioseo-breadcrumb\">\n\tAdmin API in Keitaro Tracker: How to Work with It?\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/blog.keitaro.io\/en"},{"label":"Use Cases","link":"https:\/\/blog.keitaro.io\/en\/category\/usecases\/"},{"label":"Admin API in Keitaro Tracker: How to Work with It?","link":"https:\/\/blog.keitaro.io\/en\/admin-api-article\/"}],"_links":{"self":[{"href":"https:\/\/blog.keitaro.io\/en\/wp-json\/wp\/v2\/posts\/1418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.keitaro.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.keitaro.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.keitaro.io\/en\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.keitaro.io\/en\/wp-json\/wp\/v2\/comments?post=1418"}],"version-history":[{"count":8,"href":"https:\/\/blog.keitaro.io\/en\/wp-json\/wp\/v2\/posts\/1418\/revisions"}],"predecessor-version":[{"id":5193,"href":"https:\/\/blog.keitaro.io\/en\/wp-json\/wp\/v2\/posts\/1418\/revisions\/5193"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.keitaro.io\/en\/wp-json\/wp\/v2\/media\/1419"}],"wp:attachment":[{"href":"https:\/\/blog.keitaro.io\/en\/wp-json\/wp\/v2\/media?parent=1418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.keitaro.io\/en\/wp-json\/wp\/v2\/categories?post=1418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.keitaro.io\/en\/wp-json\/wp\/v2\/tags?post=1418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}