Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Dumpster Controls Sizes API
version: 1.0.0
description: 'Public REST API for Dumpster Controls. Read your company''s own data and push in leads, always scoped to your company. Access is approval-gated: request a key in Settings, API. Free plan includes 10 minutes of API time per day; paid plans are unlimited. Money is in US dollars. This spec is versioned at /v1 and additive; breaking changes ship under a new version.'
contact:
name: Dumpster Controls
url: https://dumpstercontrols.io/developers
servers:
- url: https://gcwyoiihrupbfqqlcurh.supabase.co/functions/v1/api-v1/v1
description: Production
security:
- bearerAuth: []
tags:
- name: Sizes
paths:
/sizes:
get:
summary: List dumpster sizes
operationId: listSizes
responses:
'200':
description: Sizes.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Size'
'401':
$ref: '#/components/responses/Unauthorized'
tags:
- Sizes
components:
schemas:
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
upgrade_url:
type:
- string
- 'null'
Size:
type: object
properties:
label:
type: string
yards:
type: number
base_price:
type: number
max_weight_tons:
type:
- number
- 'null'
overage_price_per_ton:
type:
- number
- 'null'
is_active:
type: boolean
prices:
type: object
description: Flat rates by rental length. Each d<N> key (d3, d5, d7, d10, d14, d30) is the price for rentals of up to N days; null means the company does not offer that tier. extra_day is the per-day charge beyond the longest tier.
properties:
d3:
type:
- number
- 'null'
d5:
type:
- number
- 'null'
d7:
type:
- number
- 'null'
d10:
type:
- number
- 'null'
d14:
type:
- number
- 'null'
d30:
type:
- number
- 'null'
extra_day:
type: number
additionalProperties:
type:
- number
- 'null'
responses:
Unauthorized:
description: Missing, invalid or revoked API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Send your API key as a Bearer token: Authorization: Bearer dc_live_... Keys are approved in Settings, API and must be kept secret (server-side only).'
x-webhooks:
description: 'Configure signed webhooks in Settings, API. We POST events to your URL with header X-DC-Signature: t=<unix>,v1=<hex>, where v1 is HMAC-SHA256 of ''<t>.<raw body>'' using your endpoint secret. Verify it with a 5-minute timestamp tolerance. Events: order.created, order.status_changed, payment.received, lead.created, junk_job.created, junk_job.status_changed. Delivery retries with backoff up to 5 attempts.'