Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Retrieve Contact
SPOKI_RETRIEVE_CONTACTTool to retrieve details of a specific contact. Use when you have a contact ID and need full profile details.
Retrieve Custom Field
SPOKI_RETRIEVE_CUSTOM_FIELDTool to retrieve details of a specific custom field. Use when you have a field ID and need its metadata before using it in automations.
Retrieve List
SPOKI_RETRIEVE_LISTTool to retrieve details of a specific list by ID. Use when you need list metadata and contact count. Rate limit: 5 requests per minute.
Retrieve Media
SPOKI_RETRIEVE_MEDIATool to retrieve details of a specific media file by ID. Use when you need media file metadata.
Retrieve Role
SPOKI_RETRIEVE_ROLETool to retrieve details of a specific role by ID. Use when you need role information for a given role ID. Rate limit: 5 requests per minute.
Retrieve Tag
SPOKI_RETRIEVE_TAGTool to retrieve details of a specific tag. Use when you need tag metadata by ID.
Retrieve Template
SPOKI_RETRIEVE_TEMPLATETool to retrieve details of a specific template. Use after obtaining a template ID.
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.