Collega l'API WhatsApp
Integra l'API WhatsApp tramite l'API REST unificata di Modiva e il server MCP ospitato. Send and receive WhatsApp messages. OAuth, aggiornamento dei token, rate limit e 11 strumenti tipizzati sono gestiti per te: collega una volta e richiama WhatsApp da qualsiasi agente o app attraverso un singolo endpoint.
Cosa puoi fare con l'API WhatsApp
- ✓ Publishing
- ✓ Scheduling
- ✓ Inbox & DMs
- ✓ Analytics
- ✓ Webhooks
Strumenti MCP e scope di WhatsApp
- accounts_
- list · health · status
- posts_
- create · cross_post · schedule · publish_now
- comments_
- list · reply
- messages_
- list · send · inbox
- analytics_
- unified · best_time_to_post
Scope OAuth richiesti
- Read profile & accounts
- Publish posts & stories
- Read insights
- Read & reply to comments/DMs
Collega WhatsApp nel tuo agente
# Add Modiva's MCP server to your agent
{
"mcpServers": {
"modiva": {
"url": "https://mcp.modiva.ai",
"headers": { "Authorization": "Bearer $MODIVA_MCP_KEY" }
}
}
}
# Then connect WhatsApp and call its tools, e.g.
accounts_list(provider="whatsapp")Domande frequenti
Come collego l'API WhatsApp con Modiva?
Crea un account Modiva, genera una chiave MCP e collega WhatsApp dalla tua dashboard. Modiva esegue l'intero flusso OAuth e memorizza il token cifrato per te, senza client secret nel tuo codice.
Cosa posso fare con l'API WhatsApp tramite Modiva?
Send and receive WhatsApp messages. Ottieni 11 strumenti tipizzati raggruppati per risorsa (accounts_, posts_, comments_, messages_, analytics_), richiamabili tramite REST o il server MCP.
Devo gestire personalmente OAuth o l'aggiornamento dei token?
No. Modiva gestisce l'handshake OAuth di WhatsApp, l'archiviazione dei token (cifrati con envelope encryption) e l'aggiornamento automatico. Tu richiami un singolo endpoint unificato.
Un agente IA può usare l'API WhatsApp?
Sì, è proprio questo il punto. Modiva espone WhatsApp come strumenti Model Context Protocol (MCP), così agenti come Claude, Cursor o la tua app possono leggere e agire su WhatsApp attraverso un unico endpoint.