Attempt Completed Webhook
Request Details
export interface AttemptCompletedWebhookBody {
user: {
id: string;
name: string;
email: string;
customAttributes: Record<string, unknown>;
};
portal: { id: string };
meta: { timestamp: string };
certificate?: {
url: string;
certificatePdfPath: string;
};
attempt: {
score: number;
scoreFrac: number;
totalAnsweredCorrectly: number;
id: string;
isExam: false;
state: {
responseQuestionMap: string[][];
isRevoked: boolean;
isStarted: boolean;
timeStarted: string;
timeCompleted: string;
timeSpentInMs: number;
results: { status: string };
};
marks: Marks;
totalQuestions: number;
tags: {
nonFacetTags: string[];
skill: string[];
difficulty: string[];
subtopic: string[];
topic: string[];
subject: string[];
module: string[];
exam: string[];
};
totalAnswered: number;
timeStarted: string;
timeCompleted: string;
timeSpentInMs: number;
};
test: { id: string; title: string };
id: string;
score: number;
scoreFrac: number;
timeStarted: string;
timeCompleted: string;
timeSpentInMs: number;
}Last updated
Was this helpful?