Skip to main content
Every whautomate.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.

Account

getAccountInfo

account.getAccountInfo Fetch account name and owner email Risk: read
Input: empty object Output

Broadcasts

getBroadcastById

broadcasts.getBroadcastById Fetch a single broadcast by ID Risk: read
Input Output

getBroadcasts

broadcasts.getBroadcasts List broadcasts with status and date filters Risk: read
Input Output: object

Contacts

addContact

contacts.addContact Create a new contact Risk: write
Input
Output

getContacts

contacts.getContacts List contacts with pagination and filters Risk: read
Input Output: object

getMessagesOfContact

contacts.getMessagesOfContact Get chat messages for a contact with pagination and date filters Risk: read
Input Output: object

Segments

deleteSegment

segments.deleteSegment Delete a segment by ID Risk: destructive
Input Output

getSegments

segments.getSegments List segments with name filter and pagination Risk: read
Input Output: object

Service Categories

deleteServiceCategory

serviceCategories.deleteServiceCategory Delete a service category by ID Risk: destructive
Input Output

getServiceCategories

serviceCategories.getServiceCategories List service categories with pagination Risk: read
Input Output: object

Services

getServiceById

services.getServiceById Fetch a single service by ID Risk: read
Input Output

getServices

services.getServices List services with filters Risk: read
Input Output: object

updateService

services.updateService Update service name, pricing, duration, and active status Risk: write
Input Output

Staff

getStaffAvailabilityBlocks

staff.getStaffAvailabilityBlocks Get staff availability blocks by date range Risk: read
Input Output: object[]

getStaffById

staff.getStaffById Fetch a single staff member by ID Risk: read
Input Output

getStaffs

staff.getStaffs List staff members with pagination and search Risk: read
Input Output: object

Webhooks

getAllWebhooks

webhooks.getAllWebhooks Retrieve registered webhooks Risk: read
Input: empty object Output: object[]