@@ -43,8 +43,10 @@ <h2>Table of Contents</h2>
43
43
< li > Events for CodeSignal Assessments</ li >
44
44
< ul >
45
45
< li >
46
- < a href ="#clientworkflow " > Organization user workflow</ a >
46
+ < a href ="#customerworkflow " > Customer workflow</ a >
47
47
< ul >
48
+ < li > < a href ="#assessmentCreated "> assessmentCreated</ a > </ li >
49
+ < li > < a href ="#assessmentUpdated "> assessmentUpdated</ a > </ li >
48
50
< li > < a href ="#companyTestSessionCreated "> companyTestSessionCreated</ a > </ li >
49
51
</ ul >
50
52
</ li >
@@ -76,7 +78,7 @@ <h2>Table of Contents</h2>
76
78
</ ul >
77
79
</ li >
78
80
</ ul >
79
- < li > Events for CodeSignal Live Interview </ li >
81
+ < li > Events for CodeSignal Interviews </ li >
80
82
< ul >
81
83
< li > < a href ="#liveinterviewworkflow "> Live Interview webhooks process flow</ a > </ li >
82
84
< li > < a href ="#liveInterviewFinished "> liveInterviewFinished</ a > </ li >
@@ -344,10 +346,10 @@ <h3 id="payloads">Webhook payloads</h3>
344
346
</ div >
345
347
</ div >
346
348
< div class ="section ">
347
- < h2 > Events for CodeSignal Pre-Screen </ h2 >
349
+ < h2 > Events for CodeSignal Assessments </ h2 >
348
350
< div class ="subsection ">
349
351
< p >
350
- Here is an overview of the end to end workflow of events for CodeSignal Pre-Screen .
352
+ Here is an overview of the end to end workflow of events for CodeSignal Assessments .
351
353
</ p >
352
354
< br />
353
355
< img
@@ -357,14 +359,62 @@ <h2>Events for CodeSignal Pre-Screen</h2>
357
359
/>
358
360
</ div >
359
361
< div class ="subsection ">
360
- < h3 id ="clientworkflow " > Organization user workflow</ h3 >
362
+ < h3 id ="customerworkflow " > Customer workflow</ h3 >
361
363
< br />
362
364
< img
363
- alt ="Diagram of webhooks triggered on client flow "
365
+ alt ="Diagram of webhooks triggered on customer flow "
364
366
width ="80% "
365
367
src ="../images/client-events.svg "
366
368
/>
367
369
</ div >
370
+ < div class ="subsection ">
371
+ < h3 id ="assessmentCreated "> assessmentCreated</ h3 >
372
+ < p > Fired when a new assessment is created.</ p >
373
+ < div > Request format:</ div >
374
+ < pre > < code > {
375
+ event: 'assessmentCreated',
376
+ triggeredOn: number,
377
+ payload: {
378
+ assessmentId: string,
379
+ assessmentTitle: string,
380
+ assessmentStatus: 'active' | 'archived' | 'deleted'
381
+ }
382
+ };</ code > </ pre >
383
+ < div > Sample request:</ div >
384
+ < pre > < code > {
385
+ event: 'assessmentCreated',
386
+ triggeredOn: 1553720789347,
387
+ payload: {
388
+ assessmentId: 'lehu382hdleh29',
389
+ assessmentTitle: 'General Coding Assessment',
390
+ assessmentStatus: 'active'
391
+ }
392
+ };</ code > </ pre >
393
+ </ div >
394
+ < div class ="subsection ">
395
+ < h3 id ="assessmentUpdated "> assessmentUpdated</ h3 >
396
+ < p > Fired when an assessment is updated.</ p >
397
+ < div > Request format:</ div >
398
+ < pre > < code > {
399
+ event: 'assessmentUpdated',
400
+ triggeredOn: number,
401
+ payload: {
402
+ assessmentId: string,
403
+ assessmentTitle: string,
404
+ assessmentStatus: 'active' | 'archived' | 'deleted'
405
+ }
406
+ };</ code > </ pre >
407
+ < div > Sample request:</ div >
408
+ < pre > < code > {
409
+ event: 'assessmentUpdated',
410
+ triggeredOn: 1553720789347,
411
+ payload: {
412
+ assessmentId: 'lehu382hdleh29',
413
+ assessmentTitle: 'General Coding Assessment',
414
+ assessmentStatus: 'archived'
415
+ }
416
+ };</ code > </ pre >
417
+ </ div >
368
418
< div class ="subsection ">
369
419
< h3 id ="companyTestSessionCreated "> companyTestSessionCreated</ h3 >
370
420
< p > Fired when a test session is created.</ p >
@@ -397,7 +447,7 @@ <h3 id="companyTestSessionCreated">companyTestSessionCreated</h3>
397
447
< h3 id ="candidateworkflow "> Candidate workflow</ h3 >
398
448
< br />
399
449
< img
400
- alt ="Diagram of webhooks triggered by the CodeSignal Pre-Screen product "
450
+ alt ="Diagram of webhooks triggered by the CodeSignal Assessments product "
401
451
width ="100% "
402
452
src ="../images/candidate-events.svg "
403
453
/>
@@ -772,7 +822,7 @@ <h4 id="preScreenResultVerified">preScreenResultVerified</h4>
772
822
}
773
823
};</ code > </ pre >
774
824
</ div >
775
- < h2 > Events for CodeSignal Live Interview </ h2 >
825
+ < h2 > Events for CodeSignal Live Interviews </ h2 >
776
826
< div class ="subsection ">
777
827
< h3 id ="liveinterviewworkflow "> Live Interview webhooks process flow</ h3 >
778
828
< img
0 commit comments