[{"data":1,"prerenderedAt":958},["ShallowReactive",2],{"api-nav":3,"\u002Fapi\u002Fchallenges\u002Fthe-challenge-object":178},[4,8,12,16,57,86,103,116,158],{"title":5,"path":6,"stem":7},"Introduction","\u002Fapi\u002Fintroduction","2.api\u002F1.Introduction",{"title":9,"path":10,"stem":11},"Errors","\u002Fapi\u002Ferrors","2.api\u002F2.Errors",{"title":13,"path":14,"stem":15},"Pagination","\u002Fapi\u002Fpagination","2.api\u002F3.Pagination",{"title":17,"path":18,"stem":19,"children":20},"Challenges","\u002Fapi\u002Fchallenges","2.api\u002F4.Challenges",[21,25,29,33,37,41,45,49,53],{"title":22,"path":23,"stem":24},"The challenge object","\u002Fapi\u002Fchallenges\u002Fthe-challenge-object","2.api\u002F4.Challenges\u002F1.The challenge object",{"title":26,"path":27,"stem":28},"List all challenges","\u002Fapi\u002Fchallenges\u002Flist-all-challenges","2.api\u002F4.Challenges\u002F2.List all challenges",{"title":30,"path":31,"stem":32},"Retrieve a challenge","\u002Fapi\u002Fchallenges\u002Fretrieve-a-challenge","2.api\u002F4.Challenges\u002F3.Retrieve a challenge",{"title":34,"path":35,"stem":36},"Retrieve challenge devices","\u002Fapi\u002Fchallenges\u002Fretrieve-challenge-devices","2.api\u002F4.Challenges\u002F4.Retrieve challenge devices",{"title":38,"path":39,"stem":40},"Kick a challenge device","\u002Fapi\u002Fchallenges\u002Fkick-a-challenge-device","2.api\u002F4.Challenges\u002F5.Kick a challenge device",{"title":42,"path":43,"stem":44},"Send challenge code","\u002Fapi\u002Fchallenges\u002Fsend-challenge-code","2.api\u002F4.Challenges\u002F6.Send challenge code",{"title":46,"path":47,"stem":48},"Verify challenge code","\u002Fapi\u002Fchallenges\u002Fverify-challenge-code","2.api\u002F4.Challenges\u002F7.Verify challenge code",{"title":50,"path":51,"stem":52},"Complete challenge","\u002Fapi\u002Fchallenges\u002Fcomplete-challenge","2.api\u002F4.Challenges\u002F8.Complete challenge",{"title":54,"path":55,"stem":56},"Open a challenge","\u002Fapi\u002Fchallenges\u002Fopen-a-challenge","2.api\u002F4.Challenges\u002F9.Open a challenge",{"title":58,"path":59,"stem":60,"children":61},"Devices","\u002Fapi\u002Fdevices","2.api\u002F5.Devices",[62,66,70,74,78,82],{"title":63,"path":64,"stem":65},"The device object","\u002Fapi\u002Fdevices\u002Fthe-device-object","2.api\u002F5.Devices\u002F1.The device object",{"title":67,"path":68,"stem":69},"Attach a device","\u002Fapi\u002Fdevices\u002Fattach-a-device","2.api\u002F5.Devices\u002F2.Attach a device",{"title":71,"path":72,"stem":73},"Detach a device","\u002Fapi\u002Fdevices\u002Fdetach-a-device","2.api\u002F5.Devices\u002F3.Detach a device",{"title":75,"path":76,"stem":77},"Fingerprint a device","\u002Fapi\u002Fdevices\u002Ffingerprint-a-device","2.api\u002F5.Devices\u002F4.Fingerprint a device",{"title":79,"path":80,"stem":81},"Retrieve a device hash","\u002Fapi\u002Fdevices\u002Fretrieve-device-hash","2.api\u002F5.Devices\u002F5.Retrieve device hash",{"title":83,"path":84,"stem":85},"Update device metadata","\u002Fapi\u002Fdevices\u002Fupdate-device-metadata","2.api\u002F5.Devices\u002F6.Update device metadata",{"title":87,"path":88,"stem":89,"children":90},"Users","\u002Fapi\u002Fusers","2.api\u002F6.Users",[91,95,99],{"title":92,"path":93,"stem":94},"The user object","\u002Fapi\u002Fusers\u002Fthe-user-object","2.api\u002F6.Users\u002F1.The user object",{"title":96,"path":97,"stem":98},"Update a user","\u002Fapi\u002Fusers\u002Fupdate-a-user","2.api\u002F6.Users\u002F2.Update a user",{"title":100,"path":101,"stem":102},"Retrieve user devices","\u002Fapi\u002Fusers\u002Fretrieve-user-devices","2.api\u002F6.Users\u002F4.Retrieve user devices",{"title":104,"path":105,"stem":106,"children":107},"Evaluations","\u002Fapi\u002Fevaluations","2.api\u002F7.Evaluations",[108,112],{"title":109,"path":110,"stem":111},"The evaluation object","\u002Fapi\u002Fevaluations\u002Fthe-evaluation-object","2.api\u002F7.Evaluations\u002F1.The evaluation object",{"title":113,"path":114,"stem":115},"Evaluate an action","\u002Fapi\u002Fevaluations\u002Fevaluate-an-action","2.api\u002F7.Evaluations\u002F2.Evaluate an action",{"title":117,"path":118,"stem":119,"children":120,"page":157},"Webhooks","\u002Fapi\u002Fwebhooks","2.api\u002F98.Webhooks",[121,125,129,133,137,141,145,149,153],{"title":122,"path":123,"stem":124},"Challenge initiated","\u002Fapi\u002Fwebhooks\u002Fchallenge-initiated","2.api\u002F98.Webhooks\u002F1.Challenge initiated",{"title":126,"path":127,"stem":128},"Challenge viewed","\u002Fapi\u002Fwebhooks\u002Fchallenge-viewed","2.api\u002F98.Webhooks\u002F2.Challenge viewed",{"title":130,"path":131,"stem":132},"Challenge pending","\u002Fapi\u002Fwebhooks\u002Fchallenge-pending","2.api\u002F98.Webhooks\u002F3.Challenge pending",{"title":134,"path":135,"stem":136},"Challenge skipped","\u002Fapi\u002Fwebhooks\u002Fchallenge-skipped","2.api\u002F98.Webhooks\u002F4.Challenge skipped",{"title":138,"path":139,"stem":140},"Challenge completed","\u002Fapi\u002Fwebhooks\u002Fchallenge-completed","2.api\u002F98.Webhooks\u002F5.Challenge completed",{"title":142,"path":143,"stem":144},"Account sharing signal","\u002Fapi\u002Fwebhooks\u002Faccount-sharing-signal","2.api\u002F98.Webhooks\u002FAccount sharing signal",{"title":146,"path":147,"stem":148},"Admin notified of shared account","\u002Fapi\u002Fwebhooks\u002Fadmin-notify-shared-account","2.api\u002F98.Webhooks\u002FAdmin notify shared account",{"title":150,"path":151,"stem":152},"Device detached","\u002Fapi\u002Fwebhooks\u002Fdevice-detached","2.api\u002F98.Webhooks\u002FDevice detached",{"title":154,"path":155,"stem":156},"User converted","\u002Fapi\u002Fwebhooks\u002Fuser-converted","2.api\u002F98.Webhooks\u002FUser converted",false,{"title":159,"path":160,"stem":161,"children":162},"Legacy APIs","\u002Fapi\u002Flegacy-apis","2.api\u002F99.Legacy APIs",[163,167,171,175],{"title":164,"path":165,"stem":166},"Access history","\u002Fapi\u002Flegacy-apis\u002Faccess-history","2.api\u002F99.Legacy APIs\u002F1.Access history",{"title":168,"path":169,"stem":170},"List devices of a user","\u002Fapi\u002Flegacy-apis\u002Flist-devices-of-a-user","2.api\u002F99.Legacy APIs\u002F2.List devices of a user",{"title":172,"path":173,"stem":174},"Complete identification","\u002Fapi\u002Flegacy-apis\u002Fcomplete-identification","2.api\u002F99.Legacy APIs\u002F3.Complete identification",{"title":83,"path":176,"stem":177},"\u002Fapi\u002Flegacy-apis\u002Fupdate-device-metadata","2.api\u002F99.Legacy APIs\u002F4.Update device metadata",{"id":179,"title":22,"body":180,"description":773,"extension":952,"meta":953,"navigation":954,"path":23,"seo":955,"sitemap":956,"stem":24,"__hash__":957},"api\u002F2.api\u002F4.Challenges\u002F1.The challenge object.md",{"type":181,"value":182,"toc":950},"minimark",[183,187,946],[184,185,22],"h1",{"id":186},"the-challenge-object",[188,189,194,195,194,757],"div",{"className":190},[191,192,193],"grid","grid-cols-2","gap-10","\n  ",[188,196,199,200,199,205,199,208,212,213,199,216,199,222,199,224,227,228,199,230,199,234,199,240,199,304,199,306,227,309,199,311,199,315,199,318,199,423,199,425,428,429,199,475,199,479,597,598,199,600,603,604,199,608,199,612,199,713,199,715,603,718,199,720,199,734,199,736,739,740,199,742,199,746,199,748,739,751,199,753,194],{"className":197},[198],"api-attributes","\n    ",[201,202,204],"h4",{"id":203},"attributes","Attributes",[206,207],"hr",{},[209,210,211],"code",{},"id"," string\n    ",[214,215],"br",{},[217,218,221],"p",{"className":219},[220],"my-2","The unique identifier of the challenge.",[206,223],{},[209,225,226],{},"user"," object\n    ",[214,229],{},[217,231,233],{"className":232},[220],"The user being challenged",[188,235,239],{"className":236},[237,238],"table-cap","no-bg","Child parameters",[188,241,245,246,255,256,245,258,245,262,245,264,255,270,245,272,245,276,245,278,255,284,245,286,245,290,245,292,255,298,245,300,199],{"className":242},[243,244,238],"table-wrap","enum","\n      ",[209,247,248,211],{},[249,250,254],"span",{"className":251},[252,253],"text-gray-500\u002F50","dark:text-white\u002F50","user."," string\n      ",[214,257],{},[217,259,261],{"className":260},[220],"The unique identifier of the user.",[206,263],{},[209,265,266,269],{},[249,267,254],{"className":268},[252,253],"external_id",[214,271],{},[217,273,275],{"className":274},[220],"The external identifier of the account associated with the challenge.",[206,277],{},[209,279,280,283],{},[249,281,254],{"className":282},[252,253],"email",[214,285],{},[217,287,289],{"className":288},[220],"The obfuscated email of the user who is challenged.",[206,291],{},[209,293,294,297],{},[249,295,254],{"className":296},[252,253],"phone",[214,299],{},[217,301,303],{"className":302},[220],"The obfuscated phone number of the user who is challenged.",[214,305],{},[209,307,308],{},"limit",[214,310],{},[217,312,314],{"className":313},[220],"The challenge limit state is a representation of a users attached devices relative to the the project environment settings.",[188,316,239],{"className":317},[237,238],[188,319,245,321,328,329,245,331,245,348,245,350,356,357,245,359,245,367,245,369,356,375,245,377,245,387,245,389,356,395,245,397,245,405,245,407,356,413,245,415,199],{"className":320},[243,244,238],[209,322,323,327],{},[249,324,326],{"className":325},[252,253],"limit.","is_exceeded"," boolean\n      ",[214,330],{},[217,332,334,335,337,338,342,343,347],{"className":333},[220],"Whether the challenge currently satisfies the device limit conditions. ",[209,336,327],{}," should be ",[339,340,341],"strong",{},"false"," before ",[344,345,346],"a",{"href":51},"completing the challenge",".",[206,349],{},[209,351,352,355],{},[249,353,326],{"className":354},[252,253],"overall"," number\n      ",[214,358],{},[217,360,362,363,366],{"className":361},[220],"The overall number of devices required to be kicked to satisfy the challenge conditions. See the ",[344,364,365],{"href":39},"kick a challenge device"," endpoint for more information.",[206,368],{},[209,370,371,374],{},[249,372,326],{"className":373},[252,253],"mobile",[214,376],{},[217,378,380,381,384,385,366],{"className":379},[220],"The number of ",[339,382,383],{},"mobile devices"," required to be kicked to satisfy the challenge conditions. See the ",[344,386,365],{"href":39},[206,388],{},[209,390,391,394],{},[249,392,326],{"className":393},[252,253],"tablet",[214,396],{},[217,398,380,400,384,403,366],{"className":399},[220],[339,401,402],{},"tablet devices",[344,404,365],{"href":39},[206,406],{},[209,408,409,412],{},[249,410,326],{"className":411},[252,253],"desktop",[214,414],{},[217,416,380,418,384,421,366],{"className":417},[220],[339,419,420],{},"desktop devices",[344,422,365],{"href":39},[214,424],{},[209,426,427],{},"status"," enum\n    ",[217,430,432,433,436,437,440,441,436,444,440,447,436,450,440,453,436,456,436,459,440,462,436,465,440,468,436,471,474],{"className":431},[220],"\n      One of ",[209,434,435],{},"initiated",", ",[209,438,439],{},"pending",",\n      ",[209,442,443],{},"delivered",[209,445,446],{},"delivery_failed",[209,448,449],{},"delivery_delayed",[209,451,452],{},"bounced",[209,454,455],{},"verified",[209,457,458],{},"failed",[209,460,461],{},"overridden",[209,463,464],{},"postponed",[209,466,467],{},"completed",[209,469,470],{},"admin_notified",[209,472,473],{},"skipped",". Describes the current\n      status of the challenge.\n    ",[188,476,478],{"className":477},[237,238],"Possible enum values",[188,480,245,482,245,484,245,486,245,489,245,491,245,493,245,495,245,498,245,500,245,502,245,504,245,507,245,509,245,511,245,513,245,516,245,518,245,520,245,522,245,525,245,527,245,529,245,531,245,534,245,536,245,538,245,540,245,543,245,545,245,547,245,549,245,552,245,554,245,556,245,558,245,561,245,563,245,565,245,567,245,570,245,572,245,574,245,576,245,579,245,581,245,583,245,585,245,588,245,590,245,592,245,594,199],{"className":481},[243,244,238],[209,483,435],{},[214,485],{},[217,487,488],{},"The challenge has been initiated.",[206,490],{},[209,492,439],{},[214,494],{},[217,496,497],{},"The challenge is pending verification.",[206,499],{},[209,501,443],{},[214,503],{},[217,505,506],{},"The challenge has been delivered.",[206,508],{},[209,510,446],{},[214,512],{},[217,514,515],{},"The challenge delivery has failed.",[206,517],{},[209,519,449],{},[214,521],{},[217,523,524],{},"The challenge delivery has been delayed.",[206,526],{},[209,528,452],{},[214,530],{},[217,532,533],{},"The challenge delivery has bounced.",[206,535],{},[209,537,455],{},[214,539],{},[217,541,542],{},"The challenge has been verified.",[206,544],{},[209,546,458],{},[214,548],{},[217,550,551],{},"The challenge has failed.",[206,553],{},[209,555,461],{},[214,557],{},[217,559,560],{},"The challenge has been overridden.",[206,562],{},[209,564,464],{},[214,566],{},[217,568,569],{},"The challenge has been postponed.",[206,571],{},[209,573,467],{},[214,575],{},[217,577,578],{},"The challenge has been completed.",[206,580],{},[209,582,470],{},[214,584],{},[217,586,587],{},"The admin has been notified.",[206,589],{},[209,591,473],{},[214,593],{},[217,595,596],{},"The challenge has been skipped."," \n    ",[214,599],{},[209,601,602],{},"reasons"," string[]\n    ",[217,605,607],{"className":606},[220],"The reasons the challenge was initiated.",[188,609,611],{"className":610},[237,238],"Possible array values",[188,613,245,615,245,618,245,620,245,623,245,625,245,628,245,630,245,633,245,635,245,638,245,640,245,643,245,645,245,648,245,650,245,653,245,655,245,658,245,660,245,663,245,665,245,668,245,670,245,673,245,675,245,678,245,680,245,683,245,685,245,688,245,690,245,693,245,695,245,698,245,700,245,703,245,705,245,708,245,710,199],{"className":614},[243,244,238],[209,616,617],{},"limit_exceeded",[214,619],{},[217,621,622],{},"The user has exceeded the device limit.",[206,624],{},[209,626,627],{},"concurrency",[214,629],{},[217,631,632],{},"The user has exceeded the device concurrency limit.",[206,634],{},[209,636,637],{},"impossible_travel",[214,639],{},[217,641,642],{},"The user has traveled an impossible distance in a short period of time.",[206,644],{},[209,646,647],{},"new_fingerprint",[214,649],{},[217,651,652],{},"The user has a new device fingerprint.",[206,654],{},[209,656,657],{},"new_ip",[214,659],{},[217,661,662],{},"The user has a new IP address.",[206,664],{},[209,666,667],{},"invalid_email",[214,669],{},[217,671,672],{},"The user has an invalid email address.",[206,674],{},[209,676,677],{},"disposable_email",[214,679],{},[217,681,682],{},"The user has used a disposable email address.",[206,684],{},[209,686,687],{},"webmail_email",[214,689],{},[217,691,692],{},"The user has used a webmail email address.",[206,694],{},[209,696,697],{},"accept_all_emails",[214,699],{},[217,701,702],{},"The users email domain is a catch-all email domain.",[206,704],{},[209,706,707],{},"multi_accounting",[214,709],{},[217,711,712],{},"The user has multiple accounts on the project.",[214,714],{},[209,716,717],{},"channels",[214,719],{},[217,721,723,724,726,727,729,730,733],{"className":722},[220],"The channels the verification code was sent to. ",[209,725,717],{}," is an array of ",[209,728,283],{}," and ",[209,731,732],{},"text"," in the order they were sent.",[206,735],{},[209,737,738],{},"createdAt"," date\n    ",[214,741],{},[217,743,745],{"className":744},[220],"The date and time the challenge was created.",[206,747],{},[209,749,750],{},"updatedAt",[214,752],{},[217,754,756],{"className":755},[220],"The date and time the challenge was updated.",[188,758,199,759,199,763],{},[188,760,22],{"className":761},[762],"code-cap",[188,764,767,194],{"className":765},[766],"code-light",[768,769,774],"pre",{"className":770,"code":771,"language":772,"meta":773,"style":773},"language-json shiki shiki-themes one-dark-pro monokai","{\n  \"_id\": \"649873be6e8b6f9b33722a0c\",\n  \"user\": {\n    \"_id\": \"649873be6e8b6f9b33722a0c\",\n    \"external_id\": \"external_account_id\",\n    \"email\": \"ab*****@rupt.dev\",\n    \"phone\": \"******34\"\n  },\n  \"status\": \"pending\",\n  \"reasons\": [\"limit_exceeded\", \"concurrency\"],\n  \"channels\": [\"text\", \"email\"],\n  \"createdAt\": \"2021-09-01T00:00:00.000Z\",\n  \"updatedAt\": \"2021-09-01T00:00:00.000Z\"\n}\n","json","",[209,775,776,784,801,810,822,835,848,859,865,878,898,916,929,940],{"__ignoreMap":773},[249,777,780],{"class":778,"line":779},"line",1,[249,781,783],{"class":782},"sFXR2","{\n",[249,785,787,791,794,798],{"class":778,"line":786},2,[249,788,790],{"class":789},"s9wyi","  \"_id\"",[249,792,793],{"class":782},": ",[249,795,797],{"class":796},"sKGTp","\"649873be6e8b6f9b33722a0c\"",[249,799,800],{"class":782},",\n",[249,802,804,807],{"class":778,"line":803},3,[249,805,806],{"class":789},"  \"user\"",[249,808,809],{"class":782},": {\n",[249,811,813,816,818,820],{"class":778,"line":812},4,[249,814,815],{"class":789},"    \"_id\"",[249,817,793],{"class":782},[249,819,797],{"class":796},[249,821,800],{"class":782},[249,823,825,828,830,833],{"class":778,"line":824},5,[249,826,827],{"class":789},"    \"external_id\"",[249,829,793],{"class":782},[249,831,832],{"class":796},"\"external_account_id\"",[249,834,800],{"class":782},[249,836,838,841,843,846],{"class":778,"line":837},6,[249,839,840],{"class":789},"    \"email\"",[249,842,793],{"class":782},[249,844,845],{"class":796},"\"ab*****@rupt.dev\"",[249,847,800],{"class":782},[249,849,851,854,856],{"class":778,"line":850},7,[249,852,853],{"class":789},"    \"phone\"",[249,855,793],{"class":782},[249,857,858],{"class":796},"\"******34\"\n",[249,860,862],{"class":778,"line":861},8,[249,863,864],{"class":782},"  },\n",[249,866,868,871,873,876],{"class":778,"line":867},9,[249,869,870],{"class":789},"  \"status\"",[249,872,793],{"class":782},[249,874,875],{"class":796},"\"pending\"",[249,877,800],{"class":782},[249,879,881,884,887,890,892,895],{"class":778,"line":880},10,[249,882,883],{"class":789},"  \"reasons\"",[249,885,886],{"class":782},": [",[249,888,889],{"class":796},"\"limit_exceeded\"",[249,891,436],{"class":782},[249,893,894],{"class":796},"\"concurrency\"",[249,896,897],{"class":782},"],\n",[249,899,901,904,906,909,911,914],{"class":778,"line":900},11,[249,902,903],{"class":789},"  \"channels\"",[249,905,886],{"class":782},[249,907,908],{"class":796},"\"text\"",[249,910,436],{"class":782},[249,912,913],{"class":796},"\"email\"",[249,915,897],{"class":782},[249,917,919,922,924,927],{"class":778,"line":918},12,[249,920,921],{"class":789},"  \"createdAt\"",[249,923,793],{"class":782},[249,925,926],{"class":796},"\"2021-09-01T00:00:00.000Z\"",[249,928,800],{"class":782},[249,930,932,935,937],{"class":778,"line":931},13,[249,933,934],{"class":789},"  \"updatedAt\"",[249,936,793],{"class":782},[249,938,939],{"class":796},"\"2021-09-01T00:00:00.000Z\"\n",[249,941,943],{"class":778,"line":942},14,[249,944,945],{"class":782},"}\n",[947,948,949],"style",{},"html pre.shiki code .sFXR2, html code.shiki .sFXR2{--shiki-default:#ABB2BF;--shiki-dark:#F8F8F2}html pre.shiki code .s9wyi, html code.shiki .s9wyi{--shiki-default:#E06C75;--shiki-default-font-style:inherit;--shiki-dark:#66D9EF;--shiki-dark-font-style:italic}html pre.shiki code .sKGTp, html code.shiki .sKGTp{--shiki-default:#98C379;--shiki-dark:#CFCFC2}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":773,"searchDepth":786,"depth":786,"links":951},[],"md",{},true,{"title":22,"description":773},{"loc":23},"JxiUW5P0kXg-yAkHqvP57Uia4fmliOMlokTbpOq95Zw",1776716923574]