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
Broadcasts
getBroadcastById
broadcasts.getBroadcastById
Fetch a single broadcast by ID
Risk: read
Output
stats full type
stats full type
getBroadcasts
broadcasts.getBroadcasts
List broadcasts with status and date filters
Risk: read
Output:
object
Output full type
Output full type
Contacts
addContact
contacts.addContact
Create a new contact
Risk: write
location full type
location full type
customFields full type
customFields full type
location full type
location full type
customFields full type
customFields full type
getContacts
contacts.getContacts
List contacts with pagination and filters
Risk: read
Output:
object
Output full type
Output full type
getMessagesOfContact
contacts.getMessagesOfContact
Get chat messages for a contact with pagination and date filters
Risk: read
Output:
object
Output full type
Output full type
Segments
deleteSegment
segments.deleteSegment
Delete a segment by ID
Risk: destructive
Output
getSegments
segments.getSegments
List segments with name filter and pagination
Risk: read
Output:
object
Output full type
Output full type
Service Categories
deleteServiceCategory
serviceCategories.deleteServiceCategory
Delete a service category by ID
Risk: destructive
Output
getServiceCategories
serviceCategories.getServiceCategories
List service categories with pagination
Risk: read
Output:
object
Output full type
Output full type
Services
getServiceById
services.getServiceById
Fetch a single service by ID
Risk: read
Output
getServices
services.getServices
List services with filters
Risk: read
Output:
object
Output full type
Output full type
updateService
services.updateService
Update service name, pricing, duration, and active status
Risk: write
Output
Staff
getStaffAvailabilityBlocks
staff.getStaffAvailabilityBlocks
Get staff availability blocks by date range
Risk: read
Output:
object[]
Output full type
Output full type
getStaffById
staff.getStaffById
Fetch a single staff member by ID
Risk: read
Output
getStaffs
staff.getStaffs
List staff members with pagination and search
Risk: read
Output:
object
Output full type
Output full type
Webhooks
getAllWebhooks
webhooks.getAllWebhooks
Retrieve registered webhooks
Risk: read
object[]
Output full type
Output full type