<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Unable to use API for firefly-iii]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I recently installed firefly-iii from cloudron marketplace. While the application itself is working nicely, I needed to write a custom importer and for that wanted to hit the REST API.</p>
<p dir="auto">The API is supposed to be present at <code>/api/v1/...</code> but I am always getting the login HTTP page back. I was thinking there is some issue with my code, request headers, etc. But I tried changing the url from <code>https://&lt;my-website&gt;/api/v1/transactions</code> to <code>https://demo.firefly-iii.org/api/v1/transactions</code> (firefly's demo server) and the same requests are working.</p>
<p dir="auto">Is this related to how cloudron is setting up firefly-iii? I also checked firefly-iii configuration and there was no way to enable/disable REST API.</p>
<p dir="auto">Can I get some help here?</p>
]]></description><link>https://forum.cloudron.io/topic/7535/unable-to-use-api-for-firefly-iii</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 02:10:18 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/7535.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Aug 2022 17:53:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to use API for firefly-iii on Thu, 25 Aug 2022 14:34:29 GMT]]></title><description><![CDATA[<p dir="auto">To support Bearer authentication with proxyAuth, I have added a new flag in the manifest called <code>supportsBearerAuth</code> . This will be available in 7.3. After that, the curl request works.</p>
]]></description><link>https://forum.cloudron.io/post/52660</link><guid isPermaLink="true">https://forum.cloudron.io/post/52660</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 25 Aug 2022 14:34:29 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to use API for firefly-iii on Thu, 25 Aug 2022 11:59:20 GMT]]></title><description><![CDATA[<p dir="auto">Indeed, one must create a Personal Access Token from the OAuth page.</p>
<p dir="auto"><img src="/assets/uploads/files/1661423134113-13988f2d-cb15-4b95-8944-fc42702b4e42-image-resized.png" alt="13988f2d-cb15-4b95-8944-fc42702b4e42-image.png" class=" img-fluid img-markdown" /></p>
<pre><code>$ curl -LX GET 'https://ff3.example.com/api/v1/about'  -H 'accept: application/vnd.api+json' -H 'Authorization: Bearer xx'   -H 'Content-Type: application/json'
{"data":{"version":"5.7.10","api_version":"1.5.6","php_version":"8.0.21","os":"Linux","driver":"pgsql"}}
</code></pre>
<p dir="auto">The above works without proxyAuth. Will now test with proxyAuth enabled.</p>
]]></description><link>https://forum.cloudron.io/post/52650</link><guid isPermaLink="true">https://forum.cloudron.io/post/52650</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 25 Aug 2022 11:59:20 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to use API for firefly-iii on Thu, 25 Aug 2022 10:19:11 GMT]]></title><description><![CDATA[<p dir="auto">I misunderstood what 'Command line token' means. I thought this was the API token. It isn't. It's actually the token for running cron jobs over the web - <a href="https://docs.firefly-iii.org/firefly-iii/advanced-installation/cron/#request-a-page-over-the-web" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.firefly-iii.org/firefly-iii/advanced-installation/cron/#request-a-page-over-the-web</a></p>
]]></description><link>https://forum.cloudron.io/post/52649</link><guid isPermaLink="true">https://forum.cloudron.io/post/52649</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 25 Aug 2022 10:19:11 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to use API for firefly-iii on Sun, 21 Aug 2022 07:56:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lepisma" aria-label="Profile: lepisma">@<bdi>lepisma</bdi></a> I can reproduce this one.</p>
<p dir="auto">I suspect this has to do with <code>proxyAuth</code> in the package not configured properly for API access (it's not passing through bearer headers). Investigating.</p>
]]></description><link>https://forum.cloudron.io/post/52431</link><guid isPermaLink="true">https://forum.cloudron.io/post/52431</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sun, 21 Aug 2022 07:56:53 GMT</pubDate></item></channel></rss>