Account API

Account Update

copy-icon
curl -X PUT \
'https://api.loginradius.com/identity/v2/manage/account/{uid}?apikey=&apisecret=&Fields=&NullSupport=' \
-H 'Cache-Control: no-cache' \
-H 'content-Type: application/json' \
-d "{ "firstName" : "<firstName>","lastName" : "<lastName>" }"

The above command returns JSON structured like this:

copy-icon
{
"Identities" : [
{
"About" : "About value that need to be inserted",
"Addresses" : [
{
"Address1" : "Address field value that needs to be updated",
"Address2" : "Address field value that needs to be updated",
"City" : "user's city",
"Country" : "Country of the user",
"PostalCode" : "Postal code value that need to be updated",
"Region" : "Region",
"State" : "State of the user",
"Type" : "Residential"
}
],
"Age" : "User's Age",
"AgeRange" : {
"Max" : 0,
"Min" : 0
},
"Associations" : "Organization a person is assosciated with",
"Awards" : [
{
"Id" : "Id of the Awards",
"Issuer" : "Award issuer details",
"Name" : "Award name"
}
],
"Badges" : [
{
"BadgeId" : "Badge ID",
"BadgeMessage" : "Badge Message",
"BageId" : "Badge ID",
"BageMessage" : "Badge Message",
"Description" : "detailed information",
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Name" : "Badge Name"
}
],
"BirthDate" : "10-15-2000",
"BoardsCount" : 0,
"Books" : [
{
"Category" : "Book category",
"CreatedDate" : "Date of Creation of Profile",
"Id" : "Id of book",
"Name" : "book name"
}
],
"Certifications" : [
{
"Authority" : "Authority of certifications",
"EndDate" : "Certification end date",
"Id" : "Certification id",
"Name" : "Certification name",
"Number" : "Certification number",
"StartDate" : "Certification start date"
}
],
"City" : "user's city",
"Company" : "users company name",
"Country" : {
"Code" : "Country code",
"Name" : "Country name"
},
"Courses" : [
{
"Id" : "Course id",
"Name" : "Course name",
"Number" : "Course number"
}
],
"CoverPhoto" : "URL of the photo that need to be inserted",
"Created" : "created",
"CreatedDate" : "Date of Creation of Profile",
"Currency" : "Currency",
"CurrentStatus" : [
{
"CreatedDate" : "Current status created date",
"Id" : "Current status id",
"Source" : "Current status source",
"Text" : "Current status text"
}
],
"Educations" : [
{
"activities" : "Activities",
"degree" : "Degree",
"EndDate" : "Education End Date",
"fieldofstudy" : "Fields of study",
"notes" : "Notes",
"School" : "School of the user",
"StartDate" : "Start date of Education of user",
"type" : "Type",
"year" : "Year of Education"
}
],
"Email" : [
{
"Type" : "Primary",
"Value" : "Email address"
}
],
"Family" : [
{
"Id" : "Family id",
"Name" : "Family name",
"Relationship" : "Family relationship"
}
],
"Favicon" : "URL of the favicon that need to be inserted",
"FavoriteThings" : [
{
"Id" : "Id of favorite things",
"Name" : "Name of favorite things",
"Type" : "Type of favorite things"
}
],
"FirstLogin" : true,
"FirstName" : "John",
"FollowersCount" : 0,
"FriendsCount" : 0,
"FullName" : "Users complete name",
"Games" : [
{
"Category" : "Category of game",
"CreatedDate" : "Game created date",
"Id" : "Id of game",
"Name" : "Game name"
}
],
"Gender" : "Male",
"GistsUrl" : "Git Repository URL",
"GravatarImageUrl" : "URL of image that need to be inserted",
"Hireable" : true,
"HomeTown" : "user's home town name",
"Honors" : "Awards lists from the social provider",
"HttpsImageUrl" : "URL of the Image that need to be inserted",
"ID" : "ID of the User",
"IMAccounts" : [
{
"AccountName" : "Name of account",
"AccountType" : "Type of account"
}
],
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Industry" : "Industry name",
"InspirationalPeople" : [
{
"Id" : "ID of inspirational people",
"Name" : "name of inspirational people"
}
],
"InterestedIn" : [
"" , ""
],
"Interests" : [
{
"InterestedName" : "Name of interested",
"InterestedType" : "Type of interested"
}
],
"IsGeoEnabled" : "boolean type value, default is true",
"IsProtected" : true,
"JobBookmarks" : [
{
"ApplyTimestamp" : "Job Bookmarks Apply Timestamp",
"IsApplied" : true,
"IsSaved" : true,
"Job" : {
"Active" : true,
"Company" : {
"Id" : "Company id",
"Name" : "Company name"
},
"DescriptionSnippet" : "Job description",
"Id" : "Job id",
"Position" : {
"Title" : "Position title"
},
"PostingTimestamp" : "Job posting timestamp"
},
"SavedTimestamp" : "Saved time stamp of Job bookmarks"
}
],
"KloutScore" : {
"KloutId" : "Id of klout",
"Score" : 0
},
"Language" : "language known by user's",
"Languages" : [
{
"Id" : "Language id",
"Name" : "Name of language",
"Proficiency" : "Proficiency in language"
}
],
"LastLoginDate" : "last login date",
"LastName" : "Doe",
"LikesCount" : 0,
"LocalCity" : "Local City of the user",
"LocalCountry" : "Local country of the user",
"LocalLanguage" : "Local language of the user",
"LRUserID" : "LR user id",
"MainAddress" : "Main address of the user",
"MemberUrlResources" : [
{
"Url" : "String represents website url",
"UrlName" : "URL name"
}
],
"MiddleName" : "user's middle name",
"ModifiedDate" : "profile updated date",
"Movies" : [
{
"Category" : "Category of movie",
"CreatedDate" : "Movie created date",
"Id" : "Id of movie",
"Name" : "Name of movie"
}
],
"MutualFriends" : [
{
"Birthday" : "Birthday of mutual friend",
"FirstName" : "first name of mutual friend",
"Gender" : "Gender of mutual friend",
"Hometown" : "Hometown of mutual friend",
"Id" : "Id of mutual friend",
"LastName" : "Last name of mutual friend",
"Link" : "Link of mutual friend",
"Name" : "Name of mutual friend"
}
],
"NickName" : "Nick name of the user",
"NumRecommenders" : 0,
"Patents" : [
{
"Date" : "Date of patents",
"Id" : "Id of the patents",
"Title" : "Title of the patents"
}
],
"PhoneNumbers" : [
{
"PhoneNumber" : "Phone number",
"PhoneType" : "Phone type"
}
],
"PinsCount" : 0,
"PlacesLived" : [
{
"IsPrimary" : true,
"Name" : "Name of lived place"
}
],
"Political" : "List of Political interest",
"Positions" : [
{
"Company" : {
"Industry" : "position company industry",
"Name" : "position company name",
"Type" : "position company type"
},
"EndDate" : "End date of the professional position",
"IsCurrent" : "Is current or not",
"Location" : "Location of the professional position",
"Position" : "Position",
"StartDate" : "Start date of the professional position",
"Summary" : "Summary of the professional position"
}
],
"Prefix" : "Mr.",
"PreviousUids" : [
"" , ""
],
"PrivateGists" : 0,
"ProfessionalHeadline" : "This field provide by linkedin.contain our linkedin profile headline",
"ProfileCity" : "ProfileCity value that need to be inserted",
"ProfileCountry" : "ProfileCountry value that need to be inserted",
"ProfileImageUrls" : {"key1":"value1","key2":"value2"},
"ProfileModifiedDate" : "profile updated date",
"ProfileName" : "ProfileName value field that need to be inserted",
"ProfileUrl" : "User profile url like facebook profile Url",
"Projects" : [
{
"EndDate" : "End date of the project",
"Id" : "Id of the project",
"IsCurrent" : "is current or not",
"Name" : "Name of the project",
"StartDate" : "Start date of the project",
"Summary" : "Summary of the project",
"With" : [
{
"Id" : "Id",
"Name" : "Name"
}
]
}
],
"Provider" : "Name of the provider",
"ProviderAccessCredential" : {
"AccessToken" : "Uniquely generated identifier key by LoginRadius that is activated after successful authentication.",
"TokenSecret" : "secret token of the provider"
},
"Publications" : [
{
"Authors" : [
{
"Id" : "Author id of the publication",
"Name" : "Author name"
}
],
"Date" : "Date of the publication",
"Id" : "Id of the Publication",
"Publisher" : "Publisher of the Publication",
"Summary" : "Summary of the publication",
"Title" : "Title of the publication",
"Url" : "Publication url"
}
],
"PublicGists" : 0,
"PublicRepository" : "user public Repository Urls",
"Quota" : "Quota",
"Quote" : "quote",
"RecommendationsReceived" : [
{
"Id" : "Recommendation id",
"RecommendationText" : "Recommendation text",
"RecommendationType" : "Recommendation type",
"Recommender" : "Recommender"
}
],
"RelatedProfileViews" : [
{
"FirstName" : "John",
"Id" : "Id of profile view",
"LastName" : "Doe"
}
],
"RelationshipStatus" : "user's relationship status",
"Religion" : "String shows users religion",
"RepositoryUrl" : "Repository URL",
"SignupDate" : "Signup date",
"Skills" : [
{
"Id" : "id of skill",
"Name" : "name of skills"
}
],
"Sports" : [
{
"Id" : "Id of sport",
"Name" : "Name of sport"
}
],
"StarredUrl" : "Git users bookmark repositories",
"State" : "State of the user",
"Subscription" : {
"Collaborators" : "Github plan collaborators",
"Name" : "Github plan name",
"PrivateRepos" : "Private repos of github",
"Space" : "Github plan space"
},
"Suffix" : "Jr.",
"Suggestions" : {
"CompaniestoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"IndustriestoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"NewssourcetoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"PeopletoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
]
},
"TagLine" : "Tagline that need to be inserted",
"TeleVisionShow" : [
{
"Category" : "Television category",
"CreatedDate" : "Date",
"Id" : "Id of television",
"Name" : "Name of volunteer"
}
],
"ThumbnailImageUrl" : "URL for the Thumbnail",
"TimeZone" : "The Current Time Zone.",
"TotalPrivateRepository" : 0,
"TotalStatusesCount" : 0,
"UpdatedTime" : "updated date",
"Verified" : "verified",
"Volunteer" : [
{
"Cause" : "Cause of volunteer",
"Id" : "Volunteer Id",
"Organization" : "name",
"Role" : "Name of role"
}
],
"WebProfiles" : {"key1":"value1","key2":"value2"},
"Website" : "Personal Website a User has"
}
],
"ConsentProfile" : {
"AcceptedConsentVersions" : [
{
"Event" : "Allowed events: Login, Register, UpdateProfile, ResetPassword, ChangePassword, emailVerification, AddEmail, RemoveEmail, BlockAccount, DeleteAccount, SetUsername, AssignRoles, UnassignRoles, SetPassword, LinkAccount, UnlinkAccount, UpdatePhoneId, VerifyPhoneNumber, CreateCustomObject, UpdateCustomobject, DeleteCustomObject",
"IsCustom" : true,
"Version" : 0
}
],
"Consents" : [
{
"AcceptOnDate" : "Consent Accept on Date",
"ConsentOptionId" : "Consent Option Id"
}
]
},
"CustomFields" : {"key1":"value1","key2":"value2"},
"EmailVerified" : true,
"ExternalIds" : [
{
"Source" : "ExternalId source",
"SourceId" : "External source id"
}
],
"ExternalUserLoginId" : "External User Login Id",
"IsActive" : true,
"IsCustomUid" : true,
"IsDeleted" : true,
"IsEmailSubscribed" : true,
"IsLoginLocked" : true,
"IsRequiredFieldsFilledOnce" : true,
"IsSecurePassword" : true,
"LastLoginLocation" : "Last login location",
"LastPasswordChangeDate" : "Last password change date",
"LastPasswordChangeToken" : "Last password change token",
"LoginLockedType" : "Type of Lockout",
"NoOfLogins" : 0,
"Password" : "Password for the email",
"PasswordExpirationDate" : "Date of password expiration",
"PhoneId" : "Phone ID (Unique Phone Number Identifier of the user)",
"PhoneIdVerified" : true,
"PIN" : {
"LastPINChangeDate" : "Last PIN Change Date",
"PIN" : "PIN of user",
"Skipped" : true,
"SkippedDate" : "Skipped Date"
},
"PrivacyPolicy" : {
"AcceptDateTime" : "Privacy policy accept date time",
"AcceptSource" : "Privacy policy accept source",
"Version" : "Privacy policy version"
},
"RegistrationData" : {
"Data" : [
{
"DataSource" : "Registration Data Source",
"Value" : {
"Id" : "ID of the User"
}
}
]
},
"RegistrationProvider" : "Provider with which user registered",
"RegistrationSource" : "URL of the webproperty from where the user is registered.",
"Roles" : [
"" , ""
],
"Uid" : "UID, the unified identifier for each user account",
"UnverifiedEmail" : [
{
"Type" : "Primary",
"Value" : "Email address"
}
],
"UserName" : "Username of the user",
"About" : "About value that need to be inserted",
"Addresses" : [
{
"Address1" : "Address field value that needs to be updated",
"Address2" : "Address field value that needs to be updated",
"City" : "user's city",
"Country" : "Country of the user",
"PostalCode" : "Postal code value that need to be updated",
"Region" : "Region",
"State" : "State of the user",
"Type" : "Residential"
}
],
"Age" : "User's Age",
"AgeRange" : {
"Max" : 0,
"Min" : 0
},
"Associations" : "Organization a person is assosciated with",
"Awards" : [
{
"Id" : "Id of the Awards",
"Issuer" : "Award issuer details",
"Name" : "Award name"
}
],
"Badges" : [
{
"BadgeId" : "Badge ID",
"BadgeMessage" : "Badge Message",
"BageId" : "Badge ID",
"BageMessage" : "Badge Message",
"Description" : "detailed information",
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Name" : "Badge Name"
}
],
"BirthDate" : "10-15-2000",
"BoardsCount" : 0,
"Books" : [
{
"Category" : "Book category",
"CreatedDate" : "Date of Creation of Profile",
"Id" : "Id of book",
"Name" : "book name"
}
],
"Certifications" : [
{
"Authority" : "Authority of certifications",
"EndDate" : "Certification end date",
"Id" : "Certification id",
"Name" : "Certification name",
"Number" : "Certification number",
"StartDate" : "Certification start date"
}
],
"City" : "user's city",
"Company" : "users company name",
"Country" : {
"Code" : "Country code",
"Name" : "Country name"
},
"Courses" : [
{
"Id" : "Course id",
"Name" : "Course name",
"Number" : "Course number"
}
],
"CoverPhoto" : "URL of the photo that need to be inserted",
"Created" : "created",
"CreatedDate" : "Date of Creation of Profile",
"Currency" : "Currency",
"CurrentStatus" : [
{
"CreatedDate" : "Current status created date",
"Id" : "Current status id",
"Source" : "Current status source",
"Text" : "Current status text"
}
],
"Educations" : [
{
"activities" : "Activities",
"degree" : "Degree",
"EndDate" : "Education End Date",
"fieldofstudy" : "Fields of study",
"notes" : "Notes",
"School" : "School of the user",
"StartDate" : "Start date of Education of user",
"type" : "Type",
"year" : "Year of Education"
}
],
"Email" : [
{
"Type" : "Primary",
"Value" : "Email address"
}
],
"Family" : [
{
"Id" : "Family id",
"Name" : "Family name",
"Relationship" : "Family relationship"
}
],
"Favicon" : "URL of the favicon that need to be inserted",
"FavoriteThings" : [
{
"Id" : "Id of favorite things",
"Name" : "Name of favorite things",
"Type" : "Type of favorite things"
}
],
"FirstLogin" : true,
"FirstName" : "John",
"FollowersCount" : 0,
"FriendsCount" : 0,
"FullName" : "Users complete name",
"Games" : [
{
"Category" : "Category of game",
"CreatedDate" : "Game created date",
"Id" : "Id of game",
"Name" : "Game name"
}
],
"Gender" : "Male",
"GistsUrl" : "Git Repository URL",
"GravatarImageUrl" : "URL of image that need to be inserted",
"Hireable" : true,
"HomeTown" : "user's home town name",
"Honors" : "Awards lists from the social provider",
"HttpsImageUrl" : "URL of the Image that need to be inserted",
"ID" : "ID of the User",
"IMAccounts" : [
{
"AccountName" : "Name of account",
"AccountType" : "Type of account"
}
],
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Industry" : "Industry name",
"InspirationalPeople" : [
{
"Id" : "ID of inspirational people",
"Name" : "name of inspirational people"
}
],
"InterestedIn" : [
"" , ""
],
"Interests" : [
{
"InterestedName" : "Name of interested",
"InterestedType" : "Type of interested"
}
],
"IsGeoEnabled" : "boolean type value, default is true",
"IsProtected" : true,
"JobBookmarks" : [
{
"ApplyTimestamp" : "Job Bookmarks Apply Timestamp",
"IsApplied" : true,
"IsSaved" : true,
"Job" : {
"Active" : true,
"Company" : {
"Id" : "Company id",
"Name" : "Company name"
},
"DescriptionSnippet" : "Job description",
"Id" : "Job id",
"Position" : {
"Title" : "Position title"
},
"PostingTimestamp" : "Job posting timestamp"
},
"SavedTimestamp" : "Saved time stamp of Job bookmarks"
}
],
"KloutScore" : {
"KloutId" : "Id of klout",
"Score" : 0
},
"Language" : "language known by user's",
"Languages" : [
{
"Id" : "Language id",
"Name" : "Name of language",
"Proficiency" : "Proficiency in language"
}
],
"LastLoginDate" : "last login date",
"LastName" : "Doe",
"LikesCount" : 0,
"LocalCity" : "Local City of the user",
"LocalCountry" : "Local country of the user",
"LocalLanguage" : "Local language of the user",
"LRUserID" : "LR user id",
"MainAddress" : "Main address of the user",
"MemberUrlResources" : [
{
"Url" : "String represents website url",
"UrlName" : "URL name"
}
],
"MiddleName" : "user's middle name",
"ModifiedDate" : "profile updated date",
"Movies" : [
{
"Category" : "Category of movie",
"CreatedDate" : "Movie created date",
"Id" : "Id of movie",
"Name" : "Name of movie"
}
],
"MutualFriends" : [
{
"Birthday" : "Birthday of mutual friend",
"FirstName" : "first name of mutual friend",
"Gender" : "Gender of mutual friend",
"Hometown" : "Hometown of mutual friend",
"Id" : "Id of mutual friend",
"LastName" : "Last name of mutual friend",
"Link" : "Link of mutual friend",
"Name" : "Name of mutual friend"
}
],
"NickName" : "Nick name of the user",
"NumRecommenders" : 0,
"Patents" : [
{
"Date" : "Date of patents",
"Id" : "Id of the patents",
"Title" : "Title of the patents"
}
],
"PhoneNumbers" : [
{
"PhoneNumber" : "Phone number",
"PhoneType" : "Phone type"
}
],
"PinsCount" : 0,
"PlacesLived" : [
{
"IsPrimary" : true,
"Name" : "Name of lived place"
}
],
"Political" : "List of Political interest",
"Positions" : [
{
"Company" : {
"Industry" : "position company industry",
"Name" : "position company name",
"Type" : "position company type"
},
"EndDate" : "End date of the professional position",
"IsCurrent" : "Is current or not",
"Location" : "Location of the professional position",
"Position" : "Position",
"StartDate" : "Start date of the professional position",
"Summary" : "Summary of the professional position"
}
],
"Prefix" : "Mr.",
"PreviousUids" : [
"" , ""
],
"PrivateGists" : 0,
"ProfessionalHeadline" : "This field provide by linkedin.contain our linkedin profile headline",
"ProfileCity" : "ProfileCity value that need to be inserted",
"ProfileCountry" : "ProfileCountry value that need to be inserted",
"ProfileImageUrls" : {"key1":"value1","key2":"value2"},
"ProfileModifiedDate" : "profile updated date",
"ProfileName" : "ProfileName value field that need to be inserted",
"ProfileUrl" : "User profile url like facebook profile Url",
"Projects" : [
{
"EndDate" : "End date of the project",
"Id" : "Id of the project",
"IsCurrent" : "is current or not",
"Name" : "Name of the project",
"StartDate" : "Start date of the project",
"Summary" : "Summary of the project",
"With" : [
{
"Id" : "Id",
"Name" : "Name"
}
]
}
],
"Provider" : "Name of the provider",
"ProviderAccessCredential" : {
"AccessToken" : "Uniquely generated identifier key by LoginRadius that is activated after successful authentication.",
"TokenSecret" : "secret token of the provider"
},
"Publications" : [
{
"Authors" : [
{
"Id" : "Author id of the publication",
"Name" : "Author name"
}
],
"Date" : "Date of the publication",
"Id" : "Id of the Publication",
"Publisher" : "Publisher of the Publication",
"Summary" : "Summary of the publication",
"Title" : "Title of the publication",
"Url" : "Publication url"
}
],
"PublicGists" : 0,
"PublicRepository" : "user public Repository Urls",
"Quota" : "Quota",
"Quote" : "quote",
"RecommendationsReceived" : [
{
"Id" : "Recommendation id",
"RecommendationText" : "Recommendation text",
"RecommendationType" : "Recommendation type",
"Recommender" : "Recommender"
}
],
"RelatedProfileViews" : [
{
"FirstName" : "John",
"Id" : "Id of profile view",
"LastName" : "Doe"
}
],
"RelationshipStatus" : "user's relationship status",
"Religion" : "String shows users religion",
"RepositoryUrl" : "Repository URL",
"SignupDate" : "Signup date",
"Skills" : [
{
"Id" : "id of skill",
"Name" : "name of skills"
}
],
"Sports" : [
{
"Id" : "Id of sport",
"Name" : "Name of sport"
}
],
"StarredUrl" : "Git users bookmark repositories",
"State" : "State of the user",
"Subscription" : {
"Collaborators" : "Github plan collaborators",
"Name" : "Github plan name",
"PrivateRepos" : "Private repos of github",
"Space" : "Github plan space"
},
"Suffix" : "Jr.",
"Suggestions" : {
"CompaniestoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"IndustriestoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"NewssourcetoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"PeopletoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
]
},
"TagLine" : "Tagline that need to be inserted",
"TeleVisionShow" : [
{
"Category" : "Television category",
"CreatedDate" : "Date",
"Id" : "Id of television",
"Name" : "Name of volunteer"
}
],
"ThumbnailImageUrl" : "URL for the Thumbnail",
"TimeZone" : "The Current Time Zone.",
"TotalPrivateRepository" : 0,
"TotalStatusesCount" : 0,
"UpdatedTime" : "updated date",
"Verified" : "verified",
"Volunteer" : [
{
"Cause" : "Cause of volunteer",
"Id" : "Volunteer Id",
"Organization" : "name",
"Role" : "Name of role"
}
],
"WebProfiles" : {"key1":"value1","key2":"value2"},
"Website" : "Personal Website a User has"
}

