Skip to main content
Update Campaign

Headers

string
required
Bearer token for authentication (e.g., Bearer <your_token>).
string
Optional. Use this header only when the authenticated user belongs to multiple organizations. It identifies the organization to target for this action.

Path Parameters

string
required
The Campaign Id to update details for (e.g., camp_abc123).

Body Parameters

string
The name of the campaign.
string
A brief description of the campaign’s purpose.
string
The type of campaign (e.g., emi, edi, lead).
string
Start date in IST (UTC+05:30) using YYYY-MM-DD format.
string
Start time in IST (UTC+05:30) using HH:MM 24-hour format.
string
End date in IST (UTC+05:30) using YYYY-MM-DD format.
string
End time in IST (UTC+05:30) using HH:MM 24-hour format.
array
List of languages supported in this campaign.
string
Target region for the campaign.
array
Tags for categorization (e.g., ["priority", "revised"]).

Response

boolean
Indicates if the update was successful.
string
A confirmation message.
object
string
The error type or code (Error responses only).

Error Codes