---
title: "How to upload your Patches Extract File using API?"
slug: "how-to-upload-your-patches-extract-file-using-api-1"
updated: 2021-12-28T11:47:25Z
published: 2021-12-28T11:47:25Z
canonical: "success.panaya.com/how-to-upload-your-patches-extract-file-using-api-1"
---

> ## 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.

# How to upload your Patches Extract File using API?

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

NoteAPI 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 |
