curl --request PUT \
--url https://api.cleartalk.ai/profile/update \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "John Doe",
"email": "user@example.com",
"phone": "+11234567890",
"phone_number": "+11234567890,+11234567891",
"authentication_status": 1,
"max_calling": 1,
"time_zone": "America/New_York",
"twoAuth": true,
"encrypt": true,
"countryCode": "+1",
"digitCountCountryCode": 1,
"ghl_user": 1
}
'curl --request PUT \
--url https://api.cleartalk.ai/profile/update \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "John Doe",
"email": "user@example.com",
"phone": "+11234567890",
"phone_number": "+11234567890,+11234567891",
"authentication_status": 1,
"max_calling": 1,
"time_zone": "America/New_York",
"twoAuth": true,
"encrypt": true,
"countryCode": "+1",
"digitCountCountryCode": 1,
"ghl_user": 1
}
'API Key for authentication
User name
"John Doe"
User email
"user@example.com"
Personal Phone number
"+11234567890"
Phone number Excluded
"+11234567890,+11234567891"
Authentication status (1 for true, 0 for false)
1
Max calling enabled (1 for true, 0 for false)
1
Time zone
"America/New_York"
Two factor authentication enabled
true
Encrypt role enabled
true
Country code
"+1"
Digit count for country code
1
GHL user authentication status
1
Profile updated successfully