{"id":10798,"date":"2024-08-08T09:46:09","date_gmt":"2024-08-08T09:46:09","guid":{"rendered":"https:\/\/www.purewl.com\/developer\/guides\/api\/api-reference\/inventory-management\/get-subscribed-channels\/"},"modified":"2025-02-19T10:25:09","modified_gmt":"2025-02-19T10:25:09","slug":"get-subscribed-channels","status":"publish","type":"docs","link":"https:\/\/www.purewl.com\/developer\/guides\/api\/api-reference\/inventory-management\/get-subscribed-channels\/","title":{"rendered":"Get Subscribed Channels"},"content":{"rendered":"\n<p>The Get Channels API provides a list of available streaming channels, tailored to the specific device making the request. This information is essential for users to select their desired streaming channel through the VPN.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"get-countries-v3\">Get Channels<\/h2>\n\n\n\n<ul>\n<li><strong>URL:\u00a0<\/strong>&lt;base url>\/inventory\/v3\/channels\/&lt;sDeviceType><\/li>\n\n\n\n<li><strong>Request Method:\u00a0<\/strong>GET<\/li>\n<\/ul>\n\n\n\n<p>Use this API to get a complete list of subscribed Channels.<\/p>\n\n\n\n<p>Returns a JSON object that contains the Channels<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Payload<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th class=\"has-text-align-left\" data-align=\"left\"><strong>Key<\/strong><\/th><th><strong>Type<\/strong><\/th><th><strong>Pass in<\/strong><\/th><th class=\"has-text-align-left\" data-align=\"left\"><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><code>X-AccessToken<\/code>*<\/td><td>String<\/td><td>Header<\/td><td class=\"has-text-align-left\" data-align=\"left\"><kbd>accessToken<\/kbd> retrieved from <a href=\"https:\/\/www.purewl.com\/developer\/guides\/api\/api-reference\/api-access-authentication\/#get-access-token\" data-type=\"link\" data-id=\"https:\/\/www.purewl.com\/developer\/guides\/api\/api-reference\/inventory-management\/countries\/\" target=\"_blank\" rel=\"noreferrer noopener\">Get Access Token<\/a> endpoint<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><code>sDeviceType<\/code>*<\/td><td>String<\/td><td>Path<\/td><td class=\"has-text-align-left\" data-align=\"left\">Type of device <br>Possible values: <strong>android<\/strong> | <strong>ios<\/strong> | <strong>mac<\/strong> | <strong>windows<\/strong><\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">(*) Required Parameter<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Response<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th class=\"has-text-align-left\" data-align=\"left\"><strong>Key<\/strong><\/th><th class=\"has-text-align-left\" data-align=\"left\"><strong>Type<\/strong><\/th><th class=\"has-text-align-left\" data-align=\"left\"><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><code>header<\/code><\/td><td class=\"has-text-align-left\" data-align=\"left\">JSON<\/td><td class=\"has-text-align-left\" data-align=\"left\">JSON object that describes return code and message.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><code>body<\/code><\/td><td class=\"has-text-align-left\" data-align=\"left\">JSON<\/td><td class=\"has-text-align-left\" data-align=\"left\">JSON object that returns countries array containing objects.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><code>channels<\/code><\/td><td class=\"has-text-align-left\" data-align=\"left\">Array<\/td><td class=\"has-text-align-left\" data-align=\"left\">Array of object that contains details related to channels.<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The Get Channels API provides a list of available streaming channels, tailored to the specific device making the request. This information is essential for users to select their desired streaming channel through the VPN. Get Channels Use this API to get a complete list of subscribed Channels. Returns a JSON object that contains the Channels [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":9998,"menu_order":4,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.purewl.com\/developer\/wp-json\/wp\/v2\/docs\/10798"}],"collection":[{"href":"https:\/\/www.purewl.com\/developer\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.purewl.com\/developer\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.purewl.com\/developer\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.purewl.com\/developer\/wp-json\/wp\/v2\/comments?post=10798"}],"version-history":[{"count":2,"href":"https:\/\/www.purewl.com\/developer\/wp-json\/wp\/v2\/docs\/10798\/revisions"}],"predecessor-version":[{"id":10801,"href":"https:\/\/www.purewl.com\/developer\/wp-json\/wp\/v2\/docs\/10798\/revisions\/10801"}],"up":[{"embeddable":true,"href":"https:\/\/www.purewl.com\/developer\/wp-json\/wp\/v2\/docs\/9998"}],"wp:attachment":[{"href":"https:\/\/www.purewl.com\/developer\/wp-json\/wp\/v2\/media?parent=10798"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.purewl.com\/developer\/wp-json\/wp\/v2\/doc_tag?post=10798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}