---
title: ConvertAPI
slug: convertapi
image: https://make-cxp-documentation.ams3.digitaloceanspaces.com/apps-center-icons/PREVIEW_convertapi.png
docTags: 
createdAt: 2025-02-03T13:28:47.489Z
---

The ConvertAPI modules allow you to upload and convert the files in your ConvertAPI account.

## Getting Started With ConvertAPI

Prerequisites

- A ConvertAPI account – create an account at [convertapi.com](https://www.convertapi.com/)

## Connecting ConvertAPI to Make

To connect your ConvertAPI account to Make, you'll need to obtain the secret value from your ConvertAPI account, and insert it into the *Create a connection* dialog in the Make module.

1. Log in to your ConvertAPI account, and copy the secret value to your clipboard.
   ![](https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/qpWgoJ4pK052Hd1KtRQeA_uuid-504fcdf0-9952-a9bd-7bdd-4e398b40f319.png)
2. Go to Make, and open the ConvertAPI module's *Create a connection* dialog.
3. In the *Connection name* field, enter a name for the connection.
4. In the *Secret* field, enter the secret valued copied in step 1, and click *Continue*.

The connection has been established.

## Files

### Upload a File

Uploads a file and returns a File ID to be used for conversions.

| **File Adding Method** | Select the option to upload the file:<br />* *Upload as a file*
* *Upload from Remote Server* |
| ---------------------- | --------------------------------------------------------------------------------------------- |
| **File**               | Enter (map) the file data.                                                                    |
| **File Name**          | Enter (map) the file name with extension. For example, `image.jpg`.                           |
| **File URL**           | Enter (map) the URL address of the file.                                                      |

### Convert a File

Converts a file from one format to another.

| **Connection**             | [Establish a connection to your ConvertAPI account](docId\:B0HOj1QcwOpIQNs_yssEG).                                                           |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| **Fill in Parameters**     | Select the option to fill in the details of the file you want to convert.                                                                    |
| **From Format**            | Select or map the format of the file you want to convert.                                                                                    |
| **To Format**              | Select or map the format to which you want to convert the file. Based on the format selected, fill in the dynamic fields that auto-populate. |
| **File Adding** **Method** | Select the option to upload the file:<br />* *Upload as a file*
* *Upload from Remote Server*                                                |
| **File ID**                | Enter (map) the File ID you want to convert.                                                                                                 |
| **File**                   | Enter (map) the file data.                                                                                                                   |
| **File Name**              | Enter (map) the file name with extension. For example, `image.jpg`.                                                                          |
| **File URL**               | Enter (map) the URL address of the file.                                                                                                     |
| **Document Password**      | Enter (map) the password for the document.                                                                                                   |
| **Store File**             | Select whether you want to store the file.                                                                                                   |
| **Timeout**                | Enter (map) the seconds used when storing the files on the ConvertAPI server. Enter a value between 10 and 1200.                             |

## Other

### Make an API Call

Performs an arbitrary authorized API call.

| **Connection**   | [Establish a connection to your ConvertAPI account](docId\:B0HOj1QcwOpIQNs_yssEG).                                                                                                                                                                                                            |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **URL**          | Enter a path relative to `https://v2.convertapi.com` For example: `/upload`<br />Note: For the list of available endpoints, please refer to the [ConvertAPI API Documentation](https://www.convertapi.com/doc/upload).                                                                        |
| **Method**       | Select the HTTP method you want to use:<br />**GET**<br />to retrieve information for an entry.<br />**POST**<br />to create a new entry.<br />**PUT**<br />to update/replace an existing entry.<br />**PATCH**<br />to make a partial entry update.<br />**DELETE**<br />to delete an entry. |
| **Headers**      | Enter the desired request headers. You don't have to add authorization headers; we've already done that for you.                                                                                                                                                                              |
| **Query String** | Enter the request query string.                                                                                                                                                                                                                                                               |
| **Body**         | Enter the body content for your API call.                                                                                                                                                                                                                                                     |

### Example of Use - Download a File

The following API call returns all the specified file details from your ConvertAPI account:

**URL**:

`/d/1b5453380bb3e0ef5430af809fd4a1da`

**Method**:

`GET`

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/ufKpiy3tub92FVPGbCR5m_uuid-a4d9ac28-cfac-fdb5-d2bb-636b01e28365.png" size="50" width="498" height="1049" position="center" showCaption="false"}

Matches of the search can be found in the module's **Output** under *Bundle* >*Body.*

In our example, the specified file details were returned:

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/9Wm1rbN2oSTD1ewzyszUE_uuid-584f46db-cdec-91ee-d51b-11dcf6cc6060.png" size="50" width="494" height="549" position="center" showCaption="false"}

