Skip to main content
POST
cURL
This endpoint is subject to frequent changes.
Creates a KYC Summary report, returning KYC flagged workers for a specified company and utilizing optional filters such as employment status or KYC status. This endpoint returns a job_id instead of the raw data itself. Because the data returned can be large, Zeal uses a job queue to process the report instead of returning it synchronously. Once the job status is marked as complete, the report can be downloaded using the Get Report Download endpoint.

Example Response - 200

Example Response - 400

Authorizations

Authorization
string
header
required

Body

application/json
companyID
string
required

ID of the Company

employment_status
enum<string>
required

Filters the report by workers' employment status

Available options:
live,
leave,
terminated
media_type
string
default:csv
required

The media type of the report

kyc_status
enum<string>

Filters the report by KYC status

Available options:
all,
failed,
approved

Response

200

success
boolean
data
object

job_id for the KYC Summary Report