{"id":30576,"date":"2023-07-12T14:36:35","date_gmt":"2023-07-12T14:36:35","guid":{"rendered":"https:\/\/www.applivery.com\/?post_type=docs&#038;p=30576"},"modified":"2024-11-30T01:39:00","modified_gmt":"2024-11-30T01:39:00","password":"","slug":"get-the-download-token-of-a-build","status":"publish","type":"docs","link":"https:\/\/www.applivery.com\/pt-br\/docs\/api\/app-distribution\/builds\/get-the-download-token-of-a-build\/","title":{"rendered":"GET &#8211; Download token and download URL of a Build"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"30576\" class=\"elementor elementor-30576\" data-elementor-post-type=\"docs\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d6a80c0 e-con-full e-flex e-con e-parent\" data-id=\"d6a80c0\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8531a9e elementor-alert-info elementor-widget elementor-widget-alert\" data-id=\"8531a9e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"alert.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-alert\" role=\"alert\">\n\n\t\t\t\t\t\t<span class=\"elementor-alert-title\">Note<\/span>\n\t\t\t\n\t\t\t\t\t\t<span class=\"elementor-alert-description\">You are viewing the Apps API whose scope is limited to Apps. If you are looking for the full API spec, check the <a class=\"enlace\" href=\"\/docs\/api\/spec\">Organizations API <\/a>.<\/span>\n\t\t\t\n\t\t\t\t\t\t<button type=\"button\" class=\"elementor-alert-dismiss\" aria-label=\"Dispensar este alerta.\">\n\t\t\t\t\t\t\t\t\t<span aria-hidden=\"true\">&times;<\/span>\n\t\t\t\t\t\t\t<\/button>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-200f987 elementor-widget elementor-widget-text-editor\" data-id=\"200f987\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>This request is intended to get the download token of a build and its download URL.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-756a993 elementor-widget elementor-widget-heading\" data-id=\"756a993\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Step 1 - Generate download token<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8b7c626 elementor-widget elementor-widget-text-editor\" data-id=\"8b7c626\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<ul><li><strong>Method:<\/strong> <span class=\"doc-method api-method-get\">GET<\/span><\/li><li><strong>URL:<\/strong> <a class=\"scroll-url\" href=\"https:\/\/api.applivery.io\/v1\/organizations\/:organizationId\/apps\/:applicationId\/builds\/:buildId\/downloadToken\"><code>https:\/\/api.applivery.io\/v1<span class=\"api-url\">\/organizations\/:orgId\/apps\/:appId\/builds\/:buildId\/downloadToken<\/span><\/code><\/a><\/li><li><strong>Authentication, organization ID, application ID, build ID, type:<\/strong> <span class=\"doc-method api-auth-required\">required<\/span><\/li><li><strong>Headers:<\/strong><br \/><code style=\"font-size: 16px;\">Content-Type: application\/json<\/code><br \/><code style=\"font-size: 16px;\">Authorization: bearer <a href=\"https:\/\/www.applivery.com\/docs\/api\/apps-api-authentication\/?swcfpc=1\">&lt;your_app_token&gt;<\/a><\/code><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d949d77 elementor-widget elementor-widget-heading\" data-id=\"d949d77\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Params<\/h2>\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-64474f0 e-grid e-con-full e-con e-child\" data-id=\"64474f0\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-3657c320 e-con-full e-flex e-con e-child\" data-id=\"3657c320\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-5b0fb62c e-con-full e-flex e-con e-child\" data-id=\"5b0fb62c\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-63ee4751 elementor-widget elementor-widget-heading\" data-id=\"63ee4751\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">Param<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-4f2bc0e8 e-con-full e-flex e-con e-child\" data-id=\"4f2bc0e8\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-117e51f2 elementor-widget elementor-widget-heading\" data-id=\"117e51f2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">Type<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-7001905e e-con-full e-flex e-con e-child\" data-id=\"7001905e\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7a13d39f elementor-widget elementor-widget-heading\" data-id=\"7a13d39f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">Description<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-43cbcde1 e-con-full e-flex e-con e-child\" data-id=\"43cbcde1\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-359d2cbc e-con-full e-flex e-con e-child\" data-id=\"359d2cbc\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-341ebbc0 elementor-widget__width-inherit elementor-widget elementor-widget-heading\" data-id=\"341ebbc0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\"><code>type<\/code><\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-aebec1 e-con-full e-flex e-con e-child\" data-id=\"aebec1\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-65f71448 elementor-widget__width-inherit elementor-widget elementor-widget-heading\" data-id=\"65f71448\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">String<\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-4999c3a8 e-con-full e-flex e-con e-child\" data-id=\"4999c3a8\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-217bb124 elementor-widget__width-inherit elementor-widget elementor-widget-heading\" data-id=\"217bb124\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">Type of build: <code>auto<\/code>, <code>file<\/code>, <code>aab<\/code>.\n<br \/>\n<ul>\n<li>auto: download .apk (android) or manifest (Apple).<\/li>\n<li>file: download .ipa (not the manifest in Apple).<\/li>\n<li>aab: download .aab instead of universal .apk<\/li>\n<\/ul><\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-128ffce elementor-widget elementor-widget-heading\" data-id=\"128ffce\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Example request<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-88be6ba elementor-widget elementor-widget-code-highlight\" data-id=\"88be6ba\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>curl 'https:\/\/api.applivery.io\/v1\/organizations\/_ORGANIZATION_SLUG_\/apps\/_APPLICATION_ID_\/builds\/_BUILD_ID_\/downloadToken?type=file' \n  -H 'accept: application\/json' \n  -H 'authorization: Bearer _BEARERTOKEN_'<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d97e749 elementor-widget elementor-widget-heading\" data-id=\"d97e749\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Responses<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3370e20 e-n-tabs-mobile elementor-widget elementor-widget-n-tabs\" data-id=\"3370e20\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;tabs_justify_horizontal&quot;:&quot;stretch&quot;,&quot;horizontal_scroll&quot;:&quot;disable&quot;}\" data-widget_type=\"nested-tabs.default\">\n\t\t\t\t\t\t\t<div class=\"e-n-tabs\" data-widget-number=\"53939744\" aria-label=\"Abas. Abra itens com &quot;Enter&quot; ou &quot;Espa\u00e7o&quot;, feche com &quot;Escape&quot; e navegue usando as teclas de &quot;Seta&quot;.\">\n\t\t\t<div class=\"e-n-tabs-heading\" role=\"tablist\">\n\t\t\t\t\t<button id=\"e-n-tab-title-539397441\" data-tab-title-id=\"e-n-tab-title-539397441\" class=\"e-n-tab-title\" aria-selected=\"true\" data-tab-index=\"1\" role=\"tab\" tabindex=\"0\" aria-controls=\"e-n-tab-content-539397441\" style=\"--n-tabs-title-order: 1;\">\n\t\t\t\t\t<span class=\"e-n-tab-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-check-circle\"><\/i>\t\t\t<i aria-hidden=\"true\" class=\"fas fa-check-circle\"><\/i>\t\t<\/span>\n\t\t\t\t\t<span class=\"e-n-tab-title-text\">\n\t\t\t\t200 - Success\t\t\t<\/span>\n\t\t<\/button>\n\t\t\t\t<button id=\"e-n-tab-title-539397442\" data-tab-title-id=\"e-n-tab-title-539397442\" class=\"e-n-tab-title\" aria-selected=\"false\" data-tab-index=\"2\" role=\"tab\" tabindex=\"-1\" aria-controls=\"e-n-tab-content-539397442\" style=\"--n-tabs-title-order: 2;\">\n\t\t\t\t\t<span class=\"e-n-tab-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-times-circle\"><\/i>\t\t\t<i aria-hidden=\"true\" class=\"fas fa-times-circle\"><\/i>\t\t<\/span>\n\t\t\t\t\t<span class=\"e-n-tab-title-text\">\n\t\t\t\t400 - Bad request\t\t\t<\/span>\n\t\t<\/button>\n\t\t\t\t<button id=\"e-n-tab-title-539397443\" data-tab-title-id=\"e-n-tab-title-539397443\" class=\"e-n-tab-title\" aria-selected=\"false\" data-tab-index=\"3\" role=\"tab\" tabindex=\"-1\" aria-controls=\"e-n-tab-content-539397443\" style=\"--n-tabs-title-order: 3;\">\n\t\t\t\t\t<span class=\"e-n-tab-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-times-circle\"><\/i>\t\t\t<i aria-hidden=\"true\" class=\"fas fa-times-circle\"><\/i>\t\t<\/span>\n\t\t\t\t\t<span class=\"e-n-tab-title-text\">\n\t\t\t\t401 - Unauthorized\t\t\t<\/span>\n\t\t<\/button>\n\t\t\t\t<button id=\"e-n-tab-title-539397444\" data-tab-title-id=\"e-n-tab-title-539397444\" class=\"e-n-tab-title\" aria-selected=\"false\" data-tab-index=\"4\" role=\"tab\" tabindex=\"-1\" aria-controls=\"e-n-tab-content-539397444\" style=\"--n-tabs-title-order: 4;\">\n\t\t\t\t\t<span class=\"e-n-tab-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-times-circle\"><\/i>\t\t\t<i aria-hidden=\"true\" class=\"fas fa-times-circle\"><\/i>\t\t<\/span>\n\t\t\t\t\t<span class=\"e-n-tab-title-text\">\n\t\t\t\t404 - Not found\t\t\t<\/span>\n\t\t<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t<div class=\"e-n-tabs-content\">\n\t\t\t\t<div id=\"e-n-tab-content-539397441\" role=\"tabpanel\" aria-labelledby=\"e-n-tab-title-539397441\" data-tab-index=\"1\" style=\"--n-tabs-title-order: 1;\" class=\"e-active elementor-element elementor-element-5994046 e-con-full e-flex e-con e-child\" data-id=\"5994046\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-d205fd7 e-con-full e-flex e-con e-child\" data-id=\"d205fd7\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3256a57 elementor-widget elementor-widget-text-editor\" data-id=\"3256a57\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<strong>Content type:<\/strong> <code>application\/json<\/code>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bf4802b elementor-widget__width-inherit elementor-widget elementor-widget-code-highlight\" data-id=\"bf4802b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-json line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-json\">\n\t\t\t\t\t<xmp>{\n  \"status\": true,\n  \"data\": {\n    \"token\": \"string\",\n    \"expiresAt\": \"string\"\n  }\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div id=\"e-n-tab-content-539397442\" role=\"tabpanel\" aria-labelledby=\"e-n-tab-title-539397442\" data-tab-index=\"2\" style=\"--n-tabs-title-order: 2;\" class=\" elementor-element elementor-element-31a8c97 e-con-full e-flex e-con e-child\" data-id=\"31a8c97\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-6c86b9c e-con-full e-flex e-con e-child\" data-id=\"6c86b9c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5982180 elementor-widget elementor-widget-text-editor\" data-id=\"5982180\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<strong>Content type:<\/strong> <code>application\/json<\/code>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8fda5d7 elementor-widget__width-inherit elementor-widget elementor-widget-code-highlight\" data-id=\"8fda5d7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-json line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-json\">\n\t\t\t\t\t<xmp>{\n  \"status\": false,\n  \"error\": {\n    \"code\": 5014,\n    \"message\": \"Build Not Processed\"\n  }\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div id=\"e-n-tab-content-539397443\" role=\"tabpanel\" aria-labelledby=\"e-n-tab-title-539397443\" data-tab-index=\"3\" style=\"--n-tabs-title-order: 3;\" class=\" elementor-element elementor-element-526d590 e-con-full e-flex e-con e-child\" data-id=\"526d590\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-e0d5fc7 e-con-full e-flex e-con e-child\" data-id=\"e0d5fc7\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7b59279 elementor-widget elementor-widget-text-editor\" data-id=\"7b59279\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<strong>Content type:<\/strong> <code>application\/json<\/code>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6f89b3e elementor-widget__width-inherit elementor-widget elementor-widget-code-highlight\" data-id=\"6f89b3e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-json line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-json\">\n\t\t\t\t\t<xmp>{\n  \"status\": false,\n  \"error\": {\n    \"code\": 4002,\n    \"message\": \"No auth token\"\n  }\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div id=\"e-n-tab-content-539397444\" role=\"tabpanel\" aria-labelledby=\"e-n-tab-title-539397444\" data-tab-index=\"4\" style=\"--n-tabs-title-order: 4;\" class=\" elementor-element elementor-element-0cab943 e-con-full e-flex e-con e-child\" data-id=\"0cab943\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-ae71d99 e-con-full e-flex e-con e-child\" data-id=\"ae71d99\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2114990 elementor-widget elementor-widget-text-editor\" data-id=\"2114990\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<strong>Content type:<\/strong> <code>application\/json<\/code>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6ef497c elementor-widget__width-inherit elementor-widget elementor-widget-code-highlight\" data-id=\"6ef497c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-json line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-json\">\n\t\t\t\t\t<xmp>{\n  \"status\": false,\n  \"error\": {\n    \"code\": 3001,\n    \"message\": \"Entity not found\"\n  }\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-dcde342 elementor-widget elementor-widget-heading\" data-id=\"dcde342\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Step 2 - Get download URL<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d866f26 elementor-widget elementor-widget-text-editor\" data-id=\"d866f26\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<ul><li><strong>Method:<\/strong> <span class=\"doc-method api-method-get\">GET<\/span><\/li><li><strong>URL:<\/strong> <a href=\"https:\/\/download-api.applivery.io\/v1\/download\/:downloadTokenId\"><code>https:\/\/download-api.applivery.io\/v1<span class=\"api-url\">\/download\/:downloadTokenId<\/span><\/code><\/a><\/li><li><strong>Download token ID:<\/strong> <span class=\"doc-method api-auth-required\">required<\/span><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-30526c0 elementor-widget elementor-widget-heading\" data-id=\"30526c0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Example request<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c4198aa elementor-widget elementor-widget-code-highlight\" data-id=\"c4198aa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>curl 'https:\/\/download-api.applivery.io\/v1\/download\/_DOWNLOAD_TOKEN_' \n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f3c65a9 elementor-widget elementor-widget-text-editor\" data-id=\"f3c65a9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>You will be redirected to the URL returned in the location parameter of the response header.<\/p><ul><li data-stringify-type=\"pre\">In <strong>Android<\/strong>, the redirection URL will be the .apk file if the build is a .aab and the download token was generated with the type=aab. In this case, the redirect will be the .aab file.<\/li><li data-stringify-type=\"pre\">In <strong>Apple<\/strong>, the redirection URL will be the manifest.plist if the download token was generated with the type=file. In this case, the redirect will be the .ipa or .pkg file.<\/li><\/ul><p class=\"c-mrkdwn__pre\" data-stringify-type=\"pre\">\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1230c1c elementor-widget elementor-widget-heading\" data-id=\"1230c1c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Responses<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c48a19e e-n-tabs-mobile elementor-widget elementor-widget-n-tabs\" data-id=\"c48a19e\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;tabs_justify_horizontal&quot;:&quot;stretch&quot;,&quot;horizontal_scroll&quot;:&quot;disable&quot;}\" data-widget_type=\"nested-tabs.default\">\n\t\t\t\t\t\t\t<div class=\"e-n-tabs\" data-widget-number=\"206086558\" aria-label=\"Abas. Abra itens com &quot;Enter&quot; ou &quot;Espa\u00e7o&quot;, feche com &quot;Escape&quot; e navegue usando as teclas de &quot;Seta&quot;.\">\n\t\t\t<div class=\"e-n-tabs-heading\" role=\"tablist\">\n\t\t\t\t\t<button id=\"e-n-tab-title-2060865581\" data-tab-title-id=\"e-n-tab-title-2060865581\" class=\"e-n-tab-title\" aria-selected=\"true\" data-tab-index=\"1\" role=\"tab\" tabindex=\"0\" aria-controls=\"e-n-tab-content-2060865581\" style=\"--n-tabs-title-order: 1;\">\n\t\t\t\t\t<span class=\"e-n-tab-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-check-circle\"><\/i>\t\t\t<i aria-hidden=\"true\" class=\"fas fa-check-circle\"><\/i>\t\t<\/span>\n\t\t\t\t\t<span class=\"e-n-tab-title-text\">\n\t\t\t\t200 - Success\t\t\t<\/span>\n\t\t<\/button>\n\t\t\t\t<button id=\"e-n-tab-title-2060865582\" data-tab-title-id=\"e-n-tab-title-2060865582\" class=\"e-n-tab-title\" aria-selected=\"false\" data-tab-index=\"2\" role=\"tab\" tabindex=\"-1\" aria-controls=\"e-n-tab-content-2060865582\" style=\"--n-tabs-title-order: 2;\">\n\t\t\t\t\t<span class=\"e-n-tab-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-times-circle\"><\/i>\t\t\t<i aria-hidden=\"true\" class=\"fas fa-times-circle\"><\/i>\t\t<\/span>\n\t\t\t\t\t<span class=\"e-n-tab-title-text\">\n\t\t\t\t401 - Unauthorized\t\t\t<\/span>\n\t\t<\/button>\n\t\t\t\t<button id=\"e-n-tab-title-2060865583\" data-tab-title-id=\"e-n-tab-title-2060865583\" class=\"e-n-tab-title\" aria-selected=\"false\" data-tab-index=\"3\" role=\"tab\" tabindex=\"-1\" aria-controls=\"e-n-tab-content-2060865583\" style=\"--n-tabs-title-order: 3;\">\n\t\t\t\t\t<span class=\"e-n-tab-icon\">\n\t\t\t<i aria-hidden=\"true\" class=\"fas fa-times-circle\"><\/i>\t\t\t<i aria-hidden=\"true\" class=\"fas fa-times-circle\"><\/i>\t\t<\/span>\n\t\t\t\t\t<span class=\"e-n-tab-title-text\">\n\t\t\t\t404 - Not found\t\t\t<\/span>\n\t\t<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t<div class=\"e-n-tabs-content\">\n\t\t\t\t<div id=\"e-n-tab-content-2060865581\" role=\"tabpanel\" aria-labelledby=\"e-n-tab-title-2060865581\" data-tab-index=\"1\" style=\"--n-tabs-title-order: 1;\" class=\"e-active elementor-element elementor-element-915996d e-con-full e-flex e-con e-child\" data-id=\"915996d\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-e764816 e-con-full e-flex e-con e-child\" data-id=\"e764816\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ba4fd19 elementor-widget elementor-widget-text-editor\" data-id=\"ba4fd19\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<strong>Content type:<\/strong> <code>application\/json<\/code>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7c1f8c4 elementor-widget__width-inherit elementor-widget elementor-widget-code-highlight\" data-id=\"7c1f8c4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-json line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-json\">\n\t\t\t\t\t<xmp>{\n  \"status\": true,\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div id=\"e-n-tab-content-2060865582\" role=\"tabpanel\" aria-labelledby=\"e-n-tab-title-2060865582\" data-tab-index=\"2\" style=\"--n-tabs-title-order: 2;\" class=\" elementor-element elementor-element-f2378b9 e-con-full e-flex e-con e-child\" data-id=\"f2378b9\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-cac546f e-con-full e-flex e-con e-child\" data-id=\"cac546f\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ebde6da elementor-widget elementor-widget-text-editor\" data-id=\"ebde6da\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<strong>Content type:<\/strong> <code>application\/json<\/code>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-767058a elementor-widget__width-inherit elementor-widget elementor-widget-code-highlight\" data-id=\"767058a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-json line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-json\">\n\t\t\t\t\t<xmp>{\n  \"status\": false,\n  \"error\": {\n    \"code\": 4005,\n    \"message\": \"Token Expired\"\n  }\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div id=\"e-n-tab-content-2060865583\" role=\"tabpanel\" aria-labelledby=\"e-n-tab-title-2060865583\" data-tab-index=\"3\" style=\"--n-tabs-title-order: 3;\" class=\" elementor-element elementor-element-56e31f9 e-con-full e-flex e-con e-child\" data-id=\"56e31f9\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-6e032a9 e-con-full e-flex e-con e-child\" data-id=\"6e032a9\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f2098d9 elementor-widget elementor-widget-text-editor\" data-id=\"f2098d9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<strong>Content type:<\/strong> <code>application\/json<\/code>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7b3d0dc elementor-widget__width-inherit elementor-widget elementor-widget-code-highlight\" data-id=\"7b3d0dc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-json line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-json\">\n\t\t\t\t\t<xmp>{\n  \"status\": false,\n  \"error\": {\n    \"code\": 3001,\n    \"message\": \"Entity not found\"\n  }\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>This request is intended to get the download URL for a specific build of an App.<\/p>\n","protected":false},"author":5,"featured_media":32390,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"content-type":"","inline_featured_image":false,"footnotes":""},"product":[],"doc_category":[151],"doc_tag":[],"class_list":["post-30576","docs","type-docs","status-publish","format-standard","has-post-thumbnail","hentry","doc_category-builds"],"aioseo_notices":[],"year_month":"2026-05","word_count":429,"total_views":"1682","reactions":{"happy":"0","normal":"0","sad":"1"},"author_info":{"name":"Karla Makowski","author_nicename":"karla-makowski","author_url":"https:\/\/www.applivery.com\/pt-br\/blog\/author\/karla-makowski\/"},"doc_category_info":[{"term_name":"Builds","term_url":"https:\/\/www.applivery.com\/docs\/api\/app-distribution\/builds\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/docs\/30576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/comments?post=30576"}],"version-history":[{"count":21,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/docs\/30576\/revisions"}],"predecessor-version":[{"id":52117,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/docs\/30576\/revisions\/52117"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/media\/32390"}],"wp:attachment":[{"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/media?parent=30576"}],"wp:term":[{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/product?post=30576"},{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/doc_category?post=30576"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.applivery.com\/pt-br\/wp-json\/wp\/v2\/doc_tag?post=30576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}