Add or remove a tag on a mailbox
curl --request POST \
--url https://api.salessequencer.com/api/v1/mailboxes/{mailbox_id}/tags \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"tag": "<string>"
}
'import requests
url = "https://api.salessequencer.com/api/v1/mailboxes/{mailbox_id}/tags"
payload = { "tag": "<string>" }
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({tag: '<string>'})
};
fetch('https://api.salessequencer.com/api/v1/mailboxes/{mailbox_id}/tags', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Mailboxes
Add or remove a tag on a mailbox
Adds or removes one tag. Tags are cleaned (quotes and backslashes dropped, max 40 chars, max 20 tags per mailbox). An empty tag after cleaning does nothing.
Minimum role: edit (x-min-role). Destructive: false (x-destructive).
POST
/
mailboxes
/
{mailbox_id}
/
tags
Add or remove a tag on a mailbox
curl --request POST \
--url https://api.salessequencer.com/api/v1/mailboxes/{mailbox_id}/tags \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"tag": "<string>"
}
'import requests
url = "https://api.salessequencer.com/api/v1/mailboxes/{mailbox_id}/tags"
payload = { "tag": "<string>" }
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({tag: '<string>'})
};
fetch('https://api.salessequencer.com/api/v1/mailboxes/{mailbox_id}/tags', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));