BashBrainTeammatesPricingDevelopersGet a test key

Computer setup

Wake a user's computer before they need it.

Send Authorization: Bearer vk_test_... on every call. Every route of Computer setup.

GET/v1/users/{user_id}/browser/cookiesWhich cookies of some names the user's browser holds for one site, and until when: names, sites and expiry only, never a value.

Only a site on the deployment's browser.allowed_domains (403 domain_not_allowed). Opens no page and acts on nothing, so it never disturbs a person using the browser: read it every few seconds to see a person finish signing in on a page you handed them (front), as the site's session cookie appears or its expiry moves on. Wakes the computer when it sleeps.

Your API key, scope runtime or all. On the card: users. Over HTTP it is made from the contract: fill in each {…} and every value.

Request3 fields

Path

user_idstringrequiredYour own id for the user, as you named them.
Type
string

Query

domainstringrequiredThe site, a bare host name on the deployment's browser.allowed_domains, such as ixigo.com. Cookies of its subdomains count too.
Type
string
namesstringrequiredThe cookie names to look for, comma-separated, up to 10.
Type
string
Answers 2002 fields
cookiesobject[]The cookies of those names the browser holds for the site and its subdomains. Never a value. Empty when it holds none.
namestringThe cookie's name, one of those asked for.
Type
string
domainstringThe host the cookie is set for, with no leading dot.
Type
string
expires_atstring | nullWhen it expires, as an ISO 8601 time; null for a cookie that lasts only while the browser runs.
Type
string | null
wokebooleantrue when the computer was asleep and this call woke it.
Type
boolean
HTTP

No sample in your language for this route, so here it is over HTTP.

curl "$VESTRA_BASE_URL/v1/users/{user_id}/browser/cookies?domain=...&names=..." \  -H "Authorization: Bearer $VESTRA_API_KEY"