---
title: "Auth Object"
url: "https://help.internetx.com/en/api/core-auth-object/"
lang: "en"
section: "API reference — API reference (XML/JSON)"
breadcrumb: "API documentation (JSON/XML) > Objects > XML specific objects"
updated: "2024-02-22"
---

# Auth Object

## Description

The Auth element represents the authentication for a user and must be placed inside of a <request> element.

## Structure

| Keyword XML | Occurs | Type | Format | Description |
| --- | --- | --- | --- | --- |
| user | 1 | string |  | User name |
| context | 1 | number | int32 | Context of the user |
| password | 1 | string |  | Password of the user |
| token | 0 - 1 | string |  | One Time Token for 2FA. See [Authentication](/en/api/core-authentication/). |

## XML Example

```
<auth>
	<user>USER</user>
	<context>CONTEXT</context>
	<password>PASSWORD</password>
</auth>
```