This API is used to update the information of existing accounts in your Cloud Storage. See our Advanced API Usage section Here for more capabilities.

HTTP Request

Put /identity/v2/manage/account/{uid}?apikey=&apisecret=&Fields=&NullSupport=

Query Parameters

ParameterDefaultDescription
apikeynoneLoginRadius API Key [Required]
apisecretnoneLoginRadius API Secret [Required]
FieldsnoneThe fields parameter filters the API response so that the response only includes a specific set of fields [Optional]
NullSupportnoneBoolean, pass true if you wish to update any user profile field with a NULL value, You can get the details [Optional]

Body Attributes

AttributeDescription
FirstNameuser's first name
LastNameuser's last nameModel Class containing Definition of payload for Account Update API [Required]

Update Phone ID by UID

copy-icon
curl -X PUT \
'https://api.loginradius.com/identity/v2/manage/account/{uid}/PhoneId?apikey=&apisecret=&Fields=' \
-H 'Cache-Control: no-cache' \
-H 'content-Type: application/json' \

The above command returns JSON structured like this:

copy-icon
{
"Identities" : [
{
"About" : "About value that need to be inserted",
"Addresses" : [
{
"Address1" : "Address field value that needs to be updated",
"Address2" : "Address field value that needs to be updated",
"City" : "user's city",
"Country" : "Country of the user",
"PostalCode" : "Postal code value that need to be updated",
"Region" : "Region",
"State" : "State of the user",
"Type" : "Residential"
}
],
"Age" : "User's Age",
"AgeRange" : {
"Max" : 0,
"Min" : 0
},
"Associations" : "Organization a person is assosciated with",
"Awards" : [
{
"Id" : "Id of the Awards",
"Issuer" : "Award issuer details",
"Name" : "Award name"
}
],
"Badges" : [
{
"BadgeId" : "Badge ID",
"BadgeMessage" : "Badge Message",
"BageId" : "Badge ID",
"BageMessage" : "Badge Message",
"Description" : "detailed information",
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Name" : "Badge Name"
}
],
"BirthDate" : "10-15-2000",
"BoardsCount" : 0,
"Books" : [
{
"Category" : "Book category",
"CreatedDate" : "Date of Creation of Profile",
"Id" : "Id of book",
"Name" : "book name"
}
],
"Certifications" : [
{
"Authority" : "Authority of certifications",
"EndDate" : "Certification end date",
"Id" : "Certification id",
"Name" : "Certification name",
"Number" : "Certification number",
"StartDate" : "Certification start date"
}
],
"City" : "user's city",
"Company" : "users company name",
"Country" : {
"Code" : "Country code",
"Name" : "Country name"
},
"Courses" : [
{
"Id" : "Course id",
"Name" : "Course name",
"Number" : "Course number"
}
],
"CoverPhoto" : "URL of the photo that need to be inserted",
"Created" : "created",
"CreatedDate" : "Date of Creation of Profile",
"Currency" : "Currency",
"CurrentStatus" : [
{
"CreatedDate" : "Current status created date",
"Id" : "Current status id",
"Source" : "Current status source",
"Text" : "Current status text"
}
],
"Educations" : [
{
"activities" : "Activities",
"degree" : "Degree",
"EndDate" : "Education End Date",
"fieldofstudy" : "Fields of study",
"notes" : "Notes",
"School" : "School of the user",
"StartDate" : "Start date of Education of user",
"type" : "Type",
"year" : "Year of Education"
}
],
"Email" : [
{
"Type" : "Primary",
"Value" : "Email address"
}
],
"Family" : [
{
"Id" : "Family id",
"Name" : "Family name",
"Relationship" : "Family relationship"
}
],
"Favicon" : "URL of the favicon that need to be inserted",
"FavoriteThings" : [
{
"Id" : "Id of favorite things",
"Name" : "Name of favorite things",
"Type" : "Type of favorite things"
}
],
"FirstLogin" : true,
"FirstName" : "John",
"FollowersCount" : 0,
"FriendsCount" : 0,
"FullName" : "Users complete name",
"Games" : [
{
"Category" : "Category of game",
"CreatedDate" : "Game created date",
"Id" : "Id of game",
"Name" : "Game name"
}
],
"Gender" : "Male",
"GistsUrl" : "Git Repository URL",
"GravatarImageUrl" : "URL of image that need to be inserted",
"Hireable" : true,
"HomeTown" : "user's home town name",
"Honors" : "Awards lists from the social provider",
"HttpsImageUrl" : "URL of the Image that need to be inserted",
"ID" : "ID of the User",
"IMAccounts" : [
{
"AccountName" : "Name of account",
"AccountType" : "Type of account"
}
],
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Industry" : "Industry name",
"InspirationalPeople" : [
{
"Id" : "ID of inspirational people",
"Name" : "name of inspirational people"
}
],
"InterestedIn" : [
"" , ""
],
"Interests" : [
{
"InterestedName" : "Name of interested",
"InterestedType" : "Type of interested"
}
],
"IsGeoEnabled" : "boolean type value, default is true",
"IsProtected" : true,
"JobBookmarks" : [
{
"ApplyTimestamp" : "Job Bookmarks Apply Timestamp",
"IsApplied" : true,
"IsSaved" : true,
"Job" : {
"Active" : true,
"Company" : {
"Id" : "Company id",
"Name" : "Company name"
},
"DescriptionSnippet" : "Job description",
"Id" : "Job id",
"Position" : {
"Title" : "Position title"
},
"PostingTimestamp" : "Job posting timestamp"
},
"SavedTimestamp" : "Saved time stamp of Job bookmarks"
}
],
"KloutScore" : {
"KloutId" : "Id of klout",
"Score" : 0
},
"Language" : "language known by user's",
"Languages" : [
{
"Id" : "Language id",
"Name" : "Name of language",
"Proficiency" : "Proficiency in language"
}
],
"LastLoginDate" : "last login date",
"LastName" : "Doe",
"LikesCount" : 0,
"LocalCity" : "Local City of the user",
"LocalCountry" : "Local country of the user",
"LocalLanguage" : "Local language of the user",
"LRUserID" : "LR user id",
"MainAddress" : "Main address of the user",
"MemberUrlResources" : [
{
"Url" : "String represents website url",
"UrlName" : "URL name"
}
],
"MiddleName" : "user's middle name",
"ModifiedDate" : "profile updated date",
"Movies" : [
{
"Category" : "Category of movie",
"CreatedDate" : "Movie created date",
"Id" : "Id of movie",
"Name" : "Name of movie"
}
],
"MutualFriends" : [
{
"Birthday" : "Birthday of mutual friend",
"FirstName" : "first name of mutual friend",
"Gender" : "Gender of mutual friend",
"Hometown" : "Hometown of mutual friend",
"Id" : "Id of mutual friend",
"LastName" : "Last name of mutual friend",
"Link" : "Link of mutual friend",
"Name" : "Name of mutual friend"
}
],
"NickName" : "Nick name of the user",
"NumRecommenders" : 0,
"Patents" : [
{
"Date" : "Date of patents",
"Id" : "Id of the patents",
"Title" : "Title of the patents"
}
],
"PhoneNumbers" : [
{
"PhoneNumber" : "Phone number",
"PhoneType" : "Phone type"
}
],
"PinsCount" : 0,
"PlacesLived" : [
{
"IsPrimary" : true,
"Name" : "Name of lived place"
}
],
"Political" : "List of Political interest",
"Positions" : [
{
"Company" : {
"Industry" : "position company industry",
"Name" : "position company name",
"Type" : "position company type"
},
"EndDate" : "End date of the professional position",
"IsCurrent" : "Is current or not",
"Location" : "Location of the professional position",
"Position" : "Position",
"StartDate" : "Start date of the professional position",
"Summary" : "Summary of the professional position"
}
],
"Prefix" : "Mr.",
"PreviousUids" : [
"" , ""
],
"PrivateGists" : 0,
"ProfessionalHeadline" : "This field provide by linkedin.contain our linkedin profile headline",
"ProfileCity" : "ProfileCity value that need to be inserted",
"ProfileCountry" : "ProfileCountry value that need to be inserted",
"ProfileImageUrls" : {"key1":"value1","key2":"value2"},
"ProfileModifiedDate" : "profile updated date",
"ProfileName" : "ProfileName value field that need to be inserted",
"ProfileUrl" : "User profile url like facebook profile Url",
"Projects" : [
{
"EndDate" : "End date of the project",
"Id" : "Id of the project",
"IsCurrent" : "is current or not",
"Name" : "Name of the project",
"StartDate" : "Start date of the project",
"Summary" : "Summary of the project",
"With" : [
{
"Id" : "Id",
"Name" : "Name"
}
]
}
],
"Provider" : "Name of the provider",
"ProviderAccessCredential" : {
"AccessToken" : "Uniquely generated identifier key by LoginRadius that is activated after successful authentication.",
"TokenSecret" : "secret token of the provider"
},
"Publications" : [
{
"Authors" : [
{
"Id" : "Author id of the publication",
"Name" : "Author name"
}
],
"Date" : "Date of the publication",
"Id" : "Id of the Publication",
"Publisher" : "Publisher of the Publication",
"Summary" : "Summary of the publication",
"Title" : "Title of the publication",
"Url" : "Publication url"
}
],
"PublicGists" : 0,
"PublicRepository" : "user public Repository Urls",
"Quota" : "Quota",
"Quote" : "quote",
"RecommendationsReceived" : [
{
"Id" : "Recommendation id",
"RecommendationText" : "Recommendation text",
"RecommendationType" : "Recommendation type",
"Recommender" : "Recommender"
}
],
"RelatedProfileViews" : [
{
"FirstName" : "John",
"Id" : "Id of profile view",
"LastName" : "Doe"
}
],
"RelationshipStatus" : "user's relationship status",
"Religion" : "String shows users religion",
"RepositoryUrl" : "Repository URL",
"SignupDate" : "Signup date",
"Skills" : [
{
"Id" : "id of skill",
"Name" : "name of skills"
}
],
"Sports" : [
{
"Id" : "Id of sport",
"Name" : "Name of sport"
}
],
"StarredUrl" : "Git users bookmark repositories",
"State" : "State of the user",
"Subscription" : {
"Collaborators" : "Github plan collaborators",
"Name" : "Github plan name",
"PrivateRepos" : "Private repos of github",
"Space" : "Github plan space"
},
"Suffix" : "Jr.",
"Suggestions" : {
"CompaniestoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"IndustriestoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"NewssourcetoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"PeopletoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
]
},
"TagLine" : "Tagline that need to be inserted",
"TeleVisionShow" : [
{
"Category" : "Television category",
"CreatedDate" : "Date",
"Id" : "Id of television",
"Name" : "Name of volunteer"
}
],
"ThumbnailImageUrl" : "URL for the Thumbnail",
"TimeZone" : "The Current Time Zone.",
"TotalPrivateRepository" : 0,
"TotalStatusesCount" : 0,
"UpdatedTime" : "updated date",
"Verified" : "verified",
"Volunteer" : [
{
"Cause" : "Cause of volunteer",
"Id" : "Volunteer Id",
"Organization" : "name",
"Role" : "Name of role"
}
],
"WebProfiles" : {"key1":"value1","key2":"value2"},
"Website" : "Personal Website a User has"
}
],
"ConsentProfile" : {
"AcceptedConsentVersions" : [
{
"Event" : "Allowed events: Login, Register, UpdateProfile, ResetPassword, ChangePassword, emailVerification, AddEmail, RemoveEmail, BlockAccount, DeleteAccount, SetUsername, AssignRoles, UnassignRoles, SetPassword, LinkAccount, UnlinkAccount, UpdatePhoneId, VerifyPhoneNumber, CreateCustomObject, UpdateCustomobject, DeleteCustomObject",
"IsCustom" : true,
"Version" : 0
}
],
"Consents" : [
{
"AcceptOnDate" : "Consent Accept on Date",
"ConsentOptionId" : "Consent Option Id"
}
]
},
"CustomFields" : {"key1":"value1","key2":"value2"},
"EmailVerified" : true,
"ExternalIds" : [
{
"Source" : "ExternalId source",
"SourceId" : "External source id"
}
],
"ExternalUserLoginId" : "External User Login Id",
"IsActive" : true,
"IsCustomUid" : true,
"IsDeleted" : true,
"IsEmailSubscribed" : true,
"IsLoginLocked" : true,
"IsRequiredFieldsFilledOnce" : true,
"IsSecurePassword" : true,
"LastLoginLocation" : "Last login location",
"LastPasswordChangeDate" : "Last password change date",
"LastPasswordChangeToken" : "Last password change token",
"LoginLockedType" : "Type of Lockout",
"NoOfLogins" : 0,
"Password" : "Password for the email",
"PasswordExpirationDate" : "Date of password expiration",
"PhoneId" : "Phone ID (Unique Phone Number Identifier of the user)",
"PhoneIdVerified" : true,
"PIN" : {
"LastPINChangeDate" : "Last PIN Change Date",
"PIN" : "PIN of user",
"Skipped" : true,
"SkippedDate" : "Skipped Date"
},
"PrivacyPolicy" : {
"AcceptDateTime" : "Privacy policy accept date time",
"AcceptSource" : "Privacy policy accept source",
"Version" : "Privacy policy version"
},
"RegistrationData" : {
"Data" : [
{
"DataSource" : "Registration Data Source",
"Value" : {
"Id" : "ID of the User"
}
}
]
},
"RegistrationProvider" : "Provider with which user registered",
"RegistrationSource" : "URL of the webproperty from where the user is registered.",
"Roles" : [
"" , ""
],
"Uid" : "UID, the unified identifier for each user account",
"UnverifiedEmail" : [
{
"Type" : "Primary",
"Value" : "Email address"
}
],
"UserName" : "Username of the user",
"About" : "About value that need to be inserted",
"Addresses" : [
{
"Address1" : "Address field value that needs to be updated",
"Address2" : "Address field value that needs to be updated",
"City" : "user's city",
"Country" : "Country of the user",
"PostalCode" : "Postal code value that need to be updated",
"Region" : "Region",
"State" : "State of the user",
"Type" : "Residential"
}
],
"Age" : "User's Age",
"AgeRange" : {
"Max" : 0,
"Min" : 0
},
"Associations" : "Organization a person is assosciated with",
"Awards" : [
{
"Id" : "Id of the Awards",
"Issuer" : "Award issuer details",
"Name" : "Award name"
}
],
"Badges" : [
{
"BadgeId" : "Badge ID",
"BadgeMessage" : "Badge Message",
"BageId" : "Badge ID",
"BageMessage" : "Badge Message",
"Description" : "detailed information",
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Name" : "Badge Name"
}
],
"BirthDate" : "10-15-2000",
"BoardsCount" : 0,
"Books" : [
{
"Category" : "Book category",
"CreatedDate" : "Date of Creation of Profile",
"Id" : "Id of book",
"Name" : "book name"
}
],
"Certifications" : [
{
"Authority" : "Authority of certifications",
"EndDate" : "Certification end date",
"Id" : "Certification id",
"Name" : "Certification name",
"Number" : "Certification number",
"StartDate" : "Certification start date"
}
],
"City" : "user's city",
"Company" : "users company name",
"Country" : {
"Code" : "Country code",
"Name" : "Country name"
},
"Courses" : [
{
"Id" : "Course id",
"Name" : "Course name",
"Number" : "Course number"
}
],
"CoverPhoto" : "URL of the photo that need to be inserted",
"Created" : "created",
"CreatedDate" : "Date of Creation of Profile",
"Currency" : "Currency",
"CurrentStatus" : [
{
"CreatedDate" : "Current status created date",
"Id" : "Current status id",
"Source" : "Current status source",
"Text" : "Current status text"
}
],
"Educations" : [
{
"activities" : "Activities",
"degree" : "Degree",
"EndDate" : "Education End Date",
"fieldofstudy" : "Fields of study",
"notes" : "Notes",
"School" : "School of the user",
"StartDate" : "Start date of Education of user",
"type" : "Type",
"year" : "Year of Education"
}
],
"Email" : [
{
"Type" : "Primary",
"Value" : "Email address"
}
],
"Family" : [
{
"Id" : "Family id",
"Name" : "Family name",
"Relationship" : "Family relationship"
}
],
"Favicon" : "URL of the favicon that need to be inserted",
"FavoriteThings" : [
{
"Id" : "Id of favorite things",
"Name" : "Name of favorite things",
"Type" : "Type of favorite things"
}
],
"FirstLogin" : true,
"FirstName" : "John",
"FollowersCount" : 0,
"FriendsCount" : 0,
"FullName" : "Users complete name",
"Games" : [
{
"Category" : "Category of game",
"CreatedDate" : "Game created date",
"Id" : "Id of game",
"Name" : "Game name"
}
],
"Gender" : "Male",
"GistsUrl" : "Git Repository URL",
"GravatarImageUrl" : "URL of image that need to be inserted",
"Hireable" : true,
"HomeTown" : "user's home town name",
"Honors" : "Awards lists from the social provider",
"HttpsImageUrl" : "URL of the Image that need to be inserted",
"ID" : "ID of the User",
"IMAccounts" : [
{
"AccountName" : "Name of account",
"AccountType" : "Type of account"
}
],
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Industry" : "Industry name",
"InspirationalPeople" : [
{
"Id" : "ID of inspirational people",
"Name" : "name of inspirational people"
}
],
"InterestedIn" : [
"" , ""
],
"Interests" : [
{
"InterestedName" : "Name of interested",
"InterestedType" : "Type of interested"
}
],
"IsGeoEnabled" : "boolean type value, default is true",
"IsProtected" : true,
"JobBookmarks" : [
{
"ApplyTimestamp" : "Job Bookmarks Apply Timestamp",
"IsApplied" : true,
"IsSaved" : true,
"Job" : {
"Active" : true,
"Company" : {
"Id" : "Company id",
"Name" : "Company name"
},
"DescriptionSnippet" : "Job description",
"Id" : "Job id",
"Position" : {
"Title" : "Position title"
},
"PostingTimestamp" : "Job posting timestamp"
},
"SavedTimestamp" : "Saved time stamp of Job bookmarks"
}
],
"KloutScore" : {
"KloutId" : "Id of klout",
"Score" : 0
},
"Language" : "language known by user's",
"Languages" : [
{
"Id" : "Language id",
"Name" : "Name of language",
"Proficiency" : "Proficiency in language"
}
],
"LastLoginDate" : "last login date",
"LastName" : "Doe",
"LikesCount" : 0,
"LocalCity" : "Local City of the user",
"LocalCountry" : "Local country of the user",
"LocalLanguage" : "Local language of the user",
"LRUserID" : "LR user id",
"MainAddress" : "Main address of the user",
"MemberUrlResources" : [
{
"Url" : "String represents website url",
"UrlName" : "URL name"
}
],
"MiddleName" : "user's middle name",
"ModifiedDate" : "profile updated date",
"Movies" : [
{
"Category" : "Category of movie",
"CreatedDate" : "Movie created date",
"Id" : "Id of movie",
"Name" : "Name of movie"
}
],
"MutualFriends" : [
{
"Birthday" : "Birthday of mutual friend",
"FirstName" : "first name of mutual friend",
"Gender" : "Gender of mutual friend",
"Hometown" : "Hometown of mutual friend",
"Id" : "Id of mutual friend",
"LastName" : "Last name of mutual friend",
"Link" : "Link of mutual friend",
"Name" : "Name of mutual friend"
}
],
"NickName" : "Nick name of the user",
"NumRecommenders" : 0,
"Patents" : [
{
"Date" : "Date of patents",
"Id" : "Id of the patents",
"Title" : "Title of the patents"
}
],
"PhoneNumbers" : [
{
"PhoneNumber" : "Phone number",
"PhoneType" : "Phone type"
}
],
"PinsCount" : 0,
"PlacesLived" : [
{
"IsPrimary" : true,
"Name" : "Name of lived place"
}
],
"Political" : "List of Political interest",
"Positions" : [
{
"Company" : {
"Industry" : "position company industry",
"Name" : "position company name",
"Type" : "position company type"
},
"EndDate" : "End date of the professional position",
"IsCurrent" : "Is current or not",
"Location" : "Location of the professional position",
"Position" : "Position",
"StartDate" : "Start date of the professional position",
"Summary" : "Summary of the professional position"
}
],
"Prefix" : "Mr.",
"PreviousUids" : [
"" , ""
],
"PrivateGists" : 0,
"ProfessionalHeadline" : "This field provide by linkedin.contain our linkedin profile headline",
"ProfileCity" : "ProfileCity value that need to be inserted",
"ProfileCountry" : "ProfileCountry value that need to be inserted",
"ProfileImageUrls" : {"key1":"value1","key2":"value2"},
"ProfileModifiedDate" : "profile updated date",
"ProfileName" : "ProfileName value field that need to be inserted",
"ProfileUrl" : "User profile url like facebook profile Url",
"Projects" : [
{
"EndDate" : "End date of the project",
"Id" : "Id of the project",
"IsCurrent" : "is current or not",
"Name" : "Name of the project",
"StartDate" : "Start date of the project",
"Summary" : "Summary of the project",
"With" : [
{
"Id" : "Id",
"Name" : "Name"
}
]
}
],
"Provider" : "Name of the provider",
"ProviderAccessCredential" : {
"AccessToken" : "Uniquely generated identifier key by LoginRadius that is activated after successful authentication.",
"TokenSecret" : "secret token of the provider"
},
"Publications" : [
{
"Authors" : [
{
"Id" : "Author id of the publication",
"Name" : "Author name"
}
],
"Date" : "Date of the publication",
"Id" : "Id of the Publication",
"Publisher" : "Publisher of the Publication",
"Summary" : "Summary of the publication",
"Title" : "Title of the publication",
"Url" : "Publication url"
}
],
"PublicGists" : 0,
"PublicRepository" : "user public Repository Urls",
"Quota" : "Quota",
"Quote" : "quote",
"RecommendationsReceived" : [
{
"Id" : "Recommendation id",
"RecommendationText" : "Recommendation text",
"RecommendationType" : "Recommendation type",
"Recommender" : "Recommender"
}
],
"RelatedProfileViews" : [
{
"FirstName" : "John",
"Id" : "Id of profile view",
"LastName" : "Doe"
}
],
"RelationshipStatus" : "user's relationship status",
"Religion" : "String shows users religion",
"RepositoryUrl" : "Repository URL",
"SignupDate" : "Signup date",
"Skills" : [
{
"Id" : "id of skill",
"Name" : "name of skills"
}
],
"Sports" : [
{
"Id" : "Id of sport",
"Name" : "Name of sport"
}
],
"StarredUrl" : "Git users bookmark repositories",
"State" : "State of the user",
"Subscription" : {
"Collaborators" : "Github plan collaborators",
"Name" : "Github plan name",
"PrivateRepos" : "Private repos of github",
"Space" : "Github plan space"
},
"Suffix" : "Jr.",
"Suggestions" : {
"CompaniestoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"IndustriestoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"NewssourcetoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"PeopletoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
]
},
"TagLine" : "Tagline that need to be inserted",
"TeleVisionShow" : [
{
"Category" : "Television category",
"CreatedDate" : "Date",
"Id" : "Id of television",
"Name" : "Name of volunteer"
}
],
"ThumbnailImageUrl" : "URL for the Thumbnail",
"TimeZone" : "The Current Time Zone.",
"TotalPrivateRepository" : 0,
"TotalStatusesCount" : 0,
"UpdatedTime" : "updated date",
"Verified" : "verified",
"Volunteer" : [
{
"Cause" : "Cause of volunteer",
"Id" : "Volunteer Id",
"Organization" : "name",
"Role" : "Name of role"
}
],
"WebProfiles" : {"key1":"value1","key2":"value2"},
"Website" : "Personal Website a User has"
}

