[{"data":1,"prerenderedAt":1487},["ShallowReactive",2],{"apis-partner-event-api":3},{"id":4,"title":5,"body":6,"description":1478,"extension":1479,"meta":1480,"navigation":1482,"path":1483,"seo":1484,"stem":1485,"__hash__":1486},"content/apis/partner/event-api.md","Partner Event API",{"type":7,"value":8,"toc":1459},"minimal",[9,13,29,37,41,47,75,94,97,101,108,119,124,151,174,180,182,186,190,199,202,207,221,226,424,429,674,676,680,684,929,934,1050,1054,1057,1071,1075,1080,1115,1120,1153,1158,1191,1196,1229,1231,1235,1238,1278,1280,1284,1315,1332,1334,1338,1441,1443,1447,1455],[10,11,5],"h2",{"id":12},"partner-event-api",[14,15,16,20,21,24,25,28],"p",{},[17,18,19],"strong",{},"Version",": 1.0\n",[17,22,23],{},"Document Version",": v0.8\n",[17,26,27],{},"Last Updated",": 2026-01-15",[30,31,34],"guide-alert",{"title":32,"type":33},"Draft Document","warning",[14,35,36],{},"⚠️ This document is a draft and may change at any time.",[10,38,40],{"id":39},"overview","Overview",[14,42,43,44,46],{},"The ",[17,45,5],{}," is designed to allow partners to send event data (alarms, troubles, arming status) to the CHeKT cloud in real-time. This API is separate from the Partner API and focuses specifically on event ingestion and media upload.",[30,48,51,66],{"title":49,"type":50},"Two Separate APIs","info",[52,53,54,61],"ul",{},[55,56,57,60],"li",{},[17,58,59],{},"Partner API",": Synchronizes dealer, site, device, and contact data (RESTful CRUD operations)",[55,62,63,65],{},[17,64,5],{},": Sends real-time events and media to CHeKT (Event ingestion)",[14,67,68,69,74],{},"These are two distinct APIs with different authentication methods. See ",[70,71,73],"a",{"href":72},"/apis/partner/authentication","Partner API Authentication"," for the Partner API.",[30,76,78],{"title":77,"type":50},"Base URL",[14,79,80,83,84,88,83,91],{},[17,81,82],{},"Development Server",": ",[85,86,87],"code",{},"https://api.chektdev.com",[17,89,90],{},"Production Server",[85,92,93],{},"https://api.chekt.com",[95,96],"hr",{},[10,98,100],{"id":99},"authentication","Authentication",[14,102,103,104,107],{},"The Partner Event API uses ",[17,105,106],{},"OAuth 2.0 Client Credentials Grant with JWT assertions"," for M2M (Machine-to-Machine) authentication.",[30,109,111],{"title":110,"type":50},"Authentication Guide",[14,112,113,114,118],{},"For detailed authentication setup, code examples, and security best practices, see the ",[70,115,117],{"href":116},"/apis/partner/event-authentication","Partner Event API Authentication"," guide.",[120,121,123],"h3",{"id":122},"quick-start","Quick Start",[125,126,127,133,139,145],"ol",{},[55,128,129,132],{},[17,130,131],{},"Register"," an Auth Application with CHeKT support",[55,134,135,138],{},[17,136,137],{},"Generate"," a JWT assertion signed with your M2M secret key",[55,140,141,144],{},[17,142,143],{},"Exchange"," the assertion for an access token",[55,146,147,150],{},[17,148,149],{},"Include"," the token in API request headers:",[152,153,158],"pre",{"className":154,"code":155,"language":156,"meta":157,"style":157},"language-http shiki shiki-themes github-light github-dark","Authorization: Bearer YOUR_ACCESS_TOKEN\nContent-Type: application/json\n","http","",[85,159,160,168],{"__ignoreMap":157},[161,162,165],"span",{"class":163,"line":164},"line",1,[161,166,167],{},"Authorization: Bearer YOUR_ACCESS_TOKEN\n",[161,169,171],{"class":163,"line":170},2,[161,172,173],{},"Content-Type: application/json\n",[30,175,177],{"title":176,"type":33},"Different from Partner API",[14,178,179],{},"Partner Event API authentication is simpler than Partner API - it only uses M2M authentication with no Authorization Code Flow required.",[95,181],{},[10,183,185],{"id":184},"api-endpoint","API Endpoint",[120,187,189],{"id":188},"send-event","Send Event",[152,191,193],{"className":154,"code":192,"language":156,"meta":157,"style":157},"POST /partner/v1/events\n",[85,194,195],{"__ignoreMap":157},[161,196,197],{"class":163,"line":164},[161,198,192],{},[14,200,201],{},"Sends event data from OpenEye platform to CHeKT cloud.",[14,203,204],{},[17,205,206],{},"Request Headers:",[152,208,210],{"className":154,"code":209,"language":156,"meta":157,"style":157},"Content-Type: application/json\nX-API-KEY: {your-api-key}\n",[85,211,212,216],{"__ignoreMap":157},[161,213,214],{"class":163,"line":164},[161,215,173],{},[161,217,218],{"class":163,"line":170},[161,219,220],{},"X-API-KEY: {your-api-key}\n",[14,222,223],{},[17,224,225],{},"Request Body:",[152,227,231],{"className":228,"code":229,"language":230,"meta":157,"style":157},"language-json shiki shiki-themes github-light github-dark","{\n  \"version\": \"1.0\",\n  \"location_id\": \"Z6RSOG\",\n  \"recorder_id\": \"Z6RANV\",\n  \"camera_id\": \"2fe519b4-2438-4aa1-b051-87cf22bb\",\n  \"event_id\": \"1763603245534315\",\n  \"event_type\": \"alarm\",\n  \"event_status\": \"active\",\n  \"event_time\": \"2025-11-20T01:46:25.534Z\",\n  \"sent_at\": \"2025-11-20T01:46:28.534Z\",\n  \"should_signal_to_monitoring_center\": true,\n  \"upload_snapshot_count\": 1,\n  \"upload_short_mp4\": false,\n  \"upload_event_mp4\": true,\n  \"payload\": {}\n}\n","json",[85,232,233,239,254,267,280,293,306,319,332,345,358,371,384,397,409,418],{"__ignoreMap":157},[161,234,235],{"class":163,"line":164},[161,236,238],{"class":237},"sVt8B","{\n",[161,240,241,245,247,251],{"class":163,"line":170},[161,242,244],{"class":243},"sj4cs","  \"version\"",[161,246,83],{"class":237},[161,248,250],{"class":249},"sZZnC","\"1.0\"",[161,252,253],{"class":237},",\n",[161,255,257,260,262,265],{"class":163,"line":256},3,[161,258,259],{"class":243},"  \"location_id\"",[161,261,83],{"class":237},[161,263,264],{"class":249},"\"Z6RSOG\"",[161,266,253],{"class":237},[161,268,270,273,275,278],{"class":163,"line":269},4,[161,271,272],{"class":243},"  \"recorder_id\"",[161,274,83],{"class":237},[161,276,277],{"class":249},"\"Z6RANV\"",[161,279,253],{"class":237},[161,281,283,286,288,291],{"class":163,"line":282},5,[161,284,285],{"class":243},"  \"camera_id\"",[161,287,83],{"class":237},[161,289,290],{"class":249},"\"2fe519b4-2438-4aa1-b051-87cf22bb\"",[161,292,253],{"class":237},[161,294,296,299,301,304],{"class":163,"line":295},6,[161,297,298],{"class":243},"  \"event_id\"",[161,300,83],{"class":237},[161,302,303],{"class":249},"\"1763603245534315\"",[161,305,253],{"class":237},[161,307,309,312,314,317],{"class":163,"line":308},7,[161,310,311],{"class":243},"  \"event_type\"",[161,313,83],{"class":237},[161,315,316],{"class":249},"\"alarm\"",[161,318,253],{"class":237},[161,320,322,325,327,330],{"class":163,"line":321},8,[161,323,324],{"class":243},"  \"event_status\"",[161,326,83],{"class":237},[161,328,329],{"class":249},"\"active\"",[161,331,253],{"class":237},[161,333,335,338,340,343],{"class":163,"line":334},9,[161,336,337],{"class":243},"  \"event_time\"",[161,339,83],{"class":237},[161,341,342],{"class":249},"\"2025-11-20T01:46:25.534Z\"",[161,344,253],{"class":237},[161,346,348,351,353,356],{"class":163,"line":347},10,[161,349,350],{"class":243},"  \"sent_at\"",[161,352,83],{"class":237},[161,354,355],{"class":249},"\"2025-11-20T01:46:28.534Z\"",[161,357,253],{"class":237},[161,359,361,364,366,369],{"class":163,"line":360},11,[161,362,363],{"class":243},"  \"should_signal_to_monitoring_center\"",[161,365,83],{"class":237},[161,367,368],{"class":243},"true",[161,370,253],{"class":237},[161,372,374,377,379,382],{"class":163,"line":373},12,[161,375,376],{"class":243},"  \"upload_snapshot_count\"",[161,378,83],{"class":237},[161,380,381],{"class":243},"1",[161,383,253],{"class":237},[161,385,387,390,392,395],{"class":163,"line":386},13,[161,388,389],{"class":243},"  \"upload_short_mp4\"",[161,391,83],{"class":237},[161,393,394],{"class":243},"false",[161,396,253],{"class":237},[161,398,400,403,405,407],{"class":163,"line":399},14,[161,401,402],{"class":243},"  \"upload_event_mp4\"",[161,404,83],{"class":237},[161,406,368],{"class":243},[161,408,253],{"class":237},[161,410,412,415],{"class":163,"line":411},15,[161,413,414],{"class":243},"  \"payload\"",[161,416,417],{"class":237},": {}\n",[161,419,421],{"class":163,"line":420},16,[161,422,423],{"class":237},"}\n",[14,425,426],{},[17,427,428],{},"Request Body Parameters:",[430,431,432,451],"table",{},[433,434,435],"thead",{},[436,437,438,442,445,448],"tr",{},[439,440,441],"th",{},"Parameter",[439,443,444],{},"Type",[439,446,447],{},"Required",[439,449,450],{},"Description",[452,453,454,471,485,500,514,528,553,573,587,601,616,631,645,659],"tbody",{},[436,455,456,462,465,468],{},[457,458,459],"td",{},[85,460,461],{},"version",[457,463,464],{},"string",[457,466,467],{},"Yes",[457,469,470],{},"API version (e.g., \"1.0\")",[436,472,473,478,480,482],{},[457,474,475],{},[85,476,477],{},"location_id",[457,479,464],{},[457,481,467],{},[457,483,484],{},"Location identifier",[436,486,487,492,494,497],{},[457,488,489],{},[85,490,491],{},"recorder_id",[457,493,464],{},[457,495,496],{},"No",[457,498,499],{},"Recorder identifier (optional for arming events)",[436,501,502,507,509,511],{},[457,503,504],{},[85,505,506],{},"camera_id",[457,508,464],{},[457,510,467],{},[457,512,513],{},"Camera device identifier",[436,515,516,521,523,525],{},[457,517,518],{},[85,519,520],{},"event_id",[457,522,464],{},[457,524,467],{},[457,526,527],{},"Unique event identifier",[436,529,530,535,537,539],{},[457,531,532],{},[85,533,534],{},"event_type",[457,536,464],{},[457,538,467],{},[457,540,541,542,545,546,545,549,552],{},"Event type: ",[85,543,544],{},"alarm",", ",[85,547,548],{},"trouble",[85,550,551],{},"arming",", etc.",[436,554,555,560,562,564],{},[457,556,557],{},[85,558,559],{},"event_status",[457,561,464],{},[457,563,467],{},[457,565,566,567,545,570],{},"Event status: ",[85,568,569],{},"active",[85,571,572],{},"inactive",[436,574,575,580,582,584],{},[457,576,577],{},[85,578,579],{},"event_time",[457,581,464],{},[457,583,467],{},[457,585,586],{},"Event occurrence time (ISO 8601 format)",[436,588,589,594,596,598],{},[457,590,591],{},[85,592,593],{},"sent_at",[457,595,464],{},[457,597,467],{},[457,599,600],{},"Time when event was sent (ISO 8601 format)",[436,602,603,608,611,613],{},[457,604,605],{},[85,606,607],{},"should_signal_to_monitoring_center",[457,609,610],{},"boolean",[457,612,467],{},[457,614,615],{},"Whether to send signal to monitoring center",[436,617,618,623,626,628],{},[457,619,620],{},[85,621,622],{},"upload_snapshot_count",[457,624,625],{},"integer",[457,627,467],{},[457,629,630],{},"Number of snapshots to upload",[436,632,633,638,640,642],{},[457,634,635],{},[85,636,637],{},"upload_short_mp4",[457,639,610],{},[457,641,467],{},[457,643,644],{},"Whether to upload short MP4 video",[436,646,647,652,654,656],{},[457,648,649],{},[85,650,651],{},"upload_event_mp4",[457,653,610],{},[457,655,467],{},[457,657,658],{},"Whether to upload event MP4 video",[436,660,661,666,669,671],{},[457,662,663],{},[85,664,665],{},"payload",[457,667,668],{},"object",[457,670,467],{},[457,672,673],{},"Additional event data",[95,675],{},[10,677,679],{"id":678},"response-format","Response Format",[120,681,683],{"id":682},"success-response-201-created","Success Response (201 Created)",[152,685,687],{"className":228,"code":686,"language":230,"meta":157,"style":157},"{\n  \"event_id\": \"eve-56\",\n  \"response_id\": \"019a338f-5581-7368-b166-b4235f6f4750\",\n  \"uploads\": {\n    \"snapshots\": [\n      {\n        \"seq\": 0,\n        \"upload_put_url\": \"https://my-example-bucket.s3.us-east-1.amazonaws.com/device/123/snapshot_0.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256\",\n        \"callback_put_url\": \"https://api.chektdev.com/partner/v1/events/eve-56/uploads/callback?seq=0&type=snapshot&access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9\"\n      },\n      {\n        \"seq\": 1,\n        \"upload_put_url\": \"https://my-example-bucket.s3.us-east-1.amazonaws.com/device/123/snapshot_1.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256\",\n        \"callback_put_url\": \"https://api.chektdev.com/partner/v1/events/eve-56/uploads/callback?seq=1&type=snapshot&access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9\"\n      }\n    ],\n    \"short_mp4\": {\n      \"upload_put_url\": \"https://my-example-bucket.s3.us-east-1.amazonaws.com/device/123/short_mp4.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256\",\n      \"callback_put_url\": \"https://api.chektdev.com/partner/v1/events/eve-56/uploads/callback?type=short_mp4&access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9\"\n    },\n    \"event_mp4\": {\n      \"upload_put_url\": \"https://my-example-bucket.s3.us-east-1.amazonaws.com/device/123/event_mp4.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256\",\n      \"callback_put_url\": \"https://api.chektdev.com/partner/v1/events/eve-56/uploads/callback?type=event_mp4&access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9\"\n    }\n  },\n  \"status\": \"accepted\",\n  \"reason\": null\n}\n",[85,688,689,693,704,716,724,732,737,749,761,771,776,780,790,801,810,815,820,828,841,852,858,866,878,888,894,900,913,924],{"__ignoreMap":157},[161,690,691],{"class":163,"line":164},[161,692,238],{"class":237},[161,694,695,697,699,702],{"class":163,"line":170},[161,696,298],{"class":243},[161,698,83],{"class":237},[161,700,701],{"class":249},"\"eve-56\"",[161,703,253],{"class":237},[161,705,706,709,711,714],{"class":163,"line":256},[161,707,708],{"class":243},"  \"response_id\"",[161,710,83],{"class":237},[161,712,713],{"class":249},"\"019a338f-5581-7368-b166-b4235f6f4750\"",[161,715,253],{"class":237},[161,717,718,721],{"class":163,"line":269},[161,719,720],{"class":243},"  \"uploads\"",[161,722,723],{"class":237},": {\n",[161,725,726,729],{"class":163,"line":282},[161,727,728],{"class":243},"    \"snapshots\"",[161,730,731],{"class":237},": [\n",[161,733,734],{"class":163,"line":295},[161,735,736],{"class":237},"      {\n",[161,738,739,742,744,747],{"class":163,"line":308},[161,740,741],{"class":243},"        \"seq\"",[161,743,83],{"class":237},[161,745,746],{"class":243},"0",[161,748,253],{"class":237},[161,750,751,754,756,759],{"class":163,"line":321},[161,752,753],{"class":243},"        \"upload_put_url\"",[161,755,83],{"class":237},[161,757,758],{"class":249},"\"https://my-example-bucket.s3.us-east-1.amazonaws.com/device/123/snapshot_0.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256\"",[161,760,253],{"class":237},[161,762,763,766,768],{"class":163,"line":334},[161,764,765],{"class":243},"        \"callback_put_url\"",[161,767,83],{"class":237},[161,769,770],{"class":249},"\"https://api.chektdev.com/partner/v1/events/eve-56/uploads/callback?seq=0&type=snapshot&access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9\"\n",[161,772,773],{"class":163,"line":347},[161,774,775],{"class":237},"      },\n",[161,777,778],{"class":163,"line":360},[161,779,736],{"class":237},[161,781,782,784,786,788],{"class":163,"line":373},[161,783,741],{"class":243},[161,785,83],{"class":237},[161,787,381],{"class":243},[161,789,253],{"class":237},[161,791,792,794,796,799],{"class":163,"line":386},[161,793,753],{"class":243},[161,795,83],{"class":237},[161,797,798],{"class":249},"\"https://my-example-bucket.s3.us-east-1.amazonaws.com/device/123/snapshot_1.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256\"",[161,800,253],{"class":237},[161,802,803,805,807],{"class":163,"line":399},[161,804,765],{"class":243},[161,806,83],{"class":237},[161,808,809],{"class":249},"\"https://api.chektdev.com/partner/v1/events/eve-56/uploads/callback?seq=1&type=snapshot&access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9\"\n",[161,811,812],{"class":163,"line":411},[161,813,814],{"class":237},"      }\n",[161,816,817],{"class":163,"line":420},[161,818,819],{"class":237},"    ],\n",[161,821,823,826],{"class":163,"line":822},17,[161,824,825],{"class":243},"    \"short_mp4\"",[161,827,723],{"class":237},[161,829,831,834,836,839],{"class":163,"line":830},18,[161,832,833],{"class":243},"      \"upload_put_url\"",[161,835,83],{"class":237},[161,837,838],{"class":249},"\"https://my-example-bucket.s3.us-east-1.amazonaws.com/device/123/short_mp4.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256\"",[161,840,253],{"class":237},[161,842,844,847,849],{"class":163,"line":843},19,[161,845,846],{"class":243},"      \"callback_put_url\"",[161,848,83],{"class":237},[161,850,851],{"class":249},"\"https://api.chektdev.com/partner/v1/events/eve-56/uploads/callback?type=short_mp4&access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9\"\n",[161,853,855],{"class":163,"line":854},20,[161,856,857],{"class":237},"    },\n",[161,859,861,864],{"class":163,"line":860},21,[161,862,863],{"class":243},"    \"event_mp4\"",[161,865,723],{"class":237},[161,867,869,871,873,876],{"class":163,"line":868},22,[161,870,833],{"class":243},[161,872,83],{"class":237},[161,874,875],{"class":249},"\"https://my-example-bucket.s3.us-east-1.amazonaws.com/device/123/event_mp4.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256\"",[161,877,253],{"class":237},[161,879,881,883,885],{"class":163,"line":880},23,[161,882,846],{"class":243},[161,884,83],{"class":237},[161,886,887],{"class":249},"\"https://api.chektdev.com/partner/v1/events/eve-56/uploads/callback?type=event_mp4&access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9\"\n",[161,889,891],{"class":163,"line":890},24,[161,892,893],{"class":237},"    }\n",[161,895,897],{"class":163,"line":896},25,[161,898,899],{"class":237},"  },\n",[161,901,903,906,908,911],{"class":163,"line":902},26,[161,904,905],{"class":243},"  \"status\"",[161,907,83],{"class":237},[161,909,910],{"class":249},"\"accepted\"",[161,912,253],{"class":237},[161,914,916,919,921],{"class":163,"line":915},27,[161,917,918],{"class":243},"  \"reason\"",[161,920,83],{"class":237},[161,922,923],{"class":243},"null\n",[161,925,927],{"class":163,"line":926},28,[161,928,423],{"class":237},[14,930,931],{},[17,932,933],{},"Response Parameters:",[430,935,936,946],{},[433,937,938],{},[436,939,940,942,944],{},[439,941,441],{},[439,943,444],{},[439,945,450],{},[452,947,948,959,971,983,996,1008,1020,1038],{},[436,949,950,954,956],{},[457,951,952],{},[85,953,520],{},[457,955,464],{},[457,957,958],{},"CHeKT event identifier",[436,960,961,966,968],{},[457,962,963],{},[85,964,965],{},"response_id",[457,967,464],{},[457,969,970],{},"Unique response identifier (UUID)",[436,972,973,978,980],{},[457,974,975],{},[85,976,977],{},"uploads",[457,979,668],{},[457,981,982],{},"Pre-signed URLs for uploading media files",[436,984,985,990,993],{},[457,986,987],{},[85,988,989],{},"uploads.snapshots",[457,991,992],{},"array",[457,994,995],{},"Array of snapshot upload URLs with sequence numbers",[436,997,998,1003,1005],{},[457,999,1000],{},[85,1001,1002],{},"uploads.short_mp4",[457,1004,668],{},[457,1006,1007],{},"Short MP4 video upload URLs",[436,1009,1010,1015,1017],{},[457,1011,1012],{},[85,1013,1014],{},"uploads.event_mp4",[457,1016,668],{},[457,1018,1019],{},"Event MP4 video upload URLs",[436,1021,1022,1027,1029],{},[457,1023,1024],{},[85,1025,1026],{},"status",[457,1028,464],{},[457,1030,1031,1032,545,1035],{},"Processing status: ",[85,1033,1034],{},"accepted",[85,1036,1037],{},"discarded",[436,1039,1040,1045,1047],{},[457,1041,1042],{},[85,1043,1044],{},"reason",[457,1046,464],{},[457,1048,1049],{},"Reason for status (e.g., \"Event discarded: device is disarmed\")",[120,1051,1053],{"id":1052},"upload-urls","Upload URLs",[14,1055,1056],{},"Each upload object contains:",[52,1058,1059,1065],{},[55,1060,1061,1064],{},[85,1062,1063],{},"upload_put_url",": Pre-signed S3 URL for uploading the media file",[55,1066,1067,1070],{},[85,1068,1069],{},"callback_put_url",": Callback URL to notify CHeKT after upload completion",[120,1072,1074],{"id":1073},"error-responses","Error Responses",[14,1076,1077],{},[17,1078,1079],{},"400 Bad Request",[152,1081,1083],{"className":228,"code":1082,"language":230,"meta":157,"style":157},"{\n  \"error\": \"Bad Request\",\n  \"message\": \"Invalid input or params\"\n}\n",[85,1084,1085,1089,1101,1111],{"__ignoreMap":157},[161,1086,1087],{"class":163,"line":164},[161,1088,238],{"class":237},[161,1090,1091,1094,1096,1099],{"class":163,"line":170},[161,1092,1093],{"class":243},"  \"error\"",[161,1095,83],{"class":237},[161,1097,1098],{"class":249},"\"Bad Request\"",[161,1100,253],{"class":237},[161,1102,1103,1106,1108],{"class":163,"line":256},[161,1104,1105],{"class":243},"  \"message\"",[161,1107,83],{"class":237},[161,1109,1110],{"class":249},"\"Invalid input or params\"\n",[161,1112,1113],{"class":163,"line":269},[161,1114,423],{"class":237},[14,1116,1117],{},[17,1118,1119],{},"401 Unauthorized",[152,1121,1123],{"className":228,"code":1122,"language":230,"meta":157,"style":157},"{\n  \"error\": \"Unauthorized\",\n  \"message\": \"Invalid token or credentials\"\n}\n",[85,1124,1125,1129,1140,1149],{"__ignoreMap":157},[161,1126,1127],{"class":163,"line":164},[161,1128,238],{"class":237},[161,1130,1131,1133,1135,1138],{"class":163,"line":170},[161,1132,1093],{"class":243},[161,1134,83],{"class":237},[161,1136,1137],{"class":249},"\"Unauthorized\"",[161,1139,253],{"class":237},[161,1141,1142,1144,1146],{"class":163,"line":256},[161,1143,1105],{"class":243},[161,1145,83],{"class":237},[161,1147,1148],{"class":249},"\"Invalid token or credentials\"\n",[161,1150,1151],{"class":163,"line":269},[161,1152,423],{"class":237},[14,1154,1155],{},[17,1156,1157],{},"403 Forbidden",[152,1159,1161],{"className":228,"code":1160,"language":230,"meta":157,"style":157},"{\n  \"error\": \"Forbidden\",\n  \"message\": \"Access denied\"\n}\n",[85,1162,1163,1167,1178,1187],{"__ignoreMap":157},[161,1164,1165],{"class":163,"line":164},[161,1166,238],{"class":237},[161,1168,1169,1171,1173,1176],{"class":163,"line":170},[161,1170,1093],{"class":243},[161,1172,83],{"class":237},[161,1174,1175],{"class":249},"\"Forbidden\"",[161,1177,253],{"class":237},[161,1179,1180,1182,1184],{"class":163,"line":256},[161,1181,1105],{"class":243},[161,1183,83],{"class":237},[161,1185,1186],{"class":249},"\"Access denied\"\n",[161,1188,1189],{"class":163,"line":269},[161,1190,423],{"class":237},[14,1192,1193],{},[17,1194,1195],{},"404 Not Found",[152,1197,1199],{"className":228,"code":1198,"language":230,"meta":157,"style":157},"{\n  \"error\": \"Not Found\",\n  \"message\": \"Resource does not exist\"\n}\n",[85,1200,1201,1205,1216,1225],{"__ignoreMap":157},[161,1202,1203],{"class":163,"line":164},[161,1204,238],{"class":237},[161,1206,1207,1209,1211,1214],{"class":163,"line":170},[161,1208,1093],{"class":243},[161,1210,83],{"class":237},[161,1212,1213],{"class":249},"\"Not Found\"",[161,1215,253],{"class":237},[161,1217,1218,1220,1222],{"class":163,"line":256},[161,1219,1105],{"class":243},[161,1221,83],{"class":237},[161,1223,1224],{"class":249},"\"Resource does not exist\"\n",[161,1226,1227],{"class":163,"line":269},[161,1228,423],{"class":237},[95,1230],{},[10,1232,1234],{"id":1233},"event-types","Event Types",[14,1236,1237],{},"The API supports the following event types:",[430,1239,1240,1249],{},[433,1241,1242],{},[436,1243,1244,1247],{},[439,1245,1246],{},"Event Type",[439,1248,450],{},[452,1250,1251,1260,1269],{},[436,1252,1253,1257],{},[457,1254,1255],{},[85,1256,544],{},[457,1258,1259],{},"Alarm event triggered by camera or sensor",[436,1261,1262,1266],{},[457,1263,1264],{},[85,1265,548],{},[457,1267,1268],{},"Trouble event (formerly netloss) indicating system issues",[436,1270,1271,1275],{},[457,1272,1273],{},[85,1274,551],{},[457,1276,1277],{},"Arming status change event",[95,1279],{},[10,1281,1283],{"id":1282},"upload-workflow","Upload Workflow",[125,1285,1286,1294,1300,1306],{},[55,1287,1288,1290,1291],{},[17,1289,189],{},": POST event data to ",[85,1292,1293],{},"/partner/v1/events",[55,1295,1296,1299],{},[17,1297,1298],{},"Receive URLs",": Get pre-signed upload URLs in response",[55,1301,1302,1305],{},[17,1303,1304],{},"Upload Media",": Upload snapshots/videos to the provided S3 URLs using PUT requests",[55,1307,1308,1311,1312,1314],{},[17,1309,1310],{},"Send Callback",": After each successful upload, call the ",[85,1313,1069],{}," to notify CHeKT",[30,1316,1318],{"title":1317,"type":50},"Upload Best Practices",[52,1319,1320,1323,1326,1329],{},[55,1321,1322],{},"Upload files immediately after receiving pre-signed URLs",[55,1324,1325],{},"Pre-signed URLs expire after a certain time period",[55,1327,1328],{},"Always call the callback URL after successful upload",[55,1330,1331],{},"Handle upload failures with appropriate retry logic",[95,1333],{},[10,1335,1337],{"id":1336},"version-history","Version History",[430,1339,1340,1351],{},[433,1341,1342],{},[436,1343,1344,1346,1349],{},[439,1345,19],{},[439,1347,1348],{},"Date",[439,1350,450],{},[452,1352,1353,1364,1375,1386,1397,1408,1419,1430],{},[436,1354,1355,1358,1361],{},[457,1356,1357],{},"0.8",[457,1359,1360],{},"2026-01-15",[457,1362,1363],{},"Change recorder_id to optional, because arming event will omit it",[436,1365,1366,1369,1372],{},[457,1367,1368],{},"0.7",[457,1370,1371],{},"2026-01-14",[457,1373,1374],{},"Change netloss to trouble event",[436,1376,1377,1380,1383],{},[457,1378,1379],{},"0.6",[457,1381,1382],{},"2026-01-07",[457,1384,1385],{},"Add arming status parameter",[436,1387,1388,1391,1394],{},[457,1389,1390],{},"0.5",[457,1392,1393],{},"2025-12-18",[457,1395,1396],{},"Add sending signal parameter",[436,1398,1399,1402,1405],{},[457,1400,1401],{},"0.4",[457,1403,1404],{},"2025-11-22",[457,1406,1407],{},"Update event properties",[436,1409,1410,1413,1416],{},[457,1411,1412],{},"0.3",[457,1414,1415],{},"2025-11-20",[457,1417,1418],{},"Update upload properties",[436,1420,1421,1424,1427],{},[457,1422,1423],{},"0.2",[457,1425,1426],{},"2025-10-29",[457,1428,1429],{},"Add upload callback property",[436,1431,1432,1435,1438],{},[457,1433,1434],{},"0.1",[457,1436,1437],{},"2025-10-24",[457,1439,1440],{},"Initial draft and structure",[95,1442],{},[10,1444,1446],{"id":1445},"next-steps","Next Steps",[1448,1449,1450],"guide-next-steps",{},[14,1451,1452],{},[161,1453,1454],{},"\n{\n\"title\": \"API Reference\",\n\"description\": \"View all Partner API endpoints\",\n\"link\": \"/apis/partner/api-reference\"\n},\n{\n\"title\": \"Authentication\",\n\"description\": \"Learn how to authenticate API requests\",\n\"link\": \"/apis/partner/authentication\"\n},\n{\n\"title\": \"Overview\",\n\"description\": \"Partner API overview and concepts\",\n\"link\": \"/apis/partner/overview\"\n}\n",[1456,1457,1458],"style",{},"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);}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}",{"title":157,"searchDepth":256,"depth":256,"links":1460},[1461,1462,1463,1466,1469,1474,1475,1476,1477],{"id":12,"depth":170,"text":5},{"id":39,"depth":170,"text":40},{"id":99,"depth":170,"text":100,"children":1464},[1465],{"id":122,"depth":256,"text":123},{"id":184,"depth":170,"text":185,"children":1467},[1468],{"id":188,"depth":256,"text":189},{"id":678,"depth":170,"text":679,"children":1470},[1471,1472,1473],{"id":682,"depth":256,"text":683},{"id":1052,"depth":256,"text":1053},{"id":1073,"depth":256,"text":1074},{"id":1233,"depth":170,"text":1234},{"id":1282,"depth":170,"text":1283},{"id":1336,"depth":170,"text":1337},{"id":1445,"depth":170,"text":1446},"Event API for sending events to CHeKT cloud","md",{"category":1481,"order":256},"Event Integration",true,"/apis/partner/event-api",{"title":5,"description":1478},"apis/partner/event-api","O1kAvuMlYR_30AlzDicHm241RKW0ohQqVZp8hwUxfj8",1770959187781]