Celantur Documentation
celantur.com
  • Celantur Documentation
  • Container
    • Getting Started
    • Requirements and Installation
      • Requirements
      • Installation on Linux
      • Installation on Windows
      • Updates
    • Usage
      • Batch and Stream mode
      • REST API (v1) mode
      • TCP mode
      • Segmentation Masks and Metadata
      • Customize Blurring
      • Using CPU only
      • Object Tracking
    • Benchmarks
    • Release Notes
  • SDK/Edge
    • Getting Started
    • Requirements and Installation
      • Requirements
    • Benchmarks
    • Release Notes
  • Architecture
  • Troubleshooting
  • Cloud API
    • Getting Started
    • Concept
    • Authorization
    • Examples
    • API Endpoints
    • Webhooks
    • v1 (deprecated)
      • v1 API Endpoints (deprecated)
      • v1 Webhooks (deprecated)
      • v1 Examples (deprecated)
      • v1 Authorization (deprecated)
    • Release Notes
  • Tutorials
    • Image Anonymization in Esri ArcGIS Online
    • Image Anonymization in Esri ArcGIS Pro
    • Anonymization of ROS2 .mcap files
    • FARO Blurring Workflow
    • Anonymize Teledyne Flir PGR images
Powered by GitBook
On this page
  1. Cloud API

Authorization

Authenticating with Celantur Cloud API

PreviousConceptNextExamples

Last updated 1 year ago

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 API endpoint to receive your authorization token.

  3. 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/v2/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.

Sign in (authorization)