Apply one action to many mailboxes
curl --request POST \
--url https://api.salessequencer.com/api/v1/mailboxes/bulk \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"action": "<string>",
"ids": [
123
]
}
'import requests
url = "https://api.salessequencer.com/api/v1/mailboxes/bulk"
payload = {
"action": "<string>",
"ids": [123]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({action: '<string>', ids: [123]})
};
fetch('https://api.salessequencer.com/api/v1/mailboxes/bulk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Mailboxes
Apply one action to many mailboxes
Applies action to the listed mailbox ids (ids outside the workspace are silently ignored). Actions: enable_sending, disable_sending, add_tag (needs tag), remove_tag (needs tag), set_name (needs first_name and/or last_name), remove (DELETES the mailboxes), enable_warmup, disable_warmup, warmup_links_on, warmup_links_off, set_warmup_target (needs value, min 1), set_daily_limit (needs value, min 0). No ids or an unknown action flashes a hint and changes nothing.
Minimum role: edit (x-min-role). Destructive: true (x-destructive).
POST
/
mailboxes
/
bulk
Apply one action to many mailboxes
curl --request POST \
--url https://api.salessequencer.com/api/v1/mailboxes/bulk \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"action": "<string>",
"ids": [
123
]
}
'import requests
url = "https://api.salessequencer.com/api/v1/mailboxes/bulk"
payload = {
"action": "<string>",
"ids": [123]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({action: '<string>', ids: [123]})
};
fetch('https://api.salessequencer.com/api/v1/mailboxes/bulk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Body
application/json
Response
200
Redirect back; flash like 'Turned sending on for N mailboxes.'