Skip to main content
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
Input Output

list

campaigns.list List campaigns whose start time falls in a window, up to 10,000 a page Risk: read
Input Output

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
Input Output

exclude

contacts.exclude Remove a contact from lists without marking them unsubscribed, so they can be re-added later Risk: write
Input Output

export

contacts.export Request an asynchronous export of the contact data, delivered to a notify URL Risk: write
Input Output

get

contacts.get Read one contact’s address status, lists and custom fields by email Risk: read
Input Output

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
Input Output

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
Input Output

unsubscribe

contacts.unsubscribe Unsubscribe a contact from lists, which only the contact can reverse through an activation link Risk: write
Input Output

Fields

create

fields.create Create a custom contact field Risk: write
Input Output

delete

fields.delete Delete a custom contact field by id Risk: destructive
Input Output

list

fields.list List the custom contact fields with their types Risk: read
Input: empty object Output

Lists

create

lists.create Create a contact list, which models a topic rather than a single send; the title must be unique Risk: write
Input Output

delete

lists.delete Delete a contact list by id Risk: destructive
Input Output

list

lists.list List the contact lists in the account, with their ids and titles Risk: read
Input: empty object Output

Messages

createEmail

messages.createEmail Create a campaign email without sending it, for campaigns.create to send Risk: write
Input Output

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
Input Output

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
Input Output

Tags

list

tags.list List the contact tags with their ids Risk: read
Input: empty object Output