For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content
User ProfileGetting User Preference
TestMu AI
StatusCommunityBlog
User Profile

Getting User Preference

Getting User Preference

GET
/api/user/preference
Getting User Preference
curl --request GET \
--url "https://auth.lambdatest.com/api/user/preference" \
--header "Authorization: Basic <encoded-value>"
[
{
"description": "Describe email type here so that it becomes easy for user to understand",
"label": "automation",
"name": "Automation Daily",
"value": 0
},
{
"description": "Describe email type here so that it becomes easy for user to understand",
"label": "marketing",
"name": "offers and deals",
"value": 0
},
{
"description": "Describe email type here so that it becomes easy for user to understand",
"label": "newsletter",
"name": "Newsletters",
"value": 0
},
{
"description": "Get notified when we release something new",
"label": "product",
"name": "Product Updates",
"value": 1
},
{
"description": "Describe email type here so that it becomes easy for user to understand",
"label": "weekly",
"name": "Weekly Reports",
"value": 1
}
]

Authorizations

Authorizationstringheaderrequired

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

Response

application/json

Success

descriptionstring
Example: "Describe email type here so that it becomes easy for user to understand"
labelstring
Example: "automation"
namestring
Example: "Automation Daily"
valuenumber
Example: 0
Getting User Preference
curl --request GET \
--url "https://auth.lambdatest.com/api/user/preference" \
--header "Authorization: Basic <encoded-value>"
[
{
"description": "Describe email type here so that it becomes easy for user to understand",
"label": "automation",
"name": "Automation Daily",
"value": 0
},
{
"description": "Describe email type here so that it becomes easy for user to understand",
"label": "marketing",
"name": "offers and deals",
"value": 0
},
{
"description": "Describe email type here so that it becomes easy for user to understand",
"label": "newsletter",
"name": "Newsletters",
"value": 0
},
{
"description": "Get notified when we release something new",
"label": "product",
"name": "Product Updates",
"value": 1
},
{
"description": "Describe email type here so that it becomes easy for user to understand",
"label": "weekly",
"name": "Weekly Reports",
"value": 1
}
]