Uploadcare

The Uploadcare modules allow you to watch and upload files in your Uploadcare account.

Getting Started with Uploadcare

Prerequisites

  • An Uploadcare account

In order to use Uploadcare with Make, it is necessary to have an Uploadcare account. If you do not have one, you can create an Uploadcare account at uploadcare.com/accounts/signup/?.

Note

The module dialog fields that are displayed in bold (in the Make scenario, not in this documentation article) are mandatory!

Connecting Uploadcare to Make

To connect your Uploadcare account to Make you need to obtain the API Key from your Uploadcare account and insert it in the Create a connection dialog in the Make module.

  1. Log in to your Uploadcare account.

  2. From the Dashboard, click any Project > API Keys > Add Secret Key.

    Note

    Each project will have a different Public Key and the Secret Key. Click the project with which you want to establish the connection.

    61f27d81619dc.gif
  3. Copy the Public Access Key and Secret Key to a safe place.

    61f27d846acc2.png
  4. Go to Make and open the Uploadcare module's Create a connection dialog.

    61f27d85a882b.gif
  5. In the Connection name field, enter a name for the connection.

  6. In the Public Key and Secret Key fields, enter the keys copied in step 3, and click Continue.

The connection has been established.

Files

Triggers when a new file is uploaded into your project.

Note

You do not have to add the webhooks in the Uploadcare as it is automatically done for you once you add and save an instant trigger module to your scenario.

Webhook Name

Enter a name for the webhook.

Connection

Establish a connection to your Uploadcare account.

Uploads a new file into your project.

Connection

Establish a connection to your Uploadcare account.

Uploadcare Store

Select the store to which you want to upload a file:

  • Files do not get stored after uploading

  • Files get stored after uploading

  • Auto

Filename

Enter the filename including the extension. For example, sample.png. You can upload any file of the format, .png, .gif, .jpeg, .jpg, .bmp, .pcx, .tiff, .tga, .webp, and .mpo

File Data

Enter or map the file data.

Other

Performs an arbitrary authorized API call.

Note

You can only retrieve the project files details whose public key and the secret key was used to establish the connection. To make an API call for a different project, create a connection using the specific project's public key and the secret key.

Connection

Establish a connection to your Uploadcare account.

URL

Enter a path relative to https://api.uploadcare.com/. For example: /files/

Note

For the list of available endpoints, refer to the Uploadcare API Documentation.

Method

Select the HTTP method you want to use:

GET

to retrieve information for an entry.

POST

to create a new entry.

PUT

to update/replace an existing entry.

PATCH

to make a partial entry update.

DELETE

to delete an entry.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

The following API call returns all the files from your Uploadcare account:

URL:

/files/

Method:

GET

61f27d87cd3fc.png

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

In our example, 4 files were returned:

61f27d8901068.png