Compute user fit score
Why Fit Score Matters
A user with a moojoᴵᴰ accumulates hundreds of credentials over their lifetime by interacting with various apps and AI agents. These credentials remain private, secure, and inaccessible to any third-party application.
To leverage these credentials for personalization and targeting, you can request moojoᴵᴰ to compute a fit score for a specific segment.
The fit score is calculated using a structured set of rules, conditions, and weighted parameters. This process ensures precise targeting while maintaining strict user privacy and data security.
Defining the Fit Score Conditions
A fit score condition consists of an array of rules and corresponding weights:
Rules conditions
eq
string, uint
Equals (==)
contains
string
A substring that is contained within the full string
startsWith
string
A prefix contained within the field string
gt
uint
Greater than (>)
gte
uint
Greater than or equals (>=)
lt
uint
Less than (<)
lte
uint
Less than or equals (<=)
Condition example
Compute Fit Score
POST
/api.moojo.id/user/vault/compute-fit-score
Headers
Content-Type
application/json
x-api-key
Your API KEY as provided by Moojo
Authorization
Bearer {{USER_TOKEN}}
Retrieve the user token using one of the authentication methods
Body
query
array of objects
Request example
Response example
Last updated
Was this helpful?