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