Custom Personas
Create a custom persona
Create a custom AI-powered persona using one of three pipeline types:
North Star (north_star): Quick AI-generated persona from minimal input. First call /personas/suggestions to get options, then create with the selected suggestion.
Intermediate (intermediate): Guided persona with structured fields for goals, pains, channels, and market alignment.
Advanced (advanced): Full-featured persona with B2B/B2C specifics, psychographics, and purpose packs.
Pricing: 300 credits per persona created.
POST
/
personas
cURL (Intermediate)
curl -X POST https://app.mavera.io/api/v1/personas \
-H "Authorization: Bearer mvra_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"pipeline_type": "intermediate",
"name": "Enterprise CMO",
"type": "B2B",
"role_segment": ["CMO", "VP Marketing"],
"buying_stage": "SOLUTION_AWARE",
"decision_role": "ECONOMIC_BUYER",
"primary_objectives": ["Drive revenue growth", "Optimize marketing spend"],
"mcda_weights": {"price": 3, "timeToValue": 4, "risk": 2, "proof": 5, "support": 3},
"goals": ["Increase marketing ROI", "Scale demand generation"],
"pains": ["Attribution challenges", "Budget constraints", "Tech stack complexity"],
"triggers": ["New fiscal year", "Board pressure", "Competitor threat"],
"channels": ["LinkedIn", "Industry events", "Peer referrals"],
"proof_types": ["Case studies", "ROI calculators", "Peer references"],
"alternatives": ["HubSpot", "Marketo", "In-house solution"],
"win_factors": ["Time to value", "Integration ease", "Support quality"],
"objections": ["Implementation time", "Team adoption", "Data migration"]
}'import requests
headers = {"Authorization": "Bearer mvra_live_your_key_here"}
response = requests.post(
"https://app.mavera.io/api/v1/personas",
headers=headers,
json={
"pipeline_type": "advanced",
"name": "SaaS Procurement Manager",
"type": "B2B",
"primary_use_case": "SALES_ENABLEMENT",
"buying_stage": "DECISION",
"decision_role": "ECONOMIC_BUYER",
"committee_mapping": ["CTO", "CFO", "Legal"],
"mcda_weights": {
"price": 4, "timeToValue": 3, "risk": 5,
"proof": 4, "support": 3, "quality": 4
},
"goals": ["Reduce software costs", "Consolidate vendors"],
"pains": ["Budget tracking", "Contract renewals", "Shadow IT"],
"triggers": ["Audit findings", "Budget review", "Contract expiration"],
"values": ["Transparency", "Efficiency", "Compliance"],
"objections": ["Integration complexity", "Training overhead"],
"proof_preferences": ["Security certifications", "Compliance reports"],
"brand_voice_fit": "CONSERVATIVE",
"reading_level": "TECHNICAL",
"role_title": "Procurement Manager",
"seniority": "Senior",
"industry": "Technology",
"company_size": "SIZE_201_1K",
"budget_authority": "SHARED",
"alternatives": ["Competitor A", "Manual process"],
"key_differentiators": ["SOC2 compliance", "API-first"]
}
)
persona = response.json()
print(f"Created: {persona['name']} ({persona['id']})")
print(f"Credits charged: {persona['credits_charged']}")const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
pipeline_type: 'north_star',
suggestion: {
name: '<string>',
description: '<string>',
goals: ['<string>'],
pains: ['<string>'],
channels: ['<string>'],
triggers: ['<string>'],
buying_stage: '<string>',
decision_role: '<string>',
confidence: 123,
rationale: '<string>'
},
business_description: '<string>',
target_customers: ['<string>'],
sources: [{name: '<string>', url: '<string>', description: '<string>'}]
})
};
fetch('https://app.mavera.io/api/v1/personas', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.mavera.io/api/v1/personas"
payload := strings.NewReader("{\n \"pipeline_type\": \"north_star\",\n \"suggestion\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"goals\": [\n \"<string>\"\n ],\n \"pains\": [\n \"<string>\"\n ],\n \"channels\": [\n \"<string>\"\n ],\n \"triggers\": [\n \"<string>\"\n ],\n \"buying_stage\": \"<string>\",\n \"decision_role\": \"<string>\",\n \"confidence\": 123,\n \"rationale\": \"<string>\"\n },\n \"business_description\": \"<string>\",\n \"target_customers\": [\n \"<string>\"\n ],\n \"sources\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"description\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "<string>",
"object": "custom_persona",
"name": "<string>",
"category": "<string>",
"description": "<string>",
"pipeline_type": "north_star",
"type": "B2B",
"is_custom": true,
"created_at": 123,
"credits_charged": 300,
"details": {
"pipeline_type": "<string>",
"persona_type": "<string>",
"primary_use_case": "<string>",
"buying_stage": "<string>",
"decision_role": "<string>",
"role_segment": [
"<string>"
],
"primary_objectives": [
"<string>"
],
"mcda_weights": {},
"goals": [
"<string>"
],
"pains": [
"<string>"
],
"triggers": [
"<string>"
],
"channels": [
"<string>"
],
"proof_types": [
"<string>"
],
"alternatives": [
"<string>"
],
"win_factors": [
"<string>"
],
"objections": [
"<string>"
],
"values": [
"<string>"
],
"proof_preferences": [
"<string>"
],
"brand_voice_fit": "<string>",
"reading_level": "<string>",
"tone_guardrails": [
"<string>"
],
"role_title": "<string>",
"seniority": "<string>",
"industry": "<string>",
"company_size": "<string>",
"tech_stack": [
"<string>"
],
"budget_authority": "<string>",
"procurement_constraints": [
"<string>"
],
"committee_mapping": [
"<string>"
],
"life_stage": "<string>",
"age_band": "<string>",
"income_band": "<string>",
"household_context": [
"<string>"
],
"lifestyle_affinities": [
"<string>"
],
"purchase_cadence": "<string>",
"key_differentiators": [
"<string>"
],
"regulatory_context": [
"<string>"
],
"is_localized": true,
"locale_scope": "<string>",
"locale_value": "<string>",
"local_channels": [
"<string>"
],
"local_objections": [
"<string>"
],
"local_keywords": [
"<string>"
],
"price_sensitivity_delta": 123,
"purpose_packs_enabled": {},
"acquisition_config": {},
"pmm_config": {},
"content_config": {},
"sales_config": {},
"research_config": {}
},
"ai_generated": {
"confidence": 123,
"rationale": "<string>"
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}Authorizations
Body
application/json
- Option 1
- Option 2
- Option 3
Create a custom persona using one of three pipeline types. Each pipeline has different required fields - see the individual schemas for details.
Response
Custom persona created successfully.
⌘I
cURL (Intermediate)
curl -X POST https://app.mavera.io/api/v1/personas \
-H "Authorization: Bearer mvra_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"pipeline_type": "intermediate",
"name": "Enterprise CMO",
"type": "B2B",
"role_segment": ["CMO", "VP Marketing"],
"buying_stage": "SOLUTION_AWARE",
"decision_role": "ECONOMIC_BUYER",
"primary_objectives": ["Drive revenue growth", "Optimize marketing spend"],
"mcda_weights": {"price": 3, "timeToValue": 4, "risk": 2, "proof": 5, "support": 3},
"goals": ["Increase marketing ROI", "Scale demand generation"],
"pains": ["Attribution challenges", "Budget constraints", "Tech stack complexity"],
"triggers": ["New fiscal year", "Board pressure", "Competitor threat"],
"channels": ["LinkedIn", "Industry events", "Peer referrals"],
"proof_types": ["Case studies", "ROI calculators", "Peer references"],
"alternatives": ["HubSpot", "Marketo", "In-house solution"],
"win_factors": ["Time to value", "Integration ease", "Support quality"],
"objections": ["Implementation time", "Team adoption", "Data migration"]
}'import requests
headers = {"Authorization": "Bearer mvra_live_your_key_here"}
response = requests.post(
"https://app.mavera.io/api/v1/personas",
headers=headers,
json={
"pipeline_type": "advanced",
"name": "SaaS Procurement Manager",
"type": "B2B",
"primary_use_case": "SALES_ENABLEMENT",
"buying_stage": "DECISION",
"decision_role": "ECONOMIC_BUYER",
"committee_mapping": ["CTO", "CFO", "Legal"],
"mcda_weights": {
"price": 4, "timeToValue": 3, "risk": 5,
"proof": 4, "support": 3, "quality": 4
},
"goals": ["Reduce software costs", "Consolidate vendors"],
"pains": ["Budget tracking", "Contract renewals", "Shadow IT"],
"triggers": ["Audit findings", "Budget review", "Contract expiration"],
"values": ["Transparency", "Efficiency", "Compliance"],
"objections": ["Integration complexity", "Training overhead"],
"proof_preferences": ["Security certifications", "Compliance reports"],
"brand_voice_fit": "CONSERVATIVE",
"reading_level": "TECHNICAL",
"role_title": "Procurement Manager",
"seniority": "Senior",
"industry": "Technology",
"company_size": "SIZE_201_1K",
"budget_authority": "SHARED",
"alternatives": ["Competitor A", "Manual process"],
"key_differentiators": ["SOC2 compliance", "API-first"]
}
)
persona = response.json()
print(f"Created: {persona['name']} ({persona['id']})")
print(f"Credits charged: {persona['credits_charged']}")const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
pipeline_type: 'north_star',
suggestion: {
name: '<string>',
description: '<string>',
goals: ['<string>'],
pains: ['<string>'],
channels: ['<string>'],
triggers: ['<string>'],
buying_stage: '<string>',
decision_role: '<string>',
confidence: 123,
rationale: '<string>'
},
business_description: '<string>',
target_customers: ['<string>'],
sources: [{name: '<string>', url: '<string>', description: '<string>'}]
})
};
fetch('https://app.mavera.io/api/v1/personas', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.mavera.io/api/v1/personas"
payload := strings.NewReader("{\n \"pipeline_type\": \"north_star\",\n \"suggestion\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"goals\": [\n \"<string>\"\n ],\n \"pains\": [\n \"<string>\"\n ],\n \"channels\": [\n \"<string>\"\n ],\n \"triggers\": [\n \"<string>\"\n ],\n \"buying_stage\": \"<string>\",\n \"decision_role\": \"<string>\",\n \"confidence\": 123,\n \"rationale\": \"<string>\"\n },\n \"business_description\": \"<string>\",\n \"target_customers\": [\n \"<string>\"\n ],\n \"sources\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"description\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "<string>",
"object": "custom_persona",
"name": "<string>",
"category": "<string>",
"description": "<string>",
"pipeline_type": "north_star",
"type": "B2B",
"is_custom": true,
"created_at": 123,
"credits_charged": 300,
"details": {
"pipeline_type": "<string>",
"persona_type": "<string>",
"primary_use_case": "<string>",
"buying_stage": "<string>",
"decision_role": "<string>",
"role_segment": [
"<string>"
],
"primary_objectives": [
"<string>"
],
"mcda_weights": {},
"goals": [
"<string>"
],
"pains": [
"<string>"
],
"triggers": [
"<string>"
],
"channels": [
"<string>"
],
"proof_types": [
"<string>"
],
"alternatives": [
"<string>"
],
"win_factors": [
"<string>"
],
"objections": [
"<string>"
],
"values": [
"<string>"
],
"proof_preferences": [
"<string>"
],
"brand_voice_fit": "<string>",
"reading_level": "<string>",
"tone_guardrails": [
"<string>"
],
"role_title": "<string>",
"seniority": "<string>",
"industry": "<string>",
"company_size": "<string>",
"tech_stack": [
"<string>"
],
"budget_authority": "<string>",
"procurement_constraints": [
"<string>"
],
"committee_mapping": [
"<string>"
],
"life_stage": "<string>",
"age_band": "<string>",
"income_band": "<string>",
"household_context": [
"<string>"
],
"lifestyle_affinities": [
"<string>"
],
"purchase_cadence": "<string>",
"key_differentiators": [
"<string>"
],
"regulatory_context": [
"<string>"
],
"is_localized": true,
"locale_scope": "<string>",
"locale_value": "<string>",
"local_channels": [
"<string>"
],
"local_objections": [
"<string>"
],
"local_keywords": [
"<string>"
],
"price_sensitivity_delta": 123,
"purpose_packs_enabled": {},
"acquisition_config": {},
"pmm_config": {},
"content_config": {},
"sales_config": {},
"research_config": {}
},
"ai_generated": {
"confidence": 123,
"rationale": "<string>"
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}{
"error": {
"message": "Invalid API key.",
"type": "authentication_error",
"code": "invalid_api_key",
"param": null
}
}