JavaScript
const options = { method: 'POST', headers: {'X-Browser-Use-API-Key': '<api-key>', 'Content-Type': 'application/json'}, body: JSON.stringify({bot_token: '<string>'}) }; fetch('https://api.browser-use.com/api/v3/boxes/me/tg', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "installed": true, "bot_username": "<string>", "deeplink": "<string>", "setup_token": "<string>" }
Install a Telegram bot on the box. Returns a deeplink the user taps to pair.
Documentation IndexFetch the complete documentation index at: https://docs.browser-use.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.browser-use.com/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Was this page helpful?