curl --request POST \
--url https://app.closerx.ai/api/auth/login/ \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"email": "[email protected]",
"password": "<string>"
}
'{
"success": true,
"message": "<string>",
"data": {
"user": {
"id": 123,
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"profile_picture": "<string>",
"contact_number": "<string>",
"email_verified": true,
"companies": {
"user_type": "<string>",
"company_id": 123,
"company_name": "<string>",
"company_name_view": "<string>"
},
"access_token": "<string>",
"refresh_token": "<string>",
"is_superadmin": true,
"agent_exists": true,
"subscription_status": "<string>",
"is_suspended": true,
"ghl_connected": true,
"term_condition_excepted": true,
"twilio_type": "<string>",
"salesforce_connected": true,
"snowie_connected": true,
"telnyx_connected": true,
"spreadsheet_connected": true,
"login_domain": "<string>"
}
}
}Allows User to Log In the system
curl --request POST \
--url https://app.closerx.ai/api/auth/login/ \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"email": "[email protected]",
"password": "<string>"
}
'{
"success": true,
"message": "<string>",
"data": {
"user": {
"id": 123,
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"profile_picture": "<string>",
"contact_number": "<string>",
"email_verified": true,
"companies": {
"user_type": "<string>",
"company_id": 123,
"company_name": "<string>",
"company_name_view": "<string>"
},
"access_token": "<string>",
"refresh_token": "<string>",
"is_superadmin": true,
"agent_exists": true,
"subscription_status": "<string>",
"is_suspended": true,
"ghl_connected": true,
"term_condition_excepted": true,
"twilio_type": "<string>",
"salesforce_connected": true,
"snowie_connected": true,
"telnyx_connected": true,
"spreadsheet_connected": true,
"login_domain": "<string>"
}
}
}Login Credentials
Login response
Indicates whether the login was successful
Message describing the result of the login request
Show child attributes
Show child attributes
Unique identifier for the user
User's email address
User's first name
User's last name
URL to the user's profile picture
User's contact phone number
Indicates if the user's email is verified
Show child attributes
Access token for authentication
Refresh token for renewing access
Indicates if the user is a superadmin
Indicates if an agent exists for the user
Status of the user's subscription
Indicates if the user's account is suspended
Indicates if GoHighLevel is connected
Indicates if terms and conditions are accepted
Type of Twilio integration
Indicates if Salesforce is connected
Indicates if Snowie is connected
Indicates if Telnyx is connected
Indicates if spreadsheet integration is connected
Domain used for login