This API is used to update the PhoneId by using the Uid's. Admin can update the PhoneId's for both the verified and unverified profiles. It will directly replace the PhoneId and bypass the OTP verification process.

HTTP Request

Put /identity/v2/manage/account/{uid}/PhoneId?apikey=&apisecret=&Fields=

Query Parameters

ParameterDefaultDescription
apikeynoneLoginRadius API Key [Required]
apisecretnoneLoginRadius API Secret [Required]
FieldsnoneThe fields parameter filters the API response so that the response only includes a specific set of fields [Optional]

Account Set Password

copy-icon
curl -X PUT \
'https://api.loginradius.com/identity/v2/manage/account/{uid}/password?apikey=&apisecret=' \
-H 'Cache-Control: no-cache' \
-H 'content-Type: application/json' \

The above command returns JSON structured like this:

copy-icon
{
"PasswordHash" : "Password hash"
}

This API is used to set the password of an account in Cloud Storage.

HTTP Request

Put /identity/v2/manage/account/{uid}/password?apikey=&apisecret=

Query Parameters

ParameterDefaultDescription
apikeynoneLoginRadius API Key [Required]
apisecretnoneLoginRadius API Secret [Required]

Account Invalidate Verification Email

copy-icon
curl -X PUT \
'https://api.loginradius.com/identity/v2/manage/account/{uid}/invalidateEmail?apikey=&apisecret=&EmailTemplate=&VerificationUrl=' \
-H 'Cache-Control: no-cache' \
-H 'content-Type: application/json' \

