---
title: "Login"
canonical_url: "https://docs.sportradar.com/resources/live-data/docs/introduction/system-communication/xml-messages-sent-from-the-client-system/login"
markdown_url: "https://docs.sportradar.com/resources/live-data/docs/introduction/system-communication/xml-messages-sent-from-the-client-system/login.md"
last_updated: "2026-09-01T11:52:16Z"
---

# Login

After connecting to the server, the client system needs to log in before it can start sending requests and receiving data.

**XML example**

```xml
<login>
<credential>
<loginname value="pavels"/>
<password value="..."/>
</credential>
</login>
```

**Login reply**\
In order to let the client system know whether the login attempt was successful, the server replies to login messages.

**XML example**

```xml
<login result="valid">
<user bookmakerid="1234"/>
</login>
```

***XML attributes definition***

| Element | Attributes | Description                             | Possible values                                                                |
| ------- | ---------- | --------------------------------------- | ------------------------------------------------------------------------------ |
| login   | *result*   | Whether the login was successful or not | String, possible values:<br>valid = Login succesfull<br>invalid = Login failed |
