Getafile

This page describes how to use the MeldAPI BYO Connector to fetch files from Getafile

You'll need a Getafile account and API key to do the setup below. Register now at https://getafile.io/auth/register

MeldAPI's BYO Connector can fetch data from any compatible REST API.

Once you've got your Getafile API key, create a new BYO connection in MeldAPI.

How to configure the Authentication

Once you've done the initial connector setup, you can start defining the schema. The resource endpoint to fetch all files for a domain: GET: https://getafile.io/api/v1/teams/:team_id/file/index/:domain_id

Where ":team_id" is the team the domain belongs to, and ":domain_id" is the domain the files are attached to in Getafile.

Check out the Getafile docs for more information about available endpoints: https://developers.getafile.io/

Once you've confirmed you can fetch the data (click "PREVIEW DATA") - a minimal setup would look like the below:

Example basic setup for fetching domain files from Getafile

You can access embedded values using the "." syntax. Array values can be accessed via the index position (0-based).

The "Image URL" field type is useful when syncing to image/file fields in Webflow / Airtable etc. We suggest using the Getafile domain URL for these purposes as seen in the above screenshot.

Inspecting the PREVIEW DATA response is the fastest way to find more fields to define in the schema.

Once you've finished defining the schema, click "UPDATE" at the bottom of the page and start using the connection in your Melds.

Please note: As with all BYO connectors, it's read-only and can only be used as a source connection.

Last updated