# Spoki

Spoki is an Italian platform that integrates WhatsApp's official APIs to automate communication for marketing, sales, customer support, and payments.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**Spoki** authenticates with an API key. Generate the credential in your Spoki account, then paste it into FlyMyAI the first time an agent uses a Spoki action.

[Get your Spoki credential →](https://support.spoki.com/en/docs/integrations/embed-spoki-on-your-software)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `Spoki API Key` | Your API key from the Spoki dashboard. Each Spoki account has a unique API key. _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `SPOKI_CREATE_CUSTOM_FIELD` | Tool to create a new custom field. use when defining extra data points for contacts. | `label`, `code`, `field_type`, `example` |
| `SPOKI_CREATE_OR_UPDATE_CONTACT` | Tool to create or update a contact. use when you need to upsert a single contact record via the sync endpoint. | `phone` |
| `SPOKI_DELETE_CONTACT` | Tool to delete a specific contact. use after confirming the contact id. example prompt: "delete contact with id 1091234." | `id` |
| `SPOKI_GET_ACCOUNT_CURRENT_REPORT` | Tool to get the current report for a specified account. use when you need up-to-date metrics on messages and conversations for an account. note: result is cached for 30 minutes. | `account_id` |
| `SPOKI_LIST_AGENCIES` | Tool to list all agencies accessible to the user. use when you need to retrieve all agencies for the authenticated account. | - |
| `SPOKI_LIST_AUTOMATIONS` | Tool to list, search, and filter automations. use after authenticating to retrieve available automations and apply optional search or platform filters. | - |
| `SPOKI_LIST_CAMPAIGNS` | Tool to list, search, and filter campaigns. use when you need to retrieve campaigns optionally filtered by scheduled datetime. | - |
| `SPOKI_LIST_CONTACTS` | Tool to list, search, and filter contacts. use when you need to retrieve contacts with optional search and filters. | - |
| `SPOKI_LIST_TAGS` | Tool to list, search, and filter tags. use when you need to fetch all tags for the account. | - |
| `SPOKI_LIST_TEMPLATES` | Tool to list, search, and filter whatsapp templates. use when you need to retrieve available templates, optionally filtering by keywords. | - |
| `SPOKI_LIST_TICKETS` | Tool to list, search, and filter tickets. use when you need to retrieve tickets with optional pagination and filters. | - |
| `SPOKI_RETRIEVE_ACCOUNT` | Tool to retrieve details of a specific account. use after confirming the account id is valid. | `account_id` |
| `SPOKI_RETRIEVE_AUTOMATION` | Tool to retrieve details of a specific automation. use after listing automations to fetch full details including webhooks and timestamps. example: retrieve automation with id 345016. | `id` |
| `SPOKI_RETRIEVE_CONTACT` | Tool to retrieve details of a specific contact. use when you have a contact id and need full profile details. | `contact_id` |
| `SPOKI_RETRIEVE_TAG` | Tool to retrieve details of a specific tag. use when you need tag metadata by id. | `id` |
| `SPOKI_RETRIEVE_TEMPLATE` | Tool to retrieve details of a specific template. use after obtaining a template id. | `template_id` |
| `SPOKI_SPOKI_LIST_CUSTOM_FIELDS` | Tool to list, search, and filter custom fields. use when you need to fetch available custom-field definitions by label or code. | - |
| `SPOKI_SPOKI_LIST_PARTNERS` | Deprecated placeholder for spoki list partners action file | - |
| `SPOKI_SPOKI_LIST_TAGS` | Tool to list, search, and filter tags. use when you need to fetch all tags for the account. | - |
| `SPOKI_SPOKI_LIST_TEMPLATES` | Tool to list, search, and filter whatsapp templates. use when you need to retrieve available templates, optionally filtering by keywords. | - |
| `SPOKI_SPOKI_RETRIEVE_CUSTOM_FIELD` | Tool to retrieve details of a specific custom field. use when you have a field id and need its metadata before using it in automations. | `custom_field_id` |
| `SPOKI_UPDATE_CUSTOM_FIELD` | Tool to update a specific custom field. use after retrieving a field to change its label. | `custom_field_id`, `label` |

## Links

- [Spoki website](https://spoki.it/en/)
- [Get API key / credential](https://support.spoki.com/en/docs/integrations/embed-spoki-on-your-software)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
