# Cookie Policy

## What are cookies?

Cookies are small pieces of data saved in text files stored on your computer or other devices when websites are loaded in a browser.

Please read this privacy policy (“Privacy Policy”) carefully before you start to use the Services, as defined below. By accessing or using the Services in any manner, you accept and agree to be bound by this Privacy Policy. If you do not agree with any terms of this Privacy Policy, you may not access or use the Services for any purpose.

## Cookies set by Timebook

We use cookies for several purposes. Some are necessary for technical reasons; other cookies help us give you a personalized experience. Some may be set when you load a page or take a particular action.

The following sections list the cookies that we set, both required and optional. We highly recommend you allow both sets of cookies so that you can enjoy a smooth and personalized experience with Timebook.

### Required cookies

The following cookies are required and cannot be disabled. We use them to make sure Timebook works in a stable way.

| Cookie name                         | Purpose                                                                  |
| ----------------------------------- | ------------------------------------------------------------------------ |
| **tb-{userId}-access-token**        | User's session token (access), set by Backend service after logging in.  |
| **tb-{userId}-refresh-token**       | User's session token (refresh), set by Backend service after logging in. |
| **device-id**                       | Identify the user's current device instance.                             |
| **subdomainName**                   | Map workplace ID with its subdomain name (Workplace switching).          |
| **active-workplace-id:${userId}**   | Identify current Workplace + user application context.                   |
| **active-user-id**                  | Identify the current user's ID.                                          |
| **onboardingError**                 | Protect the onboarding flow if an error occurred.                        |
| **new-workplace-for-another-email** | Workplace switching - create a new Workplace flow.                       |
| **WORKPLACE\_INVITATION**           | Protect the Workplace invitation flow.                                   |

### Functional cookies (optional)

The following cookies are optional, but we recommend enabling them. We use these cookies to store information about your choices and preferences in Timebook.

| Cookie name                   | Purpose                                                                                            |
| ----------------------------- | -------------------------------------------------------------------------------------------------- |
| **previousPage**              | Navigation - redirect the user to the last opened page (after re-login or refreshing the session). |
| **tb-{userId}-refresh-token** | Navigation - switch to the last logged-in user account.                                            |
| **previousRoute**             | Navigation - redirect the user to a page from the full URL link if it was provided.                |

## Managing cookies

You may wish to restrict the use of cookies (or even prevent them from being set). Most browsers provide tools to control cookie behavior through built-in features or third-party plugins.

For more details on how to manage and delete cookies, visit [aboutcookies.org](http://aboutcookies.org/).

For more details on advertising cookies and how to manage them, visit [youronlinechoices.eu](http://youronlinechoices.eu/) (EU-based) or [aboutads.info](http://aboutads.info/) (US-based).

{% hint style="info" %}
Restricting or turning off cookies can limit Timebook functionality or prevent it from working correctly at all.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.timebook.ai/hc/terms-and-policies/your-guide-to-timebook-policies/cookie-policy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
