cURL
curl --request POST \ --url https://public-api.cloudidr.com/external/api/v1/sign-in \ --header 'Content-Type: application/json' \ --data ' { "username": "user@example.com", "password": "your_password" } '
{ "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "token_type": "Bearer", "expires_in": 3600 }
User's email or username
User's password
Successfully authenticated - Returns access token
JWT access token to be used in Authorization header
Token type (always 'Bearer')
Token expiration time in seconds