The above command returns JSON structured like this:

copy-icon
{
"IsPosted" : true
}

This API is used to invalidate the Email Verification status on an account.

HTTP Request

Put /identity/v2/manage/account/{uid}/invalidateEmail?apikey=&apisecret=&EmailTemplate=&VerificationUrl=

Query Parameters

ParameterDefaultDescription
apikeynoneLoginRadius API Key [Required]
apisecretnoneLoginRadius API Secret [Required]
EmailTemplatenoneEmail template name [Optional]
VerificationUrlnoneEmail verification url [Optional]

Reset phone ID verification

copy-icon
curl -X PUT \
'https://api.loginradius.com/identity/v2/manage/account/{uid}/invalidatePhone?apikey=&apisecret=&SmsTemplate=' \
-H 'Cache-Control: no-cache' \
-H 'content-Type: application/json' \

The above command returns JSON structured like this:

copy-icon
{
"IsPosted" : true
}

This API Allows you to reset the phone no verification of an end user’s account.

HTTP Request

Put /identity/v2/manage/account/{uid}/invalidatePhone?apikey=&apisecret=&SmsTemplate=

Query Parameters

ParameterDefaultDescription
apikeynoneLoginRadius API Key [Required]
apisecretnoneLoginRadius API Secret [Required]
SmsTemplatenoneSMS Template name [Optional]

