CumulusDocs
Open Studio
On this page

Set your outbound call limit

Set the daily outbound call limit, or use null to remove it. Concurrent-run capacity is configured separately.

Operation ID: call_limits.update.

Request

PUT /api/v1/telephony/call-limit

  • TypeScript SDK: client.call_limits.update (path arguments use path).
  • MCP tool: sdk_client_call with operationId: "call_limits.update" (path arguments use input.path). Legacy alias: call_limits_update. Connect to your authenticated /mcp endpoint with an API key for the same environment.
  • Minimum API key role: admin.
  • Idempotency: No header required; the resource or revision identifies the change.

Read resource IDs from earlier responses and use a key for the same environment.

Request example

Read call_limits.get before changing the daily outbound ceiling. This sets the limit to 100; it does not provision carrier capacity or grant a member key permission to dial.

Set CUMULUS_BASE_URL to your workspace API URL and CUMULUS_API_KEY to a key for that environment. Example values are synthetic.

cURL

curl
curl --fail-with-body -sS -X PUT "${CUMULUS_BASE_URL%/}/api/v1/telephony/call-limit" \
  -H "Authorization: Bearer $CUMULUS_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "daily_outbound_limit": 100
}'

TypeScript

typescript
import { Cumulus } from "@cumulus/sdk";

const baseUrl = process.env.CUMULUS_BASE_URL;
const apiKey = process.env.CUMULUS_API_KEY;
if (!baseUrl || !apiKey) throw new Error("Set CUMULUS_BASE_URL and CUMULUS_API_KEY");
const client = new Cumulus({ baseUrl, apiKey });

const response = await client.call_limits.update({
  "body": {
    "daily_outbound_limit": 100
  }
});

Input schema

Path, query and header parameters

No path or query parameters.

JSON request body

FieldType or valuesRequiredDescription and limits
daily_outbound_limitinteger or nullRequiredAt least 1. At most 10000000.
Complete OpenAPI schema
OpenAPI JSON
{
  "parameters": [],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/CallLimitsUpdateRequest"
        }
      }
    }
  }
}

Responses

HTTP 200

Set or clear the tenant's daily outbound call limit (null: no limit)

application/json

FieldType or valuesRequiredDescription and limits
configuredbooleanRequired—
daily_outbound_limitinteger or nullRequiredAt least 1. At most 10000000.
outbound_last_24hintegerRequiredAt least 0. At most 9007199254740991.

Error responses

HTTPDescription
4XXTyped error (ApiError)
5XXTyped error (ApiError)

Errors use the shared error envelope. Inspect error.code, retryable, outcome and details before retrying.

Complete OpenAPI schema
OpenAPI JSON
{
  "200": {
    "description": "Set or clear the tenant's daily outbound call limit (null: no limit)",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/CallLimitsGetResponse200"
        }
      }
    }
  },
  "4XX": {
    "description": "Typed error (ApiError)",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ApiError"
        }
      }
    }
  },
  "5XX": {
    "description": "Typed error (ApiError)",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ApiError"
        }
      }
    }
  }
}

Referenced schemas

Expand the complete OpenAPI definitions for integrations that generate their own clients.

Complete OpenAPI schema
OpenAPI JSON
{
  "components": {
    "schemas": {
      "CallLimitsUpdateRequest": {
        "type": "object",
        "properties": {
          "daily_outbound_limit": {
            "nullable": true,
            "type": "integer",
            "minimum": 1,
            "maximum": 10000000
          }
        },
        "required": [
          "daily_outbound_limit"
        ],
        "additionalProperties": false
      },
      "CallLimitsGetResponse200": {
        "type": "object",
        "properties": {
          "configured": {
            "type": "boolean"
          },
          "daily_outbound_limit": {
            "nullable": true,
            "type": "integer",
            "minimum": 1,
            "maximum": 10000000
          },
          "outbound_last_24h": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "configured",
          "daily_outbound_limit",
          "outbound_last_24h"
        ],
        "additionalProperties": false
      },
      "ApiError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "unauthenticated",
                  "forbidden",
                  "not_found",
                  "conflict",
                  "invalid_request",
                  "idempotency_conflict",
                  "policy_denied",
                  "capability_unavailable",
                  "provider_unavailable",
                  "knowledge_unavailable",
                  "publication_invalid",
                  "run_not_active",
                  "rate_limited",
                  "outcome_unknown",
                  "internal"
                ]
              },
              "message": {
                "type": "string"
              },
              "retryable": {
                "type": "boolean"
              },
              "outcome": {
                "type": "string",
                "enum": [
                  "none",
                  "unknown"
                ]
              },
              "details": {
                "type": "object",
                "additionalProperties": {}
              }
            },
            "required": [
              "code",
              "message",
              "retryable",
              "outcome"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "error"
        ],
        "additionalProperties": false
      }
    }
  }
}

Errors and recovery

See API error handling and Troubleshooting.

Content version a355d0f5Customer SDKMarkdown source
Set your outbound call limit · Cumulus developer docs