CA
Crawlee & Apify7mo ago
absent-sapphire

API not working

Hi, when I use these URL https://api.apify.com/v2/actor-tasks/<TASK_ID>/runs?token=<YOUR_API_TOKEN> with the credentials from my apify dashboard I get the following error: { "error": { "type": "page-not-found", "message": "We have bad news: there is no API endpoint at this URL. Did you specify it correctly?" } } I did everything like described in https://docs.apify.com/api/v2#section/Authentication Can you help me and tell me what am I doing wrong? #apify-platform
Apify API | Apify Documentation
UPDATE 2024-07-09: We have rolled out this new Apify API Documentation. In case of any issues, please report here. The old API Documentation is still available here. The Apify API (version 2) provides programmatic access to the Apify platform. The API is organized around [RESTful](https://en.wikipedia.org/wiki/...
2 Replies
Hall
Hall7mo ago
Someone will reply to you shortly. In the meantime, we’ve found some posts that could help answer your question.
Pepa J
Pepa J7mo ago
Hi @Dada the DuDu , What do you mean by credentials from Apify Dashboard? You should put your Person API token or the Organization API Token into the ?token=xx parameter. You can it in the Settings -> API & Integrations. Or you can go to the Task Runs overview and click on the API button in top right corner -> select API endpoints and scroll to the Get list of task runs and click the Test endpoint - to get the right URL. Let me know if this work for you.

Did you find this page helpful?