Skip to main content

Endpoint

PATCH https://api.graine.ai/api/v1/campaigns/{campaign_id} This is a partial update — only the fields you provide are changed. All Campaign fields are patchable.

Path Parameters

Headers

Request Body

Send only the fields you want to change. Any subset of Campaign fields is accepted.

Common update patterns

Rename a campaign
Tighten the retry policy
Switch phone number strategy
Add a phone number
Updating working_hours or timezone on a running campaign takes effect immediately — in-flight calls are not affected but newly dispatched contacts will use the new schedule.

Example Request

Response

200 OK

Returns the updated campaign object.

404 Not Found