Spaces Object Storage API Reference
Validated on 19 Jun 2018 • Last edited on 23 Mar 2026
Spaces Object Storage is an S3-compatible service for storing and serving large amounts of data. The built-in Spaces CDN minimizes page load times, improves performance, and reduces bandwidth and infrastructure costs.
The Spaces Object Storage API endpoints are organized into the following groups:
- CDN Endpoints (6 endpoints): Content hosted in DigitalOcean’s object storage solution, Spaces, can optionally be served by our globally distributed Content Delivery Network (CDN). By sending requests to
/v2/cdn/endpoints, you can list, create, or delete CDN Endpoints as well as purge cached content. To use a custom subdomain to access the CDN Endpoint, provide the ID of a DigitalOcean managed TLS certificate and the fully qualified domain name for the custom subdomain. - Spaces Keys (6 endpoints): Spaces keys authenticate requests to DigitalOcean Spaces Buckets. You can create, list, update, or delete Spaces keys by sending requests to to the
/v2/spaces/keysendpoint.