Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add Contact Operator
SPOKI_ADD_CONTACT_OPERATORTool to assign an operator to a contact's chat. Use this when you need to assign a team member to handle a specific contact's conversation. The operator must have been invited to the account first. Rate limited to 5 requests per minute.
Create Account Onboarding Link
SPOKI_CREATE_ACCOUNT_ONBOARDING_LINKTool to create an onboarding link for a specific Spoki account. Use when you need to generate a setup link to help users configure their account.
Create or Update Contact
SPOKI_CREATE_OR_UPDATE_CONTACTCreates a new contact or updates an existing contact in Spoki using the phone number as the unique identifier. This action performs an "upsert" operation: - If a contact with the provided phone number exists, it will be updated with the new information - If no contact exists with that phone number, a new contact will be created Use this when you need to: - Add new contacts to your Spoki account - Update existing contact information (name, email, language, custom fields) - Ensure contact records are synchronized with external systems The phone number must be in E.164 format (international format with country code).
Generate Role Private Key
SPOKI_GENERATE_ROLE_PRIVATE_KEYTool to generate a private key for a service user role. Use when you need to create API credentials for service users. Rate limit: 10 requests per minute.
Remove All List Contacts
SPOKI_REMOVE_ALL_LIST_CONTACTSTool to remove all contacts from a list. Use when you need to clear all contacts from a specific list. Rate limit: 5 requests per minute.
Remove Contact Operator
SPOKI_REMOVE_CONTACT_OPERATORTool to remove an operator from a contact's chat. Use when you need to unassign an operator from handling a specific contact's conversations. Rate limit: 5 requests per minute.
Remove Contacts from List
SPOKI_REMOVE_LIST_CONTACTSTool to remove specific contacts from a list. Use when you need to unsubscribe or remove multiple contacts from a particular list. Rate limit: 5 requests per minute.
Revert Template to Draft
SPOKI_REVERT_TEMPLATE_TO_DRAFTTool to revert a WhatsApp template back to DRAFT status, removing it from WhatsApp. Use when you need to unpublish a template and return it to draft mode for editing.
Bulk Sync Contacts
SPOKI_SYNC_CONTACTS_BULKTool to bulk sync (create or update) multiple contacts in a single request. Rate limit: 1 request per minute. This action performs bulk "upsert" operations: - If a contact with the provided phone number exists, it will be updated with the new information - If no contact exists with that phone number, a new contact will be created Use when you need to: - Import multiple contacts from external systems - Synchronize contact lists in bulk - Efficiently create or update many contacts at once IMPORTANT: Do not use this action to update contacts before initiating an automation. The strict rate limit (1/min) makes it unsuitable for automation workflows.
Sync Contacts to List
SPOKI_SYNC_LIST_CONTACTSTool to create or update contacts and add them to a specific list in Spoki. Rate limit: 1 request per minute. This action performs bulk "upsert" operations and list assignment: - If a contact with the provided phone number exists, it will be updated with the new information - If no contact exists with that phone number, a new contact will be created - All synced contacts are automatically added to the specified list Use when you need to: - Add multiple contacts to a specific list - Import contacts from external systems directly into a list - Synchronize contact lists with list membership Maximum 500 contacts per request. Phone numbers must be in E.164 format (international format with country code).
Update Campaign
SPOKI_UPDATE_CAMPAIGNTool to update an existing campaign's name, status, or scheduled time. Use when you need to modify campaign details after creation. Rate limited to 5 requests per minute.
Update Contact
SPOKI_UPDATE_CONTACTTool to update an existing contact in Spoki. Use when you need to modify contact information for a specific contact ID. Only the fields provided will be updated; other fields remain unchanged.
Update Custom Field
SPOKI_UPDATE_CUSTOM_FIELDTool to update a specific custom field. Use after retrieving a field to change its label.
Update Invitation Role
SPOKI_UPDATE_INVITATION_ROLETool to update the role of a pending invitation. Use when you need to change the role assigned to an existing invitation. Rate limit: 5 requests per minute.
Update Media
SPOKI_UPDATE_MEDIATool to update an existing media file in Spoki. Use when you need to modify media file details like title. Rate limit: 120 requests per minute.
Update Role
SPOKI_UPDATE_ROLETool to update a user's role. Use when you need to change a user's role assignment. Rate limit: 10 requests per minute.
Update Template
SPOKI_UPDATE_TEMPLATETool to update an existing WhatsApp template in Spoki. Use when you need to modify template name, category, subcategory, or localization details. Rate limit: 10 requests per minute.