Skip to main content
DigitalOcean logo

Overview

Add DigitalOcean to any ModuleX agent or workflow. Cloud infrastructure management via the DigitalOcean REST API (api.digitalocean.com/v2). Create and manage Droplets, domains, SSH keys, and snapshots.
Categories: Developer Tools & Infrastructure · Cloud Infrastructure · Devops · Auth: OAuth2 · Actions: 6

Authentication

OAuth2 Authentication

Connect using DigitalOcean OAuth (recommended)

Required Credentials

OAuth Configuration

  • Authorization URL: https://cloud.digitalocean.com/v1/oauth/authorize
  • Token URL: https://cloud.digitalocean.com/v1/oauth/token
  • Scopes: read, write

Available Actions

Parameters

string
required
A human-readable display name for this key, used to easily identify the SSH keys when they are displayed
string
required
The entire public key string that will be embedded into the root user’s authorized_keys file

Response

Parameters

string
required
The domain name in standard domain.TLD format (e.g. example.com)
string
required
An IP address to automatically create an A record pointing to the apex domain

Response

Parameters

string
required
Human-readable string used as the Droplet display name
string
required
Region slug where the Droplet will be deployed (e.g. nyc1, sfo1, ams3)
string
required
Image ID or slug for the base image (e.g. ubuntu-22-04-x64)
string
required
Size slug for the Droplet (e.g. s-1vcpu-1gb)
array
List of Block Storage volume IDs to attach to the Droplet
array
List of SSH key IDs or fingerprints to embed in the Droplet’s root account
boolean
Whether automated backups should be enabled
boolean
Whether IPv6 is enabled on the Droplet
string
Cloud-init user data or Bash script for first-boot configuration (max 64 KiB)
boolean
Whether private networking is enabled for the Droplet
boolean
Whether to install the DigitalOcean monitoring agent
array
List of tag names to apply to the Droplet after creation

Response

Parameters

string
required
The unique identifier of the Droplet to snapshot
string
The name to give the new snapshot

Response

Parameters

string
Filter Droplets by a specific tag name
integer
Which page of paginated results to return (Default: 1)
integer
Number of items returned per page (Default: 50)

Response

Parameters

string
required
Power action to perform: power_on or power_off
string
required
The unique identifier of the Droplet to power on/off

Response

Limits & Quotas

  • Rate limit: 5,000 requests per hour per OAuth token (returns HTTP 429 when exceeded).
  • Droplet creation: subject to account-level Droplet limits (default 25; request increase via support).
  • Error model: non-2xx responses and timeouts are caught and returned as success=False + error rather than raising.

Heroku

Algolia

Amazon Web Services