Cloudinary logo

REST API integration

Cloudinary REST API integration for Draftbit

Upload media with unsigned Cloudinary presets

What is Cloudinary?

Cloudinary supports unsigned upload presets for browser and mobile clients. Add your cloud name and upload preset to upload images, video, or raw files without exposing API secrets.

Use Cloudinary with Draftbit

  • Built-in endpoints: Upload image by URL, Upload video by URL, Upload raw file by URL.
  • Bind any Cloudinary endpoint to a screen, list, form, or AI agent action.
  • Authentication is configured once per app — secrets stay on the server.
  • Add custom request and response transforms without forking Cloudinary's client library.

Example

cloudinary-example.ts
// Example: fetch from Cloudinary
// Cloudinary doesn't require an auth header for this endpoint —
// some providers authenticate via a query param or app-level token.
// Check Cloudinary's docs for auth requirements on protected endpoints.
const response = await fetch("https://api.cloudinary.com/v1_1/{cloud_name}/image/upload");
const data = await response.json();

Use cases

  • Search and embed stock photography in app content
  • Generate optimized image variants for each device
  • Lazy-load high-resolution media without slowing the UI

Authentication

Add any required auth headers when you connect Cloudinary in Draftbit. Secrets stay on the server side.

Use Cloudinary in a Draftbit app today

Start free, connect Cloudinary in minutes, and ship with AI agents that know how to use it.

Start building free

Frequently asked questions

What is the Cloudinary REST integration?

Cloudinary supports unsigned upload presets for browser and mobile clients. Add your cloud name and upload preset to upload images, video, or raw files without exposing API secrets.

How do I connect Cloudinary to a Draftbit app?

Go to Integrations and then REST APIs in your Draftbit app and pick Cloudinary from the catalog. Fill in any base URL variables, such as a project ID or host, and the endpoints are available across your screens and to the AI agents while you build. The preconfigured calls need no auth header.

Does Cloudinary require authentication?

The preconfigured Cloudinary endpoints do not need an auth header. Some providers authenticate with a query parameter or an app-level token, and others are public read-only APIs, so check the Cloudinary docs before you call a protected endpoint. The preconfigured endpoints include Upload image by URL, Upload video by URL, Upload raw file by URL.

What can I build with Cloudinary and Draftbit?

Most teams use Cloudinary as a media platform for a mobile or web app. You might use Cloudinary to search and embed stock photography in app content, or to generate optimized image variants for each device.

Related Integrations

Get started free Browse all Integrations