Upsert Email

copy-icon
curl -X PUT \
'https://api.loginradius.com/identity/v2/manage/account/{uid}/email?apikey=&apisecret=&Fields=' \
-H 'Cache-Control: no-cache' \
-H 'content-Type: application/json' \
-d "{ "email" : [ {
"type" => "<type>" ,
"value" => "<value>"
} ] }"

The above command returns JSON structured like this:

copy-icon
{
"Identities" : [
{
"About" : "About value that need to be inserted",
"Addresses" : [
{
"Address1" : "Address field value that needs to be updated",
"Address2" : "Address field value that needs to be updated",
"City" : "user's city",
"Country" : "Country of the user",
"PostalCode" : "Postal code value that need to be updated",
"Region" : "Region",
"State" : "State of the user",
"Type" : "Residential"
}
],
"Age" : "User's Age",
"AgeRange" : {
"Max" : 0,
"Min" : 0
},
"Associations" : "Organization a person is assosciated with",
"Awards" : [
{
"Id" : "Id of the Awards",
"Issuer" : "Award issuer details",
"Name" : "Award name"
}
],
"Badges" : [
{
"BadgeId" : "Badge ID",
"BadgeMessage" : "Badge Message",
"BageId" : "Badge ID",
"BageMessage" : "Badge Message",
"Description" : "detailed information",
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Name" : "Badge Name"
}
],
"BirthDate" : "10-15-2000",
"BoardsCount" : 0,
"Books" : [
{
"Category" : "Book category",
"CreatedDate" : "Date of Creation of Profile",
"Id" : "Id of book",
"Name" : "book name"
}
],
"Certifications" : [
{
"Authority" : "Authority of certifications",
"EndDate" : "Certification end date",
"Id" : "Certification id",
"Name" : "Certification name",
"Number" : "Certification number",
"StartDate" : "Certification start date"
}
],
"City" : "user's city",
"Company" : "users company name",
"Country" : {
"Code" : "Country code",
"Name" : "Country name"
},
"Courses" : [
{
"Id" : "Course id",
"Name" : "Course name",
"Number" : "Course number"
}
],
"CoverPhoto" : "URL of the photo that need to be inserted",
"Created" : "created",
"CreatedDate" : "Date of Creation of Profile",
"Currency" : "Currency",
"CurrentStatus" : [
{
"CreatedDate" : "Current status created date",
"Id" : "Current status id",
"Source" : "Current status source",
"Text" : "Current status text"
}
],
"Educations" : [
{
"activities" : "Activities",
"degree" : "Degree",
"EndDate" : "Education End Date",
"fieldofstudy" : "Fields of study",
"notes" : "Notes",
"School" : "School of the user",
"StartDate" : "Start date of Education of user",
"type" : "Type",
"year" : "Year of Education"
}
],
"Email" : [
{
"Type" : "Primary",
"Value" : "Email address"
}
],
"Family" : [
{
"Id" : "Family id",
"Name" : "Family name",
"Relationship" : "Family relationship"
}
],
"Favicon" : "URL of the favicon that need to be inserted",
"FavoriteThings" : [
{
"Id" : "Id of favorite things",
"Name" : "Name of favorite things",
"Type" : "Type of favorite things"
}
],
"FirstLogin" : true,
"FirstName" : "John",
"FollowersCount" : 0,
"FriendsCount" : 0,
"FullName" : "Users complete name",
"Games" : [
{
"Category" : "Category of game",
"CreatedDate" : "Game created date",
"Id" : "Id of game",
"Name" : "Game name"
}
],
"Gender" : "Male",
"GistsUrl" : "Git Repository URL",
"GravatarImageUrl" : "URL of image that need to be inserted",
"Hireable" : true,
"HomeTown" : "user's home town name",
"Honors" : "Awards lists from the social provider",
"HttpsImageUrl" : "URL of the Image that need to be inserted",
"ID" : "ID of the User",
"IMAccounts" : [
{
"AccountName" : "Name of account",
"AccountType" : "Type of account"
}
],
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Industry" : "Industry name",
"InspirationalPeople" : [
{
"Id" : "ID of inspirational people",
"Name" : "name of inspirational people"
}
],
"InterestedIn" : [
"" , ""
],
"Interests" : [
{
"InterestedName" : "Name of interested",
"InterestedType" : "Type of interested"
}
],
"IsGeoEnabled" : "boolean type value, default is true",
"IsProtected" : true,
"JobBookmarks" : [
{
"ApplyTimestamp" : "Job Bookmarks Apply Timestamp",
"IsApplied" : true,
"IsSaved" : true,
"Job" : {
"Active" : true,
"Company" : {
"Id" : "Company id",
"Name" : "Company name"
},
"DescriptionSnippet" : "Job description",
"Id" : "Job id",
"Position" : {
"Title" : "Position title"
},
"PostingTimestamp" : "Job posting timestamp"
},
"SavedTimestamp" : "Saved time stamp of Job bookmarks"
}
],
"KloutScore" : {
"KloutId" : "Id of klout",
"Score" : 0
},
"Language" : "language known by user's",
"Languages" : [
{
"Id" : "Language id",
"Name" : "Name of language",
"Proficiency" : "Proficiency in language"
}
],
"LastLoginDate" : "last login date",
"LastName" : "Doe",
"LikesCount" : 0,
"LocalCity" : "Local City of the user",
"LocalCountry" : "Local country of the user",
"LocalLanguage" : "Local language of the user",
"LRUserID" : "LR user id",
"MainAddress" : "Main address of the user",
"MemberUrlResources" : [
{
"Url" : "String represents website url",
"UrlName" : "URL name"
}
],
"MiddleName" : "user's middle name",
"ModifiedDate" : "profile updated date",
"Movies" : [
{
"Category" : "Category of movie",
"CreatedDate" : "Movie created date",
"Id" : "Id of movie",
"Name" : "Name of movie"
}
],
"MutualFriends" : [
{
"Birthday" : "Birthday of mutual friend",
"FirstName" : "first name of mutual friend",
"Gender" : "Gender of mutual friend",
"Hometown" : "Hometown of mutual friend",
"Id" : "Id of mutual friend",
"LastName" : "Last name of mutual friend",
"Link" : "Link of mutual friend",
"Name" : "Name of mutual friend"
}
],
"NickName" : "Nick name of the user",
"NumRecommenders" : 0,
"Patents" : [
{
"Date" : "Date of patents",
"Id" : "Id of the patents",
"Title" : "Title of the patents"
}
],
"PhoneNumbers" : [
{
"PhoneNumber" : "Phone number",
"PhoneType" : "Phone type"
}
],
"PinsCount" : 0,
"PlacesLived" : [
{
"IsPrimary" : true,
"Name" : "Name of lived place"
}
],
"Political" : "List of Political interest",
"Positions" : [
{
"Company" : {
"Industry" : "position company industry",
"Name" : "position company name",
"Type" : "position company type"
},
"EndDate" : "End date of the professional position",
"IsCurrent" : "Is current or not",
"Location" : "Location of the professional position",
"Position" : "Position",
"StartDate" : "Start date of the professional position",
"Summary" : "Summary of the professional position"
}
],
"Prefix" : "Mr.",
"PreviousUids" : [
"" , ""
],
"PrivateGists" : 0,
"ProfessionalHeadline" : "This field provide by linkedin.contain our linkedin profile headline",
"ProfileCity" : "ProfileCity value that need to be inserted",
"ProfileCountry" : "ProfileCountry value that need to be inserted",
"ProfileImageUrls" : {"key1":"value1","key2":"value2"},
"ProfileModifiedDate" : "profile updated date",
"ProfileName" : "ProfileName value field that need to be inserted",
"ProfileUrl" : "User profile url like facebook profile Url",
"Projects" : [
{
"EndDate" : "End date of the project",
"Id" : "Id of the project",
"IsCurrent" : "is current or not",
"Name" : "Name of the project",
"StartDate" : "Start date of the project",
"Summary" : "Summary of the project",
"With" : [
{
"Id" : "Id",
"Name" : "Name"
}
]
}
],
"Provider" : "Name of the provider",
"ProviderAccessCredential" : {
"AccessToken" : "Uniquely generated identifier key by LoginRadius that is activated after successful authentication.",
"TokenSecret" : "secret token of the provider"
},
"Publications" : [
{
"Authors" : [
{
"Id" : "Author id of the publication",
"Name" : "Author name"
}
],
"Date" : "Date of the publication",
"Id" : "Id of the Publication",
"Publisher" : "Publisher of the Publication",
"Summary" : "Summary of the publication",
"Title" : "Title of the publication",
"Url" : "Publication url"
}
],
"PublicGists" : 0,
"PublicRepository" : "user public Repository Urls",
"Quota" : "Quota",
"Quote" : "quote",
"RecommendationsReceived" : [
{
"Id" : "Recommendation id",
"RecommendationText" : "Recommendation text",
"RecommendationType" : "Recommendation type",
"Recommender" : "Recommender"
}
],
"RelatedProfileViews" : [
{
"FirstName" : "John",
"Id" : "Id of profile view",
"LastName" : "Doe"
}
],
"RelationshipStatus" : "user's relationship status",
"Religion" : "String shows users religion",
"RepositoryUrl" : "Repository URL",
"SignupDate" : "Signup date",
"Skills" : [
{
"Id" : "id of skill",
"Name" : "name of skills"
}
],
"Sports" : [
{
"Id" : "Id of sport",
"Name" : "Name of sport"
}
],
"StarredUrl" : "Git users bookmark repositories",
"State" : "State of the user",
"Subscription" : {
"Collaborators" : "Github plan collaborators",
"Name" : "Github plan name",
"PrivateRepos" : "Private repos of github",
"Space" : "Github plan space"
},
"Suffix" : "Jr.",
"Suggestions" : {
"CompaniestoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"IndustriestoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"NewssourcetoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"PeopletoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
]
},
"TagLine" : "Tagline that need to be inserted",
"TeleVisionShow" : [
{
"Category" : "Television category",
"CreatedDate" : "Date",
"Id" : "Id of television",
"Name" : "Name of volunteer"
}
],
"ThumbnailImageUrl" : "URL for the Thumbnail",
"TimeZone" : "The Current Time Zone.",
"TotalPrivateRepository" : 0,
"TotalStatusesCount" : 0,
"UpdatedTime" : "updated date",
"Verified" : "verified",
"Volunteer" : [
{
"Cause" : "Cause of volunteer",
"Id" : "Volunteer Id",
"Organization" : "name",
"Role" : "Name of role"
}
],
"WebProfiles" : {"key1":"value1","key2":"value2"},
"Website" : "Personal Website a User has"
}
],
"ConsentProfile" : {
"AcceptedConsentVersions" : [
{
"Event" : "Allowed events: Login, Register, UpdateProfile, ResetPassword, ChangePassword, emailVerification, AddEmail, RemoveEmail, BlockAccount, DeleteAccount, SetUsername, AssignRoles, UnassignRoles, SetPassword, LinkAccount, UnlinkAccount, UpdatePhoneId, VerifyPhoneNumber, CreateCustomObject, UpdateCustomobject, DeleteCustomObject",
"IsCustom" : true,
"Version" : 0
}
],
"Consents" : [
{
"AcceptOnDate" : "Consent Accept on Date",
"ConsentOptionId" : "Consent Option Id"
}
]
},
"CustomFields" : {"key1":"value1","key2":"value2"},
"EmailVerified" : true,
"ExternalIds" : [
{
"Source" : "ExternalId source",
"SourceId" : "External source id"
}
],
"ExternalUserLoginId" : "External User Login Id",
"IsActive" : true,
"IsCustomUid" : true,
"IsDeleted" : true,
"IsEmailSubscribed" : true,
"IsLoginLocked" : true,
"IsRequiredFieldsFilledOnce" : true,
"IsSecurePassword" : true,
"LastLoginLocation" : "Last login location",
"LastPasswordChangeDate" : "Last password change date",
"LastPasswordChangeToken" : "Last password change token",
"LoginLockedType" : "Type of Lockout",
"NoOfLogins" : 0,
"Password" : "Password for the email",
"PasswordExpirationDate" : "Date of password expiration",
"PhoneId" : "Phone ID (Unique Phone Number Identifier of the user)",
"PhoneIdVerified" : true,
"PIN" : {
"LastPINChangeDate" : "Last PIN Change Date",
"PIN" : "PIN of user",
"Skipped" : true,
"SkippedDate" : "Skipped Date"
},
"PrivacyPolicy" : {
"AcceptDateTime" : "Privacy policy accept date time",
"AcceptSource" : "Privacy policy accept source",
"Version" : "Privacy policy version"
},
"RegistrationData" : {
"Data" : [
{
"DataSource" : "Registration Data Source",
"Value" : {
"Id" : "ID of the User"
}
}
]
},
"RegistrationProvider" : "Provider with which user registered",
"RegistrationSource" : "URL of the webproperty from where the user is registered.",
"Roles" : [
"" , ""
],
"Uid" : "UID, the unified identifier for each user account",
"UnverifiedEmail" : [
{
"Type" : "Primary",
"Value" : "Email address"
}
],
"UserName" : "Username of the user",
"About" : "About value that need to be inserted",
"Addresses" : [
{
"Address1" : "Address field value that needs to be updated",
"Address2" : "Address field value that needs to be updated",
"City" : "user's city",
"Country" : "Country of the user",
"PostalCode" : "Postal code value that need to be updated",
"Region" : "Region",
"State" : "State of the user",
"Type" : "Residential"
}
],
"Age" : "User's Age",
"AgeRange" : {
"Max" : 0,
"Min" : 0
},
"Associations" : "Organization a person is assosciated with",
"Awards" : [
{
"Id" : "Id of the Awards",
"Issuer" : "Award issuer details",
"Name" : "Award name"
}
],
"Badges" : [
{
"BadgeId" : "Badge ID",
"BadgeMessage" : "Badge Message",
"BageId" : "Badge ID",
"BageMessage" : "Badge Message",
"Description" : "detailed information",
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Name" : "Badge Name"
}
],
"BirthDate" : "10-15-2000",
"BoardsCount" : 0,
"Books" : [
{
"Category" : "Book category",
"CreatedDate" : "Date of Creation of Profile",
"Id" : "Id of book",
"Name" : "book name"
}
],
"Certifications" : [
{
"Authority" : "Authority of certifications",
"EndDate" : "Certification end date",
"Id" : "Certification id",
"Name" : "Certification name",
"Number" : "Certification number",
"StartDate" : "Certification start date"
}
],
"City" : "user's city",
"Company" : "users company name",
"Country" : {
"Code" : "Country code",
"Name" : "Country name"
},
"Courses" : [
{
"Id" : "Course id",
"Name" : "Course name",
"Number" : "Course number"
}
],
"CoverPhoto" : "URL of the photo that need to be inserted",
"Created" : "created",
"CreatedDate" : "Date of Creation of Profile",
"Currency" : "Currency",
"CurrentStatus" : [
{
"CreatedDate" : "Current status created date",
"Id" : "Current status id",
"Source" : "Current status source",
"Text" : "Current status text"
}
],
"Educations" : [
{
"activities" : "Activities",
"degree" : "Degree",
"EndDate" : "Education End Date",
"fieldofstudy" : "Fields of study",
"notes" : "Notes",
"School" : "School of the user",
"StartDate" : "Start date of Education of user",
"type" : "Type",
"year" : "Year of Education"
}
],
"Email" : [
{
"Type" : "Primary",
"Value" : "Email address"
}
],
"Family" : [
{
"Id" : "Family id",
"Name" : "Family name",
"Relationship" : "Family relationship"
}
],
"Favicon" : "URL of the favicon that need to be inserted",
"FavoriteThings" : [
{
"Id" : "Id of favorite things",
"Name" : "Name of favorite things",
"Type" : "Type of favorite things"
}
],
"FirstLogin" : true,
"FirstName" : "John",
"FollowersCount" : 0,
"FriendsCount" : 0,
"FullName" : "Users complete name",
"Games" : [
{
"Category" : "Category of game",
"CreatedDate" : "Game created date",
"Id" : "Id of game",
"Name" : "Game name"
}
],
"Gender" : "Male",
"GistsUrl" : "Git Repository URL",
"GravatarImageUrl" : "URL of image that need to be inserted",
"Hireable" : true,
"HomeTown" : "user's home town name",
"Honors" : "Awards lists from the social provider",
"HttpsImageUrl" : "URL of the Image that need to be inserted",
"ID" : "ID of the User",
"IMAccounts" : [
{
"AccountName" : "Name of account",
"AccountType" : "Type of account"
}
],
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Industry" : "Industry name",
"InspirationalPeople" : [
{
"Id" : "ID of inspirational people",
"Name" : "name of inspirational people"
}
],
"InterestedIn" : [
"" , ""
],
"Interests" : [
{
"InterestedName" : "Name of interested",
"InterestedType" : "Type of interested"
}
],
"IsGeoEnabled" : "boolean type value, default is true",
"IsProtected" : true,
"JobBookmarks" : [
{
"ApplyTimestamp" : "Job Bookmarks Apply Timestamp",
"IsApplied" : true,
"IsSaved" : true,
"Job" : {
"Active" : true,
"Company" : {
"Id" : "Company id",
"Name" : "Company name"
},
"DescriptionSnippet" : "Job description",
"Id" : "Job id",
"Position" : {
"Title" : "Position title"
},
"PostingTimestamp" : "Job posting timestamp"
},
"SavedTimestamp" : "Saved time stamp of Job bookmarks"
}
],
"KloutScore" : {
"KloutId" : "Id of klout",
"Score" : 0
},
"Language" : "language known by user's",
"Languages" : [
{
"Id" : "Language id",
"Name" : "Name of language",
"Proficiency" : "Proficiency in language"
}
],
"LastLoginDate" : "last login date",
"LastName" : "Doe",
"LikesCount" : 0,
"LocalCity" : "Local City of the user",
"LocalCountry" : "Local country of the user",
"LocalLanguage" : "Local language of the user",
"LRUserID" : "LR user id",
"MainAddress" : "Main address of the user",
"MemberUrlResources" : [
{
"Url" : "String represents website url",
"UrlName" : "URL name"
}
],
"MiddleName" : "user's middle name",
"ModifiedDate" : "profile updated date",
"Movies" : [
{
"Category" : "Category of movie",
"CreatedDate" : "Movie created date",
"Id" : "Id of movie",
"Name" : "Name of movie"
}
],
"MutualFriends" : [
{
"Birthday" : "Birthday of mutual friend",
"FirstName" : "first name of mutual friend",
"Gender" : "Gender of mutual friend",
"Hometown" : "Hometown of mutual friend",
"Id" : "Id of mutual friend",
"LastName" : "Last name of mutual friend",
"Link" : "Link of mutual friend",
"Name" : "Name of mutual friend"
}
],
"NickName" : "Nick name of the user",
"NumRecommenders" : 0,
"Patents" : [
{
"Date" : "Date of patents",
"Id" : "Id of the patents",
"Title" : "Title of the patents"
}
],
"PhoneNumbers" : [
{
"PhoneNumber" : "Phone number",
"PhoneType" : "Phone type"
}
],
"PinsCount" : 0,
"PlacesLived" : [
{
"IsPrimary" : true,
"Name" : "Name of lived place"
}
],
"Political" : "List of Political interest",
"Positions" : [
{
"Company" : {
"Industry" : "position company industry",
"Name" : "position company name",
"Type" : "position company type"
},
"EndDate" : "End date of the professional position",
"IsCurrent" : "Is current or not",
"Location" : "Location of the professional position",
"Position" : "Position",
"StartDate" : "Start date of the professional position",
"Summary" : "Summary of the professional position"
}
],
"Prefix" : "Mr.",
"PreviousUids" : [
"" , ""
],
"PrivateGists" : 0,
"ProfessionalHeadline" : "This field provide by linkedin.contain our linkedin profile headline",
"ProfileCity" : "ProfileCity value that need to be inserted",
"ProfileCountry" : "ProfileCountry value that need to be inserted",
"ProfileImageUrls" : {"key1":"value1","key2":"value2"},
"ProfileModifiedDate" : "profile updated date",
"ProfileName" : "ProfileName value field that need to be inserted",
"ProfileUrl" : "User profile url like facebook profile Url",
"Projects" : [
{
"EndDate" : "End date of the project",
"Id" : "Id of the project",
"IsCurrent" : "is current or not",
"Name" : "Name of the project",
"StartDate" : "Start date of the project",
"Summary" : "Summary of the project",
"With" : [
{
"Id" : "Id",
"Name" : "Name"
}
]
}
],
"Provider" : "Name of the provider",
"ProviderAccessCredential" : {
"AccessToken" : "Uniquely generated identifier key by LoginRadius that is activated after successful authentication.",
"TokenSecret" : "secret token of the provider"
},
"Publications" : [
{
"Authors" : [
{
"Id" : "Author id of the publication",
"Name" : "Author name"
}
],
"Date" : "Date of the publication",
"Id" : "Id of the Publication",
"Publisher" : "Publisher of the Publication",
"Summary" : "Summary of the publication",
"Title" : "Title of the publication",
"Url" : "Publication url"
}
],
"PublicGists" : 0,
"PublicRepository" : "user public Repository Urls",
"Quota" : "Quota",
"Quote" : "quote",
"RecommendationsReceived" : [
{
"Id" : "Recommendation id",
"RecommendationText" : "Recommendation text",
"RecommendationType" : "Recommendation type",
"Recommender" : "Recommender"
}
],
"RelatedProfileViews" : [
{
"FirstName" : "John",
"Id" : "Id of profile view",
"LastName" : "Doe"
}
],
"RelationshipStatus" : "user's relationship status",
"Religion" : "String shows users religion",
"RepositoryUrl" : "Repository URL",
"SignupDate" : "Signup date",
"Skills" : [
{
"Id" : "id of skill",
"Name" : "name of skills"
}
],
"Sports" : [
{
"Id" : "Id of sport",
"Name" : "Name of sport"
}
],
"StarredUrl" : "Git users bookmark repositories",
"State" : "State of the user",
"Subscription" : {
"Collaborators" : "Github plan collaborators",
"Name" : "Github plan name",
"PrivateRepos" : "Private repos of github",
"Space" : "Github plan space"
},
"Suffix" : "Jr.",
"Suggestions" : {
"CompaniestoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"IndustriestoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"NewssourcetoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"PeopletoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
]
},
"TagLine" : "Tagline that need to be inserted",
"TeleVisionShow" : [
{
"Category" : "Television category",
"CreatedDate" : "Date",
"Id" : "Id of television",
"Name" : "Name of volunteer"
}
],
"ThumbnailImageUrl" : "URL for the Thumbnail",
"TimeZone" : "The Current Time Zone.",
"TotalPrivateRepository" : 0,
"TotalStatusesCount" : 0,
"UpdatedTime" : "updated date",
"Verified" : "verified",
"Volunteer" : [
{
"Cause" : "Cause of volunteer",
"Id" : "Volunteer Id",
"Organization" : "name",
"Role" : "Name of role"
}
],
"WebProfiles" : {"key1":"value1","key2":"value2"},
"Website" : "Personal Website a User has"
}

