curl -X POST "https://api-cloud.browserstack.com/app-automate/earlgrey/build" -d "{\"devices\": [\"iPhone 8 Plus-11.0\"], \"appDir\": \"bs://<hashed appid>\", \"deviceLogs\" : \"true\"}" -H "Content-Type: application/json" -u "USERNAME:ACCESS_KEY"