Run Actor API with User Provided ID

I'd like to use my own ID when run an actor, e.g., something like
POST
https://api.apify.com/v2/acts/skiplagged~bws-prod/runs?token=123456&id=xtwwwsdfd
POST
https://api.apify.com/v2/acts/skiplagged~bws-prod/runs?token=123456&id=xtwwwsdfd
Is that possible?
3 Replies
dependent-tan
dependent-tan3y ago
What is this ID for?
rival-black
rival-blackOP3y ago
the run id. it will be used as the ID for the current run basically, we want to use a same id (universal id) to chain all related object. it will be nice if we can use the same id for an actor run.
dependent-tan
dependent-tan3y ago
I still don't follow. There is a run ID for each run apify but it seems you mean some of your internal ID. Anyway, see the usually flow in this article: https://docs.apify.com/tutorials/run-actor-and-retrieve-data-via-api
Apify
Run actor and retrieve data via API · Apify Documentation
Learn how to run an actor/task via the Apify API, wait for the job to finish, and retrieve its output data. Your key to integrating actors with your projects.

Did you find this page helpful?