---
title: "Uploading Patches Extract via API"
slug: "upload-patches-api"
updated: 2021-12-28T23:29:36Z
published: 2021-12-28T23:29:36Z
canonical: "success.panaya.com/upload-patches-api"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://success.panaya.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Uploading Patches Extract via API

You can use API to upload the Patches Extract file to Panaya.

**Note** API can be used for uploading the extract to the Panaya site. You will need to extract the Patch as described [here](/v1/docs/how-to-extract-upload-a-patch-for-analysis) before you can proceed with uploading the file.

**POST**

| **value** | **notes** |
| --- | --- |
| **URL** | **/api/projects/{projectId}/ptl/upload** Use the relevant Panaya URL - https://my.panaya.com https://emea.panaya.com |
| **Body Parameters** | **Token** Use Login API Token as described [here](/v1/docs/step-by-step-guide-to-panaya-apis) **extractionFile** The ZIP file extracted by the Panaya Patch Extractor as described [in this article](/v1/docs/how-to-extract-upload-your-custom-code-using-the-code-box) |
| **Request Type** | POST |
| **Return value** |
| code - 200 Json { message: "Extraction uploaded successfully", ticketId:"<ticket number>" }Mime type = application/json |
