Searching Claims / Users

An admin can also search for a specific claim, for example to provide support an admin could try to find a user based on their email, name, etc. They can search a claim in the Admin UI or via the Management API. In the Admin UI admins can go to Attributes, select the desired attribute, and go to the Search tab.

The API call to search claims using the Management API looks as below (Postman documentation here):

// POST https://{{tenant_id}}.api.quasr.io/graphql
// Authorization: Bearer <accesss_token>
{
    "query": `
        query searchClaims($attribute: ID!, $value: String!) {
            searchClaims(attribute: $attribute, value: $value) {
                id
                subtype
                value
                label
                score
                status
            }
        }`,
    "variables": `{
        "attribute": "<attribute_id>", // REQUIRED
        "value": "<claim_value>" // REQUIRED (YOU MUST AT LEAST PROVIDE 2 CHARACTERS)
    }`
}

Last updated