This API is used to add/upsert another emails in account profile by different-different email types. If the email type is same then it will simply update the existing email, otherwise it will add a new email in Email array.

HTTP Request

Put /identity/v2/manage/account/{uid}/email?apikey=&apisecret=&Fields=

Query Parameters

ParameterDefaultDescription
apikeynoneLoginRadius API Key [Required]
apisecretnoneLoginRadius API Secret [Required]
FieldsnoneThe fields parameter filters the API response so that the response only includes a specific set of fields [Optional]

Body Attributes

AttributeDescription
Emailuser's emailModel Class containing Definition of payload for UpsertEmail Property [Required]

Update UID

copy-icon
curl -X PUT \
'https://api.loginradius.com/identity/v2/manage/account/uid?apikey=&apisecret=&Uid=' \
-H 'Cache-Control: no-cache' \
-H 'content-Type: application/json' \
-d "{ "newUid" : "<newUid>" }"

The above command returns JSON structured like this:

copy-icon
{
"IsPosted" : true
}

This API is used to update a user's Uid. It will update all profiles, custom objects and consent management logs associated with the Uid.

HTTP Request

Put /identity/v2/manage/account/uid?apikey=&apisecret=&Uid=

Query Parameters

ParameterDefaultDescription
apikeynoneLoginRadius API Key [Required]
apisecretnoneLoginRadius API Key [Required]
UidnoneUID, the unified identifier for each user account [Required]

