Skip to main content
PUT
/
email-campaigns
/
{id}
Update Campaign
curl --request PUT \
  --url https://api.example.com/email-campaigns/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspace_id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "is_active": true,
  "send_priority": 123,
  "schedule_cron": "<string>",
  "recipient_source": "<string>",
  "mssql_query": "<string>",
  "csv_account_ids": [
    "<string>"
  ],
  "campaigner_category_id": "<string>",
  "from_email": "<string>",
  "from_name": "<string>",
  "reply_to": "<string>",
  "delivery_mode": "<string>",
  "template_id": "<string>",
  "variants": [
    {
      "template_id": "<string>",
      "weight": 123,
      "label": "<string>",
      "is_active": true,
      "id": "<string>"
    }
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.montereyfinancial.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
workspace_id
string | null
name
string | null
description
string | null
is_active
boolean | null
send_priority
integer | null
schedule_cron
string | null
recipient_source
string | null
mssql_query
string | null
csv_account_ids
string[] | null
campaigner_category_id
string | null
from_email
string | null
from_name
string | null
reply_to
string | null
delivery_mode
string | null
template_id
string | null
variants
CampaignVariantUpdate · object[] | null

Response

Successful Response