I have this URL to go to an apify actor - it requires the api token in the url - is it possible to hide the token so its not exposed?
https://api.apify.com/v2/acts/saswave~linkedin-mutual-connections-parser/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>
n8n could support other methods of sending the token value to Apify, if there were any alternative ways (their documentation indicates there is not).
However, n8n can’t change how Apify works. If the token needs to be sent in a query parameter, without any sort of encryption or encoding, that’s how n8n, or any other rest/http client, must send it. The place to ask for help related to how Apify works is on the Apify support/help website.
If you just want to separate it as a Credential item, the Query Auth
credential type could help. It will still be sent to Apify “in the clear” (so to speak).
1 Like