Update campaign definition
Correct a campaign's definition — send only the fields you are changing.
An omitted field keeps its value; an empty string, empty list or null clears it — except name, which a campaign always has, so clearing it is a 422. An unknown field name is rejected with 422 rather than silently ignored, so a typo can never look like a successful write. Returns the full definition as it now stands.
Re-aiming costs leads. Changing target_role, target_geography, target_company_size, positive_criteria or negative_criteria is a retarget, exactly as in the app: the leads this campaign has not contacted yet are dropped and Explee searches again against the new targeting. Editing the offer or the email briefs does not — it only changes what is written to the leads still to come. Emails already sent are never affected.
The rule for this endpoint: anything a person can edit on the campaign in the app, you can edit here — with the exceptions below, each of which exists because the app validates it in a second step this endpoint cannot reproduce.
Read-only here: instructions and followup_instructions (the copy briefs — the app moderates them right after saving and shows you the verdict; this endpoint has no preview to show, and an unmoderated brief only fails later, at send time), target_url and reply_instructions (their own two-step save), keywords (Explee derives it; read-only in the app too) and followups (a project-level setting shared by every campaign of the project: sending the current values back is accepted, different ones are a 422). Budget has PATCH /public/api/v1/autogtm/campaigns/{campaign_id}/budget, status has start / stop. You can still SET the briefs when you create a campaign — POST /public/api/v1/autogtm/campaigns/import takes instructions, followup_instructions and language.
Request
- Base URL: https://api.explee.com (the document declares no server; this is the origin it was published from)
- URL: https://api.explee.com/public/api/v1/autogtm/campaigns/{campaign_id}
- Auth: APIKeyHeader (a scheme the document does not define)
Path parameters
Request body
Response
Successful Response
Example response
{
"id": 17518,
"status": "outreach",
"language": "auto",
"schedule": {
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.