New to Corsair? See API access, authentication, and error handling.
Campaigns
create
campaigns.create
Start or schedule a campaign from a message; omitting start_time sends it immediately
Risk: write
Output
result full type
result full type
list
campaigns.list
List campaigns whose start time falls in a window, up to 10,000 a page
Risk: read
Output
result full type
result full type
Contacts
count
contacts.count
Count the contacts in a list by kind (type address for email contacts, phone for SMS) or by tag; Unisender needs at least one of the two
Risk: read
Output
result full type
result full type
exclude
contacts.exclude
Remove a contact from lists without marking them unsubscribed, so they can be re-added later
Risk: write
Output
export
contacts.export
Request an asynchronous export of the contact data, delivered to a notify URL
Risk: write
Output
result full type
result full type
get
contacts.get
Read one contact’s address status, lists and custom fields by email
Risk: read
Output
result full type
result full type
import
contacts.import
Import up to 500 contacts from columnar data, with list membership in an email_list_ids column; role addresses such as sales@ are skipped on purpose, and a delete column removes contacts
Risk: destructive · Irreversible
Output
result full type
result full type
subscribe
contacts.subscribe
Add or update a contact in one or more lists. By default (double_optin 0) Unisender emails the contact a confirmation request; pass double_optin 3 to add them with no email. Returns only person_id; read the confirmation status with contacts.get
Risk: write
Output
result full type
result full type
unsubscribe
contacts.unsubscribe
Unsubscribe a contact from lists, which only the contact can reverse through an activation link
Risk: write
Output
Fields
create
fields.create
Create a custom contact field
Risk: write
Output
result full type
result full type
delete
fields.delete
Delete a custom contact field by id
Risk: destructive
Output
result full type
result full type
list
fields.list
List the custom contact fields with their types
Risk: read
result full type
result full type
Lists
create
lists.create
Create a contact list, which models a topic rather than a single send; the title must be unique
Risk: write
Output
result full type
result full type
delete
lists.delete
Delete a contact list by id
Risk: destructive
Output
result full type
result full type
list
lists.list
List the contact lists in the account, with their ids and titles
Risk: read
result full type
result full type
Messages
createEmail
messages.createEmail
Create a campaign email without sending it, for campaigns.create to send
Risk: write
Output
result full type
result full type
sendEmail
messages.sendEmail
Send one transactional email to a single recipient, who is added to list_id if not already in it; capped at 60 calls a minute and with no field substitution beyond the unsubscribe URL
Risk: write
Output
result full type
result full type
status
messages.status
Read delivery status for up to 500 sent emails; err_ is a failure and ok_ a success or still in progress
Risk: read
Output
result full type
result full type
Tags
list
tags.list
List the contact tags with their ids
Risk: read
result full type
result full type