# v1 Authorization (deprecated)

Celantur Cloud API is only usable when a user is authenticated. 🔒

Files are assigned to the user who has uploaded uploaded them. Other users can't access your files.

## How to get your authorization token

1. Create a new account or log in to app.celantur.com.
2. Use your app.celantur.com credentials with the [#sign-in-authorization](https://doc.celantur.com/api-endpoints#sign-in-authorization "mention") API endpoint to receive your authorization token.
3. Use the authorization token for interacting with the [api-endpoints](https://doc.celantur.com/cloud-api/api-endpoints "mention")

```python
import requests

def main():    
  credentials = {'username': 'xxx', 'password': 'xxx'}
  response = requests.post(
    'https://api.celantur.com/v1/signin/', 
    json=credentials, 
    headers={'Content-Type':'application/json'}
  )
  auth_token = response.json()['AuthenticationResult']['AccessToken']

  status = requests.get(
    'https://api.celantur.com/v1/file/' + file_id + '/status', 
    headers={'Authorization': auth_token}
  )  
```

{% hint style="info" %}
**Access token support** will be available soon.
{% endhint %}
