---
title: "Uploads a compliance artifact for the target company."
method: POST
path: "/api/v2/companies/{id}/compliance/upload"
tags: ["Compliance"]
---

# Uploads a compliance artifact for the target company.

`POST /api/v2/companies/{id}/compliance/upload`

A compliance file can come in many different forms, but it’s a specific document including records, observations, and verbal responses that are required to verify compliance with a standard. Black Kite gives its users a head start with identifying their vendor’s adherence to 14 cybersecurity standards. <br/> This endpoint uploads a compliance related document. We support XLSX, XLS, CSV, XLSM, PDF, DOCX, DOC, TXT formats. <br/> Minimum file size is 50 bytes and maximum is 25MBs. Beware that when the uploaded file exceeds the maximum allowed size, then the error response will not be immediate but result in considerably long waits.

## Path parameters

- `id` integer, required

## Response `200`

Success

- object
  - `Token` string — The process is async, so, the response will contain this token, which you can use to check the status of the analysis through /companies/{id}/compliance/upload GET endpoint.

## Other responses

- `400` — BadRequest
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `413` — Request Entity Too Large
- `default` — Failure

---

[API](https://skmtc.net/blackkitetech/apis/black-kite-api.md) · [All operations](https://skmtc.net/blackkitetech/apis/black-kite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blackkitetech/black-kite-api/revisions/7dadaba760fb/schema)
