POST
/
tasks
curl --request POST \
--url https://browser.ai/api/v1/tasks \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"instructions": [
{
"action": "Open amazon.com and search for AirPods"
}
],
"geoLocation": {
"country": "US"
},
"project": "Project_1",
"type": "'\''crawler_automation"
}'
{
  "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"
}

Authorizations

Authorization
string
header
required

Insert API token, use the format: apikey <API-TOKEN>.

Body

application/json

Response

200
application/json

Task created successfully

The response is of type object.