# Login to your account

<table data-header-hidden><thead><tr><th width="228.8571428571429">Description</th><th>Retrieves an access token to access restricted information.</th></tr></thead><tbody><tr><td><strong>Description</strong></td><td>Creates a login token for authentication.</td></tr><tr><td><strong>Endpoint</strong></td><td><code>/account/login</code></td></tr><tr><td><strong>Method</strong></td><td>POST</td></tr></tbody></table>

### Access Level Rules

| **Minimum Access Level** | Account holder only |
| ------------------------ | ------------------- |

### Processing Units

| **Processing units** | 0 |
| -------------------- | - |

### Parameters

<table><thead><tr><th>Name</th><th width="299">Description</th><th width="150">Required</th><th>Default</th></tr></thead><tbody><tr><td><code>username</code></td><td>The username of your Ellipsis Drive account.</td><td>true</td><td></td></tr><tr><td><code>password</code></td><td>The password of your Ellipsis Drive account.</td><td>true</td><td></td></tr><tr><td><code>validFor</code></td><td>The number of seconds the token will be valid for.</td><td>false</td><td>86400 seconds (24 hours)</td></tr></tbody></table>
