<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: the easiest way for users to access data on one (joint) account via API - access token in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/the-easiest-way-for-users-to-access-data-on-one-joint-account/m-p/654026#M29830</link>
    <description>&lt;P&gt;I still can't, I've only progressed a bit:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp;I asked for a code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/oauth2/authorize?token_access_type=offline&amp;amp;response_type=code&amp;amp;client_id=XXXX" target="_blank"&gt;https://www.dropbox.com/oauth2/authorize?token_access_type=offline&amp;amp;response_type=code&amp;amp;client_id=ka23ob52ucbnj2u&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and I got &amp;lt;received code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-01-26_07h52_31.png" style="width: 646px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/34712i930A67BBA893B32B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-01-26_07h52_31.png" alt="2023-01-26_07h52_31.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;the next step failed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&lt;A href="https://api.dropbox.com/oauth2/token" target="_blank"&gt;https://api.dropbox.com/oauth2/token&lt;/A&gt; -d code=&amp;lt;CODE_FROM_THE_IMAGE&amp;gt; -d grant_type=authorization_code -u &amp;lt;KEY_APP&amp;gt; : &amp;lt;SECR_KEY_APP&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-01-26_08h01_39.png" style="width: 338px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/34713i018EFFE3BB8C29D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-01-26_08h01_39.png" alt="2023-01-26_08h01_39.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong? is the syntax ok?&lt;/P&gt;&lt;P&gt;I'm sure both the app key and the secret key are fine.&amp;nbsp;Please advise, thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-01-26_08h05_25.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/34714i4018E593271A06A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2023-01-26_08h05_25.png" alt="2023-01-26_08h05_25.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2023 07:06:48 GMT</pubDate>
    <dc:creator>Polas</dc:creator>
    <dc:date>2023-01-26T07:06:48Z</dc:date>
    <item>
      <title>the easiest way for users to access data on one (joint) account via API - access token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/the-easiest-way-for-users-to-access-data-on-one-joint-account/m-p/651206#M29762</link>
      <description>&lt;P&gt;I'm a beginner and I'm lost when working with authorization token. I have a desktop application that users will use to access my files (occasional access to small dials). The software is written in DELPHI. API testing with test token generation (valid for 4 hours) works great, but I can't move forward. I thought it was enough to replace the test temporary token with the app generated token (see pic), but it doesn't work that way. Can you please give me the EASIEST way to make files in my dropbox account available to users? Ideally, a simple example. Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-01-16_07h09_52.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/34440i3BA31174A78CD74B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-01-16_07h09_52.png" alt="2023-01-16_07h09_52.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 06:17:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/the-easiest-way-for-users-to-access-data-on-one-joint-account/m-p/651206#M29762</guid>
      <dc:creator>Polas</dc:creator>
      <dc:date>2023-01-16T06:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: the easiest way for users to access data on one (joint) account via API - access token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/the-easiest-way-for-users-to-access-data-on-one-joint-account/m-p/651356#M29763</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1592630"&gt;@Polas&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;At present all new access tokens are short-lived (as you noted up to 4 hours - 14400 seconds at most). The old long-lived access tokens are in retirement already. If by any chance you have such a token left, you still can use it, but new can't be created (leading "sl" - before the dot - means Short Lived). For long term access, without further end user activity, you have to use refresh token (offline access) that can be used to "refresh" the access token (i.e. regenerate it).&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1592630"&gt;@Polas&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... The software is written in DELPHI. ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Unfortunately, There is no Delphi SDK, supported by Dropbox, and you have to call API end points using available HTTP tool in your environment. You can take a closer look about managing refresh token in the &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/td-p/592667" target="_blank" rel="noopener"&gt;thread here&lt;/A&gt;. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 14:08:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/the-easiest-way-for-users-to-access-data-on-one-joint-account/m-p/651356#M29763</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-01-16T14:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: the easiest way for users to access data on one (joint) account via API - access token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/the-easiest-way-for-users-to-access-data-on-one-joint-account/m-p/651390#M29764</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1592630"&gt;@Polas&lt;/a&gt; As Здравко said, for long-term access, you should request "offline" access to get a "refresh token". You can find more information in the &lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank"&gt;OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank"&gt;authorization documentation&lt;/A&gt;, as well as &lt;A href="https://dropbox.tech/developers/using-oauth-2-0-with-offline-access" target="_blank"&gt;this blog post&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, it sounds like you may want to have multiple users connect directly to your own specific Dropbox account via the API. Note that the API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. While it is technically possible to always connect to just one account for all users, we do not officially support this, for various technical and security reasons. To give others access to content in your account, you may want to use &lt;A href="https://help.dropbox.com/share" target="_blank"&gt;Dropbox sharing functionality&lt;/A&gt; instead.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 15:16:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/the-easiest-way-for-users-to-access-data-on-one-joint-account/m-p/651390#M29764</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-01-16T15:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: the easiest way for users to access data on one (joint) account via API - access token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/the-easiest-way-for-users-to-access-data-on-one-joint-account/m-p/654026#M29830</link>
      <description>&lt;P&gt;I still can't, I've only progressed a bit:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp;I asked for a code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/oauth2/authorize?token_access_type=offline&amp;amp;response_type=code&amp;amp;client_id=XXXX" target="_blank"&gt;https://www.dropbox.com/oauth2/authorize?token_access_type=offline&amp;amp;response_type=code&amp;amp;client_id=ka23ob52ucbnj2u&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and I got &amp;lt;received code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-01-26_07h52_31.png" style="width: 646px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/34712i930A67BBA893B32B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-01-26_07h52_31.png" alt="2023-01-26_07h52_31.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;the next step failed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&lt;A href="https://api.dropbox.com/oauth2/token" target="_blank"&gt;https://api.dropbox.com/oauth2/token&lt;/A&gt; -d code=&amp;lt;CODE_FROM_THE_IMAGE&amp;gt; -d grant_type=authorization_code -u &amp;lt;KEY_APP&amp;gt; : &amp;lt;SECR_KEY_APP&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-01-26_08h01_39.png" style="width: 338px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/34713i018EFFE3BB8C29D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-01-26_08h01_39.png" alt="2023-01-26_08h01_39.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong? is the syntax ok?&lt;/P&gt;&lt;P&gt;I'm sure both the app key and the secret key are fine.&amp;nbsp;Please advise, thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-01-26_08h05_25.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/34714i4018E593271A06A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2023-01-26_08h05_25.png" alt="2023-01-26_08h05_25.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 07:06:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/the-easiest-way-for-users-to-access-data-on-one-joint-account/m-p/654026#M29830</guid>
      <dc:creator>Polas</dc:creator>
      <dc:date>2023-01-26T07:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: the easiest way for users to access data on one (joint) account via API - access token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/the-easiest-way-for-users-to-access-data-on-one-joint-account/m-p/654061#M29831</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1592630"&gt;@Polas&lt;/a&gt;, API calls can't get through the browser address line! Are you aware what's "curl"? 🧐&lt;/P&gt;&lt;P&gt;Hope this gives direction.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 09:33:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/the-easiest-way-for-users-to-access-data-on-one-joint-account/m-p/654061#M29831</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-01-26T09:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: the easiest way for users to access data on one (joint) account via API - access token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/the-easiest-way-for-users-to-access-data-on-one-joint-account/m-p/654110#M29832</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1592630"&gt;@Polas&lt;/a&gt; As Здравко noted, it appears you are attempting to use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token" target="_blank"&gt;/oauth2/token&lt;/A&gt; in your browser, which won't work. Note that while &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize" target="_blank"&gt;/oauth2/authorize&lt;/A&gt; is a web page that the user would access in their browser, &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token" target="_blank"&gt;/oauth2/token&lt;/A&gt; is not; &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token" target="_blank"&gt;/oauth2/token&lt;/A&gt; is an OAuth endpoint that you would call programmatically. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance, the examples in the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token" target="_blank"&gt;/oauth2/token&lt;/A&gt; documentation use curl to peform that call, but you can use any HTTPS client of your choosing.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 13:15:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/the-easiest-way-for-users-to-access-data-on-one-joint-account/m-p/654110#M29832</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-01-26T13:15:57Z</dc:date>
    </item>
  </channel>
</rss>

