Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mavera.io/llms.txt

Use this file to discover all available pages before exploring further.

Twilio handles billions of communications — SMS, voice calls, and WhatsApp messages — making it the richest source of actual customer language most companies ignore. These three jobs pull conversation data from Twilio’s REST API and Conversations API into Mavera’s surfaces (Mave Agent, Brand Voice, Personas, Generate) to analyze SMS patterns, turn call recordings into meeting-style intelligence, and extract persona insights from WhatsApp business conversations.

API Reference Card

DetailValue
Messaging APIhttps://api.twilio.com/2010-04-01/Accounts/{sid}/Messages.json
Conversations APIhttps://conversations.twilio.com/v1
AuthHTTP Basic Auth (AccountSid:AuthToken)
Rate limitsConversations: 20 req/sec; Messaging: 100 req/sec
Recordingshttps://api.twilio.com/2010-04-01/Accounts/{sid}/Recordings/{sid}.json
Mavera basehttps://app.mavera.io/api/v1
Mavera authAuthorization: Bearer mvra_live_...
All examples use TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN, and MAVERA_API_KEY. Twilio uses HTTP Basic Auth with your Account SID as username and Auth Token as password. Find both in your Twilio Console.

Prerequisites

1

Twilio account with messaging

You need an active Twilio account with at least one phone number provisioned for SMS. For WhatsApp, you need a WhatsApp Business Profile approved.
2

Account credentials

Find your Account SID and Auth Token in the Twilio Console dashboard.
3

Call recordings enabled

For Job 2, enable call recording in your TwiML or Studio flows. Recordings are stored as audio files accessible via the Recordings API.
4

Mavera API key

Get your key from Mavera dashboard.
5

Environment variables

export TWILIO_ACCOUNT_SID="ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
export TWILIO_AUTH_TOKEN="your-auth-token"
export MAVERA_API_KEY="mvra_live_xxxxx"

Jobs

#JobTwilio DataMavera SurfaceOutput
1SMS Conversation AnalysisConversations APIMave Agent (Chat)Conversation intelligence report
2Call Recording → Meeting AnalysisRecordings APIMave Agent (Chat)Meeting-style call analysis
3WhatsApp Messages → Persona InsightsMessages APIPersonas + SpeakPersona-based insight report

Rate Limits & Production Notes

Twilio EndpointLimitStrategy
Conversations API20 req/secBatch conversation fetches; cache locally
Messages API100 req/secPaginate with PageSize=200
Recordings API100 req/secFetch only recordings with transcriptions
WhatsApp outboundTemplate-dependentPre-approve templates in Twilio Console
Twilio bills per API call and per message. The jobs above make 5-50 API calls per run — negligible cost. However, WhatsApp Business API has a 24-hour reply window and requires pre-approved templates for outbound messages. SMS opt-out compliance (STOP/HELP) is mandatory. Store credentials in env vars. Never log auth tokens. For call recordings, respect retention policies and data privacy regulations. Monitor Mavera credits at Dashboard.

All Integrations

Twilio API Docs

Brand Voice

Personas

Mave Agent

Generate