v1 Authorization (deprecated)

Authenticating with Celantur Cloud API

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 the authorization token for interacting with the API Endpoints

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}
  )  

Access token support will be available soon.

Last updated