Authentication

Visualyze Document AI uses API Key authentication for accessing the services.

User Login

Used to get access token . Access token can be used to generate API keys.

POST URL:{{base_url}}/api/{{version}}/user/login

Request Body

Name
Type
Description

email*

multipart/formm-data

Email id of the user.

password*

multipart/formm-data

Password of the user.

{
    // Response
}

Access token will expire in 1 hour.

User Logout

Used to revoke an access token.

POST URL:{{base_url}}/api/{{version}}/user/logout

Headers

Name
Type
Description

Authorization*

Bearer Token

{
    "data": {},
    "message": "Successfully logged out",
    "status": 200
}

Generate API Key

Generate a new API Key for accessing the services.

GET URL:{{base_url}}/api/{{version}}/user/apikey/generate

To generate API key using access token.

Headers

Name
Type
Description

Authorization*

Bearer Token

{     
"data": { 
            "api_key": "String"  
         },  
"message": "String", 
"status": 200 
}

Last updated