cURL
Campaigns
Update Campaign
Actualización parcial de una Campaña. Los campos inmutables (agent_id, integration_id, integration_type, cycles.enabled, cycles.mode) no se pueden modificar y devuelven IMMUTABLE_FIELD. Las campañas finalizadas son de solo lectura.
PATCH
cURL
Rate Limit: 12 requests per second
Immutable Fields
The following fields cannot be modified after creation. Including them in a PATCH returns400 IMMUTABLE_FIELD and identifies the offending field in the response field key:
agent_idintegration_idintegration_typecycles.enabledcycles.mode
409 CAMPAIGN_FINISHED on any PATCH.
Cycle Updates
Cycle fields can only be updated on campaigns that have cycles enabled (400 CYCLES_NOT_ENABLED otherwise). schedule, schedule_start_date, and schedule_end_date are only valid when cycles.mode is scheduled (400 SCHEDULED_MODE_ONLY otherwise).
Examples
Rename a campaign and tighten retries
Update cycle cooldown
Authorizations
Add api-key YOUR_API_SECRET_KEY as the value of the Authorization header.
Path Parameters
The identifier of the Campaign
Body
application/json
Partial Campaign update
Partial update. Any field may be omitted. Immutable fields (agent_id, integration_id, integration_type, cycles.enabled, cycles.mode) cannot be included.
Maximum string length:
255Required range:
0 <= x <= 5Required range:
1 <= x <= 10000Cycles configuration block. Phone-call campaigns only.