Skip to main content
POST
/
external
/
api
/
v1
/
sign-in
Sign In
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
}

Body

application/json
username
string
required

User's email or username

password
string
required

User's password

Response

Successfully authenticated - Returns access token

access_token
string

JWT access token to be used in Authorization header

token_type
string

Token type (always 'Bearer')

expires_in
integer

Token expiration time in seconds