Add (append) instructions to an existing task. For example: provide an OTP code after initiating a login task.
cURL
curl --request POST \ --url https://browser.ai/api/v1/tasks/{session_id}/instructions \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "instructions": [ { "action": "<string>", "type": "<string>" } ] } '
{ "executionId": "<string>", "scriptType": "<string>", "status": "<string>", "geoLocation": { "country": "<string>", "city": "<string>", "zipcode": "<string>" }, "started": "2023-11-07T05:31:56Z", "estimatedCompletion": "2023-11-07T05:31:56Z" }
Insert API token, use the format: apikey <API-TOKEN>.
apikey <API-TOKEN>
The ID of the task you want to add instructions to.
Show child attributes
Instructions added successfully.