Update campaign
curl --request PUT \
--url https://app.nudgen.net/api/v1/campaigns/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://app.nudgen.net/api/v1/campaigns/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.nudgen.net/api/v1/campaigns/{id}"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}API reference
Update campaign
PUT
/
api
/
v1
/
campaigns
/
{id}
Update campaign
curl --request PUT \
--url https://app.nudgen.net/api/v1/campaigns/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://app.nudgen.net/api/v1/campaigns/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.nudgen.net/api/v1/campaigns/{id}"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Personal Access Token created from Settings -> API Keys.
Path Parameters
Body
application/json
Available options:
all, tags, manual, trigger Available options:
one-time, drip, lifetime Lifetime campaigns only. Declares data.* template variables.
Show child attributes
Show child attributes
Lifetime campaigns only. Manifest associated with generated content.
Show child attributes
Show child attributes
Available options:
off, lead_description_intro Response
Campaign updated
Was this page helpful?