campayn.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.
Contacts
createContact
contacts.createContact
Create a new contact in a contact list.
Risk: write
phones full type
phones full type
sites full type
sites full type
custom_fields full type
custom_fields full type
deleteContact
contacts.deleteContact
Delete a contact by contact ID.
Risk: destructive · Irreversible
Output
getContact
contacts.getContact
Get full contact details by contact ID.
Risk: read
Output
phones full type
phones full type
sites full type
sites full type
custom_fields full type
custom_fields full type
getContacts
contacts.getContacts
List contacts for a contact list, with optional contact keyword filtering.
Risk: read
Output:
object[]
Output full type
Output full type
unsubscribeContact
contacts.unsubscribeContact
Unsubscribe contacts from a list by contact ID or by email address.
Risk: write
Output:
object
Output full type
Output full type
Lists
deleteList
lists.deleteList
Delete a contact list by list ID.
Risk: destructive · Irreversible
Output
getLists
lists.getLists
List all contact lists visible to the authenticated user.
Risk: read
object[]
Output full type
Output full type
updateList
lists.updateList
Update a contact list name or tags by list ID.
Risk: write
Output
Messages
getMessages
messages.getMessages
List messages visible to the authenticated user.
Risk: read
object[]
Output full type
Output full type
getMessageStatistics
messages.getMessageStatistics
Get message statistics for a specific message ID.
Risk: read
Output
Reports
getReports
reports.getReports
Get report calendar entries for sent and scheduled emails, optionally filtered by Unix timestamp range.
Risk: read
Output:
object[]
Output full type
Output full type
Signup
signup
signup.signup
Create a Campayn account via POST /signup on the site root (not /api/v1).
Risk: write
Output
Webforms
deleteWebform
webforms.deleteWebform
Delete a webform by list ID and webform ID.
Risk: destructive · Irreversible
Output
getWebform
webforms.getWebform
Get a webform by list ID and webform ID.
Risk: read
Output
getWebforms
webforms.getWebforms
List webforms for a contact list, with optional form type filter.
Risk: read
Output:
object[]
Output full type
Output full type