{"id":1503,"date":"2024-12-11T03:05:48","date_gmt":"2024-12-11T03:05:48","guid":{"rendered":"https:\/\/support-landing.altegio.cloud\/support\/6756027118621-access-to-the-api\/"},"modified":"2025-07-22T09:29:08","modified_gmt":"2025-07-22T09:29:08","password":"","slug":"6756027118621-access-to-the-api","status":"publish","type":"docs","link":"https:\/\/alteg.io\/en\/support\/knowledge-base\/6756027118621-access-to-the-api\/","title":{"rendered":"Access to the API"},"content":{"rendered":"<h2>What does it give?<\/h2>\n<p><span style=\"font-weight: 400;\">This setting allows you to access the API to get data from customers, records, services, etc.<\/span><\/p>\n<h2>How does it work?<\/h2>\n<p><span style=\"font-weight: 400;\">Calling API routes through the User token of the user you added, in accordance with the available rights. User token is required in some API methods for authorization. You can learn more about data exchange with Altegio at the <\/span><strong><a href=\"https:\/\/developer.alteg.io\/api#section\/General-description-of-data-exchange-with-Altegio\" target=\"_blank\" rel=\"noopener noreferrer\">link<\/a><\/strong><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h2>How to set up?<\/h2>\n<p><span style=\"font-weight: 400;\">In the<strong> \u201cUser ID\u201d<\/strong> field, specify the <strong>id of the user<\/strong> you want to make the system in the branches.<\/span><\/p>\n<p class=\"wysiwyg-text-align-center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/12\/7526385034525.png\" alt=\"user_id.png\" width=\"481\" height=\"282\"><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-weight: 400;\">The ID can be found in the branch you registered, for this you need to go to the <strong>\u201cSettings\u201d \u2192 \u201cList of users\u201d \u2192 User<\/strong>, the second number in the <strong>URL<\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Example:<\/span><\/p>\n<blockquote><p>app.alteg.io\/settings\/users\/edit\/1234\/<strong>42<\/strong>\/?page=1&amp;editable_length=25<\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\">After entering and saving, a user token will appear in the<strong> \u201cUser token\u201d<\/strong> field, with which it will be possible to make API requests.<\/span><\/p>\n<h2>Access rights<\/h2>\n<p><span style=\"font-weight: 400;\">In the same section, you can mark the rights necessary for the application to work. The selected rights will be with the system user after the application is connected.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Some checkboxes, when selected, automatically include nested rights that are not shown in the section. The access rights of the application (your system user) are similar to the access rights of a regular user, with the exception of some restrictions in the client base and user management. A complete list of rights can be found at the <\/span><strong><a href=\"https:\/\/alteg.io\/support\/support\/en\/knowledge-base\/categories\/user-access-rights\/\" target=\"_blank\" rel=\"noopener\">link<\/a><\/strong><span style=\"font-weight: 400;\">.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What does it give? This setting allows you to access the API to get data from customers, records, services, etc. How does it work? Calling API routes through the User token of the user you added, in accordance with the available rights. User token is required in some API methods for authorization. You can learn&hellip; <a class=\"more-link\" href=\"https:\/\/alteg.io\/en\/support\/knowledge-base\/6756027118621-access-to-the-api\/\">Continue reading <span class=\"screen-reader-text\">Access to the API<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[109],"doc_tag":[2071],"class_list":["post-1503","docs","type-docs","status-publish","hentry","doc_category-placement-in-the-altegio-marketplace","doc_tag-integrations-en","entry"],"aioseo_notices":[],"year_month":"2026-04","word_count":241,"total_views":"2568","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"ivan.k","author_nicename":"altegio","author_url":"https:\/\/alteg.io\/en\/author\/altegio\/"},"doc_category_info":[{"term_name":"Placement in the Altegio Marketplace","term_url":"https:\/\/alteg.io\/en\/support\/knowledge-base\/categories\/placement-in-the-altegio-marketplace\/"}],"doc_tag_info":[{"term_name":"Integrations","term_url":"https:\/\/alteg.io\/en\/support\/knowledge-base\/docs-tag\/integrations-en\/"}],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs\/1503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/comments?post=1503"}],"version-history":[{"count":1,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs\/1503\/revisions"}],"predecessor-version":[{"id":146891,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs\/1503\/revisions\/146891"}],"wp:attachment":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/media?parent=1503"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/doc_category?post=1503"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/doc_tag?post=1503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}