API Technical Documentation
Summary
Specifics
Input
Type of Payload
type RequestPayload = {
// error can be optionally provided when result is false
error?: {
// this is the error code you defined to provider more context (e.g. UNKNOWN_ERROR, 0)
code: string | number;
// this is the error message you defined to provider more context (e.g. Unknown error occurred)
message: string;
};
data: {
// whether the user has done the task
result: boolean;
};
};Successful Response Example
Failed Response Example
Last updated