emailoctopus.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Automations
start
automations.start
Queue a contact into an automation
Risk: write
Output: empty object
Campaigns
get
campaigns.get
Get one campaign, including its subject and HTML content
Risk: read
Output
from full type
from full type
content full type
content full type
list
campaigns.list
List campaigns, one page at a time
Risk: read
Output
data full type
data full type
paging full type
paging full type
reportContacts
campaigns.reportContacts
List contacts for one campaign event, such as opened or bounced
Risk: read
Output
data full type
data full type
paging full type
paging full type
reportLinks
campaigns.reportLinks
Get click totals for each link in a campaign
Risk: read
Output
data full type
data full type
reportSummary
campaigns.reportSummary
Get sent, bounce, open, click, complaint and unsubscribe totals
Risk: read
Output
bounced full type
bounced full type
opened full type
opened full type
clicked full type
clicked full type
Contacts
batch
contacts.batch
Update many contacts on a list. Each entry is reported under success or errors
Risk: write
contacts full type
contacts full type
success full type
success full type
errors full type
errors full type
create
contacts.create
Add a contact to a list. Fails if that email is already on it
Risk: write
fields full type
fields full type
fields full type
fields full type
delete
contacts.delete
Permanently delete a contact from a list
Risk: destructive
Output: empty object
get
contacts.get
Get one contact on a list
Risk: read
Output
fields full type
fields full type
list
contacts.list
List contacts on a list, optionally filtered by status, tag or time, with cursor paging
Risk: read
Output
data full type
data full type
paging full type
paging full type
update
contacts.update
Update a contact by id
Risk: write
fields full type
fields full type
fields full type
fields full type
upsert
contacts.upsert
Create a contact or update the existing one with the same email address
Risk: write
fields full type
fields full type
fields full type
fields full type
Fields
create
fields.create
Add a custom field to a list
Risk: write
object
Input full type
Input full type
delete
fields.delete
Permanently delete a custom field from a list
Risk: destructive
Output: empty object
update
fields.update
Update a text, number or date field on a list
Risk: write
Output
Lists
create
lists.create
Create a list
Risk: write
Output
fields full type
fields full type
counts full type
counts full type
delete
lists.delete
Permanently delete a list and its contacts
Risk: destructive
Output: empty object
get
lists.get
Get one list, including its fields, tags and contact counts
Risk: read
Output
fields full type
fields full type
counts full type
counts full type
list
lists.list
List every list in the account, one page at a time
Risk: read
Output
data full type
data full type
paging full type
paging full type
update
lists.update
Rename a list
Risk: write
Output
fields full type
fields full type
counts full type
counts full type
Tags
create
tags.create
Create a tag on a list
Risk: write
Output
delete
tags.delete
Permanently delete a tag from a list
Risk: destructive
Output: empty object
list
tags.list
List the tags on a list
Risk: read
Output
data full type
data full type
paging full type
paging full type
update
tags.update
Rename a tag. The current name is the URL; the new name is the body
Risk: write
Output