Skip to main content
POST
/
api
/
user
/
login
/
Login User API Endpoint
curl --request POST \
  --url https://backend.clipvision.ai/api/user/login/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email_address": "jsmith@example.com",
  "password": "<string>"
}'
{
  "is_authenticated": true,
  "jwt_token": "eyJwt...."
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
email_address
string<email>
required
Minimum length: 1
password
string
required
Minimum length: 1

Response

Successfully authenticated the user

is_authenticated
boolean
jwt_token
string