DigitalOcean Spaces

Highly scalable and affordable object storage.

Go to site
Explore
/
Apps
/
DigitalOcean Spaces

DigitalOcean Spaces API Integrations

Build and run workflows using the DigitalOcean Spaces API. Use 1000s of source-available triggers and actions across 2,000+ apps. Or write custom code to integrate any app or API in seconds.

Overview

DigitalOcean Spaces API permits you to manage object storage, allowing for the storage and serving of massive amounts of data. This API is great for backing up, archiving, and providing public access to data or assets. On Pipedream, you can use this API to automate file operations like uploads, downloads, and deletions, as well as manage permissions and metadata. You can integrate it with other services for end-to-end workflow automation.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { S3 } from "@aws-sdk/client-s3";
import { ListBucketsCommand  } from "@aws-sdk/client-s3";

export default defineComponent({
  props: {
    digitalocean_spaces: {
      type: "app",
      app: "digitalocean_spaces"
    }
  },
  async run({ steps, $ }) {
    console.log(this.digitalocean_spaces.$auth)
    const s3Client = new S3({
        forcePathStyle: false, // Configures to use subdomain/virtual calling format.
        endpoint: `https://${this.digitalocean_spaces.$auth.region}.digitaloceanspaces.com`,
        region: "us-east-1",
        credentials: {
          accessKeyId: this.digitalocean_spaces.$auth.key,
          secretAccessKey: this.digitalocean_spaces.$auth.secret
        }
    });

    const data = await s3Client.send(new ListBucketsCommand({}));
    return data.Buckets;
  },
})

Choose an API to Connect with DigitalOcean Spaces API

1
-
24
of
2,000+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Salesforce (REST API)
Salesforce (REST API)
Web services API for interacting with Salesforce
HubSpot
HubSpot
HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.
Zoho CRM
Zoho CRM
Zoho CRM is an online Sales CRM software that manages your sales, marketing, and support in one CRM platform.
Stripe
Stripe
Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.
Shopify Developer App
Shopify Developer App
Shopify is a user-friendly e-commerce platform that helps small businesses build an online store and sell online through one streamlined dashboard.
WooCommerce
WooCommerce
WooCommerce is the open-source ecommerce platform for WordPress.
Snowflake
Snowflake
A data warehouse built for the cloud
MongoDB
MongoDB
MongoDB is an open source NoSQL database management program.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
ServiceNow
ServiceNow
The smarter way to workflow
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.

Example Use Cases

  • Automated Backup to DigitalOcean Spaces: Trigger a workflow on a schedule to back up important files from your server to a Space, ensuring data is always safe and versioned.

  • Media File Processing and Storage: When a new image or video is uploaded to a Space, trigger a workflow that utilizes a service like AWS Lambda to process the media then update the metadata in the Space.

  • Static Website Content Deployment: Upon pushing new content to a GitHub repository, automatically deploy the changes to your DigitalOcean Space where your static site content is hosted for seamless updates.

List Files with DigitalOcean Spaces API on Task Created from KanbanFlow API
KanbanFlow + DigitalOcean Spaces
 
Try it
Upload File URL with DigitalOcean Spaces API on New Requests from HTTP / Webhook API
HTTP / Webhook + DigitalOcean Spaces
 
Try it
Add Single Row with Google Sheets API on New File Uploaded from DigitalOcean Spaces API
DigitalOcean Spaces + Google Sheets
 
Try it
Upload File URL with DigitalOcean Spaces API on New Item in Feed from RSS API
RSS + DigitalOcean Spaces
 
Try it
Upload File URL with DigitalOcean Spaces API on New Message (Instant) from Discord API
Discord + DigitalOcean Spaces
 
Try it
File Deleted from the DigitalOcean Spaces API

Emit new event when a file is deleted from a DigitalOcean Spaces bucket

 
Try it
New File Uploaded from the DigitalOcean Spaces API

Emit new event when a file is uploaded to a DigitalOcean Spaces bucket

 
Try it
Delete Files with the DigitalOcean Spaces API

Delete files in a bucket. See the docs.

 
Try it
List Files with the DigitalOcean Spaces API

List files in a bucket. See the docs.

 
Try it
Upload File /tmp with the DigitalOcean Spaces API

Accepts a file path starting from /tmp, then uploads as a file to DigitalOcean Spaces. See the docs.

 
Try it
Upload File Base64 with the DigitalOcean Spaces API

Accepts a base64-encoded string and a filename, then uploads as a file to DigitalOcean Spaces. See the docs.

 
Try it
Upload File URL with the DigitalOcean Spaces API

Accepts a download link and a filename, downloads it, then uploads to DigitalOcean Spaces. See the docs.

 
Try it

Authentication

DigitalOcean Spaces uses API keys for authentication. When you connect your DigitalOcean Spaces account, Pipedream securely stores the keys so you can easily authenticate to DigitalOcean Spaces APIs in both code and no-code steps.

To retrieve your Access Keys,

  • Navigate to your DigitalOcean Spaces account and sign in
  • Go to “API”
  • Scroll down to “Spaces access keys”

To see available regions for Spaces, go to Other product availability table within the Digital Ocean's Regional Availability Matrix.