Update Campaign
Changed onUpdate a specific campaign using its campaign ID. Supports changes to campaign attributes such as name, budget, status, associated list or custom feed, and campaign settings.
:::info Requires the campaigns:write OAuth2 scope. :::
Request
- Base URLhttps://api.leadfeeder.com
- URLhttps://api.leadfeeder.com/v1/campaigns/{id}
- Auth
- API key in header X-Api-Key
- or OAuth 2Authorization code: https://api.leadfeeder.com/v1/oauth/authorizeToken URL: https://api.leadfeeder.com/v1/oauth/token scopes: campaigns:write
Path parameters
The campaign ID.
Query parameters
The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
Request body
Example request
{
"data": {
"relationships": {
"campaign_settings": {
"id": "1234"
},
"list": {
"id": "company_42"
}
}
}
}Response
Success
Example response
{
"data": {
"attributes": {
"budget": 1000,
"budget_left": 1000,
"budget_type": "total",
"created_at": "2026-04-01T09:15:00Z",
"currency": "EUR",
"end_date": "2026-08-01T00:00:00Z",
"location_type": "global",
"name": "Q2 EMEA enterprise push",
"start_date": "2026-05-01T00:00:00Z",
"status": "draft",
"total_budget": 1000,
"updated_at": "2026-04-12T11:30:00Z"
},
"id": "1234",
"relationships": {
"campaign_locations": [
{
"id": "98765"
}
],
"campaign_settings": {
"id": "1234"
},
"campaign_summary": {
"id": "1234"
},
"created_by": {
"id": "12345"
},
"custom_feed": {
"id": "feed-100"
},
"list": {
"id": "company_42"
}
},
"type": "campaign"
},
"meta": {
"request_id": "cf054205-dd8c-4473-8689-07c30fe0789f"
}
}Changes
- breaking
removed the enum value
endedof the request property// - breaking
removed the enum value
scheduledof the request property// - breaking
removed the enum value
stoppedof the request property// - info
added the optional property
////////to the response with the status
- breaking
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info