Body Attributes

AttributeDescription
NewUidNew UidPayload containing Update UID [Required]

Account Create

copy-icon
curl -X POST \
'https://api.loginradius.com/identity/v2/manage/account?apikey=&apisecret=&Fields=' \
-H 'Cache-Control: no-cache' \
-H 'content-Type: application/json' \
-d "{ "email" : [ {
"type" => "<type>" ,
"value" => "<value>"
} ] ,"firstName" : "<firstName>","lastName" : "<lastName>","password" : "<password>" }"

The above command returns JSON structured like this:

copy-icon
{
"Identities" : [
{
"About" : "About value that need to be inserted",
"Addresses" : [
{
"Address1" : "Address field value that needs to be updated",
"Address2" : "Address field value that needs to be updated",
"City" : "user's city",
"Country" : "Country of the user",
"PostalCode" : "Postal code value that need to be updated",
"Region" : "Region",
"State" : "State of the user",
"Type" : "Residential"
}
],
"Age" : "User's Age",
"AgeRange" : {
"Max" : 0,
"Min" : 0
},
"Associations" : "Organization a person is assosciated with",
"Awards" : [
{
"Id" : "Id of the Awards",
"Issuer" : "Award issuer details",
"Name" : "Award name"
}
],
"Badges" : [
{
"BadgeId" : "Badge ID",
"BadgeMessage" : "Badge Message",
"BageId" : "Badge ID",
"BageMessage" : "Badge Message",
"Description" : "detailed information",
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Name" : "Badge Name"
}
],
"BirthDate" : "10-15-2000",
"BoardsCount" : 0,
"Books" : [
{
"Category" : "Book category",
"CreatedDate" : "Date of Creation of Profile",
"Id" : "Id of book",
"Name" : "book name"
}
],
"Certifications" : [
{
"Authority" : "Authority of certifications",
"EndDate" : "Certification end date",
"Id" : "Certification id",
"Name" : "Certification name",
"Number" : "Certification number",
"StartDate" : "Certification start date"
}
],
"City" : "user's city",
"Company" : "users company name",
"Country" : {
"Code" : "Country code",
"Name" : "Country name"
},
"Courses" : [
{
"Id" : "Course id",
"Name" : "Course name",
"Number" : "Course number"
}
],
"CoverPhoto" : "URL of the photo that need to be inserted",
"Created" : "created",
"CreatedDate" : "Date of Creation of Profile",
"Currency" : "Currency",
"CurrentStatus" : [
{
"CreatedDate" : "Current status created date",
"Id" : "Current status id",
"Source" : "Current status source",
"Text" : "Current status text"
}
],
"Educations" : [
{
"activities" : "Activities",
"degree" : "Degree",
"EndDate" : "Education End Date",
"fieldofstudy" : "Fields of study",
"notes" : "Notes",
"School" : "School of the user",
"StartDate" : "Start date of Education of user",
"type" : "Type",
"year" : "Year of Education"
}
],
"Email" : [
{
"Type" : "Primary",
"Value" : "Email address"
}
],
"Family" : [
{
"Id" : "Family id",
"Name" : "Family name",
"Relationship" : "Family relationship"
}
],
"Favicon" : "URL of the favicon that need to be inserted",
"FavoriteThings" : [
{
"Id" : "Id of favorite things",
"Name" : "Name of favorite things",
"Type" : "Type of favorite things"
}
],
"FirstLogin" : true,
"FirstName" : "John",
"FollowersCount" : 0,
"FriendsCount" : 0,
"FullName" : "Users complete name",
"Games" : [
{
"Category" : "Category of game",
"CreatedDate" : "Game created date",
"Id" : "Id of game",
"Name" : "Game name"
}
],
"Gender" : "Male",
"GistsUrl" : "Git Repository URL",
"GravatarImageUrl" : "URL of image that need to be inserted",
"Hireable" : true,
"HomeTown" : "user's home town name",
"Honors" : "Awards lists from the social provider",
"HttpsImageUrl" : "URL of the Image that need to be inserted",
"ID" : "ID of the User",
"IMAccounts" : [
{
"AccountName" : "Name of account",
"AccountType" : "Type of account"
}
],
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Industry" : "Industry name",
"InspirationalPeople" : [
{
"Id" : "ID of inspirational people",
"Name" : "name of inspirational people"
}
],
"InterestedIn" : [
"" , ""
],
"Interests" : [
{
"InterestedName" : "Name of interested",
"InterestedType" : "Type of interested"
}
],
"IsGeoEnabled" : "boolean type value, default is true",
"IsProtected" : true,
"JobBookmarks" : [
{
"ApplyTimestamp" : "Job Bookmarks Apply Timestamp",
"IsApplied" : true,
"IsSaved" : true,
"Job" : {
"Active" : true,
"Company" : {
"Id" : "Company id",
"Name" : "Company name"
},
"DescriptionSnippet" : "Job description",
"Id" : "Job id",
"Position" : {
"Title" : "Position title"
},
"PostingTimestamp" : "Job posting timestamp"
},
"SavedTimestamp" : "Saved time stamp of Job bookmarks"
}
],
"KloutScore" : {
"KloutId" : "Id of klout",
"Score" : 0
},
"Language" : "language known by user's",
"Languages" : [
{
"Id" : "Language id",
"Name" : "Name of language",
"Proficiency" : "Proficiency in language"
}
],
"LastLoginDate" : "last login date",
"LastName" : "Doe",
"LikesCount" : 0,
"LocalCity" : "Local City of the user",
"LocalCountry" : "Local country of the user",
"LocalLanguage" : "Local language of the user",
"LRUserID" : "LR user id",
"MainAddress" : "Main address of the user",
"MemberUrlResources" : [
{
"Url" : "String represents website url",
"UrlName" : "URL name"
}
],
"MiddleName" : "user's middle name",
"ModifiedDate" : "profile updated date",
"Movies" : [
{
"Category" : "Category of movie",
"CreatedDate" : "Movie created date",
"Id" : "Id of movie",
"Name" : "Name of movie"
}
],
"MutualFriends" : [
{
"Birthday" : "Birthday of mutual friend",
"FirstName" : "first name of mutual friend",
"Gender" : "Gender of mutual friend",
"Hometown" : "Hometown of mutual friend",
"Id" : "Id of mutual friend",
"LastName" : "Last name of mutual friend",
"Link" : "Link of mutual friend",
"Name" : "Name of mutual friend"
}
],
"NickName" : "Nick name of the user",
"NumRecommenders" : 0,
"Patents" : [
{
"Date" : "Date of patents",
"Id" : "Id of the patents",
"Title" : "Title of the patents"
}
],
"PhoneNumbers" : [
{
"PhoneNumber" : "Phone number",
"PhoneType" : "Phone type"
}
],
"PinsCount" : 0,
"PlacesLived" : [
{
"IsPrimary" : true,
"Name" : "Name of lived place"
}
],
"Political" : "List of Political interest",
"Positions" : [
{
"Company" : {
"Industry" : "position company industry",
"Name" : "position company name",
"Type" : "position company type"
},
"EndDate" : "End date of the professional position",
"IsCurrent" : "Is current or not",
"Location" : "Location of the professional position",
"Position" : "Position",
"StartDate" : "Start date of the professional position",
"Summary" : "Summary of the professional position"
}
],
"Prefix" : "Mr.",
"PreviousUids" : [
"" , ""
],
"PrivateGists" : 0,
"ProfessionalHeadline" : "This field provide by linkedin.contain our linkedin profile headline",
"ProfileCity" : "ProfileCity value that need to be inserted",
"ProfileCountry" : "ProfileCountry value that need to be inserted",
"ProfileImageUrls" : {"key1":"value1","key2":"value2"},
"ProfileModifiedDate" : "profile updated date",
"ProfileName" : "ProfileName value field that need to be inserted",
"ProfileUrl" : "User profile url like facebook profile Url",
"Projects" : [
{
"EndDate" : "End date of the project",
"Id" : "Id of the project",
"IsCurrent" : "is current or not",
"Name" : "Name of the project",
"StartDate" : "Start date of the project",
"Summary" : "Summary of the project",
"With" : [
{
"Id" : "Id",
"Name" : "Name"
}
]
}
],
"Provider" : "Name of the provider",
"ProviderAccessCredential" : {
"AccessToken" : "Uniquely generated identifier key by LoginRadius that is activated after successful authentication.",
"TokenSecret" : "secret token of the provider"
},
"Publications" : [
{
"Authors" : [
{
"Id" : "Author id of the publication",
"Name" : "Author name"
}
],
"Date" : "Date of the publication",
"Id" : "Id of the Publication",
"Publisher" : "Publisher of the Publication",
"Summary" : "Summary of the publication",
"Title" : "Title of the publication",
"Url" : "Publication url"
}
],
"PublicGists" : 0,
"PublicRepository" : "user public Repository Urls",
"Quota" : "Quota",
"Quote" : "quote",
"RecommendationsReceived" : [
{
"Id" : "Recommendation id",
"RecommendationText" : "Recommendation text",
"RecommendationType" : "Recommendation type",
"Recommender" : "Recommender"
}
],
"RelatedProfileViews" : [
{
"FirstName" : "John",
"Id" : "Id of profile view",
"LastName" : "Doe"
}
],
"RelationshipStatus" : "user's relationship status",
"Religion" : "String shows users religion",
"RepositoryUrl" : "Repository URL",
"SignupDate" : "Signup date",
"Skills" : [
{
"Id" : "id of skill",
"Name" : "name of skills"
}
],
"Sports" : [
{
"Id" : "Id of sport",
"Name" : "Name of sport"
}
],
"StarredUrl" : "Git users bookmark repositories",
"State" : "State of the user",
"Subscription" : {
"Collaborators" : "Github plan collaborators",
"Name" : "Github plan name",
"PrivateRepos" : "Private repos of github",
"Space" : "Github plan space"
},
"Suffix" : "Jr.",
"Suggestions" : {
"CompaniestoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"IndustriestoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"NewssourcetoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
],
"PeopletoFollow" : [
{
"Id" : "Id",
"Name" : "Name"
}
]
},
"TagLine" : "Tagline that need to be inserted",
"TeleVisionShow" : [
{
"Category" : "Television category",
"CreatedDate" : "Date",
"Id" : "Id of television",
"Name" : "Name of volunteer"
}
],
"ThumbnailImageUrl" : "URL for the Thumbnail",
"TimeZone" : "The Current Time Zone.",
"TotalPrivateRepository" : 0,
"TotalStatusesCount" : 0,
"UpdatedTime" : "updated date",
"Verified" : "verified",
"Volunteer" : [
{
"Cause" : "Cause of volunteer",
"Id" : "Volunteer Id",
"Organization" : "name",
"Role" : "Name of role"
}
],
"WebProfiles" : {"key1":"value1","key2":"value2"},
"Website" : "Personal Website a User has"
}
],
"ConsentProfile" : {
"AcceptedConsentVersions" : [
{
"Event" : "Allowed events: Login, Register, UpdateProfile, ResetPassword, ChangePassword, emailVerification, AddEmail, RemoveEmail, BlockAccount, DeleteAccount, SetUsername, AssignRoles, UnassignRoles, SetPassword, LinkAccount, UnlinkAccount, UpdatePhoneId, VerifyPhoneNumber, CreateCustomObject, UpdateCustomobject, DeleteCustomObject",
"IsCustom" : true,
"Version" : 0
}
],
"Consents" : [
{
"AcceptOnDate" : "Consent Accept on Date",
"ConsentOptionId" : "Consent Option Id"
}
]
},
"CustomFields" : {"key1":"value1","key2":"value2"},
"EmailVerified" : true,
"ExternalIds" : [
{
"Source" : "ExternalId source",
"SourceId" : "External source id"
}
],
"ExternalUserLoginId" : "External User Login Id",
"IsActive" : true,
"IsCustomUid" : true,
"IsDeleted" : true,
"IsEmailSubscribed" : true,
"IsLoginLocked" : true,
"IsRequiredFieldsFilledOnce" : true,
"IsSecurePassword" : true,
"LastLoginLocation" : "Last login location",
"LastPasswordChangeDate" : "Last password change date",
"LastPasswordChangeToken" : "Last password change token",
"LoginLockedType" : "Type of Lockout",
"NoOfLogins" : 0,
"Password" : "Password for the email",
"PasswordExpirationDate" : "Date of password expiration",
"PhoneId" : "Phone ID (Unique Phone Number Identifier of the user)",
"PhoneIdVerified" : true,
"PIN" : {
"LastPINChangeDate" : "Last PIN Change Date",
"PIN" : "PIN of user",
"Skipped" : true,
"SkippedDate" : "Skipped Date"
},
"PrivacyPolicy" : {
"AcceptDateTime" : "Privacy policy accept date time",
"AcceptSource" : "Privacy policy accept source",
"Version" : "Privacy policy version"
},
"RegistrationData" : {
"Data" : [
{
"DataSource" : "Registration Data Source",
"Value" : {
"Id" : "ID of the User"
}
}
]
},
"RegistrationProvider" : "Provider with which user registered",
"RegistrationSource" : "URL of the webproperty from where the user is registered.",
"Roles" : [
"" , ""
],
"Uid" : "UID, the unified identifier for each user account",
"UnverifiedEmail" : [
{
"Type" : "Primary",
"Value" : "Email address"
}
],
"UserName" : "Username of the user",
"About" : "About value that need to be inserted",
"Addresses" : [
{
"Address1" : "Address field value that needs to be updated",
"Address2" : "Address field value that needs to be updated",
"City" : "user's city",
"Country" : "Country of the user",
"PostalCode" : "Postal code value that need to be updated",
"Region" : "Region",
"State" : "State of the user",
"Type" : "Residential"
}
],
"Age" : "User's Age",
"AgeRange" : {
"Max" : 0,
"Min" : 0
},
"Associations" : "Organization a person is assosciated with",
"Awards" : [
{
"Id" : "Id of the Awards",
"Issuer" : "Award issuer details",
"Name" : "Award name"
}
],
"Badges" : [
{
"BadgeId" : "Badge ID",
"BadgeMessage" : "Badge Message",
"BageId" : "Badge ID",
"BageMessage" : "Badge Message",
"Description" : "detailed information",
"ImageUrl" : "image URL should be absolute and has HTTPS domain",
"Name" : "Badge Name"
}
],
"BirthDate" : "10-15-2000",
"BoardsCount" : 0,
"Books" : [
{
"Category" : "Book category",
"CreatedDate" : "Date of Creation of Profile",
"Id" : "Id of book",
"Name" : "book name"
}
],
"Certifications" : [
{
"Authority" : "Authority of certifications",
"EndDate" : "Certification end date",
"Id" : "Certification id",
"Name" : "Certification name",
"Number" : "Certification number",
"StartDate" : "Certification start date"
}
],
"City" : "user's city",
"Company" : "users company name",
"Country" : {
"Code" : "Country code",
"Name" : "Country name"
},
"Courses" : [
{
"Id" : "Course id",
"Name" : "Course name",
"Number" : "Course number"
}
],
"CoverPhoto" : "URL of the photo that need to be inserted",
"Created" : "created",
"CreatedDate" : "Date of Creation of Profile",
"Currency" : "Currency",
"CurrentStatus" : [
{
"CreatedDate" : "Current status created date",
"Id" : "Current status id",
"Source" : "Current status source",
"Text" : "Current status text"
}
],
"Educations" : [
{
"activities" : "Activities",
"degree" : "Degree",
"EndDate" : "Education End Date",
"fieldofstudy" : "Fields of study",
"notes" : "Notes",
"School" : "School of the user",
"StartDate" : "Start date of Education of user",
"type" : "Type",
"year" : "Year of Education"
}
],
"Email" : [
{
"Type" : "Primary",
"Value" : "Email address"
}
],
"Family" : [
{
"Id" : "Family id",
"Name" : "Family name",
"Relationship" : "Family relationship"
}
],
"Favicon" : "URL of the favicon that need to be inserted",
"FavoriteThings" : [
{
"Id" : "Id of favorite things",
"Name" : "Name of favorite things",
"Type" : "Type of favorite things"
}
],
"FirstLogin" : true,
"FirstName" : "John",
"FollowersCount" : 0,
"FriendsCount" : 0,
"FullName" : "Users complete name",
"Games" : [
{
"Category" : "Category of game",
"CreatedDate" : "Game created date",
"Id" : "Id of game",
"Name" : "Game name"
}
],
"Gender" : "Male",
"GistsUrl" : "Git Repository URL",
"GravatarImageUrl" : "URL of image that need to be inserted",
</