# Operator authentication

### Happy path flow

Betlink requests the operator for a temporary launch token. Once the token has been obtained, Betlink acquires an access token and a session from Betlink backend by exchanging the launch token. The access token and the session cookie is used to place bets.

<figure><img src="/files/flkisfbXUhNR8ynNu9dJ" alt=""><figcaption></figcaption></figure>

### Token refresh flow

When the previously obtained access token/cookie has expired, and when the user tries to place a bet, the whole process of obtaining a new launch token, access token and cookie is repeated and bets are placed as soon as the auth info is refreshed.

<figure><img src="/files/OgQXf7zFugZO5ocMQisT" alt=""><figcaption></figcaption></figure>


---

# 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://docs.sportradar.com/betlink-integration/front-end-integration/operator-authentication.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.
