/api/v1/mitto/campaignsCrear una campaña
Creada como borrador: nadie es contactado hasta que se activa. Requiere una clave API con el alcance 'campaigns:write'.
Autenticación
Envía tu API key en el header x-api-key header.
Cuerpo de la petición
obligatorioPublicMittoCreateCampaignDto
templaterequiredstring
Starting point; it only seeds the sequence when `steps` is not sent. 'autopilot' turns autopilot on.
emailcallautopilotcustomnamestring
goalstring
What the campaign is after, in plain language; the AI writes with it
autopilotboolean
The AI plans steps and timing per prospect; `steps` is ignored
channelsPublicMittoCampaignChannelsDto
Channels the autopilot may use
segmentIdsarray<string (uuid)>
Segments whose members the campaign contacts
listIdsarray<string (uuid)>
Lists whose members it also contacts
meetingLinkstring
Booking page (http/s). Required to launch with email.
handOffOnPositiveReplyboolean
Autopilot: a positive reply goes to a teammate instead of the agent
enrollmentModestring
'continuous': people who join its segments later join the active campaign too
one_timecontinuousexcludePreviouslyContactedboolean
Skip people who are or were in another campaign
brandVoiceIdobject (uuid)
Null or left out: the default brand voice
domainIdobject (uuid)
Sending domain for the emails
voiceAgentIdobject (uuid)
Voice agent for the calls
stepsarray<PublicMittoSequenceStepDto>
Manual sequence, up to 30 steps, each with its own unique id: email (subject, body), call, wait (days) or task (note).
Ejemplo de petición
{
"template": "email",
"name": "CFOs logística Q1",
"goal": "Agendar una demo de 20 minutos",
"autopilot": false,
"channels": {
"email": false,
"call": false
},
"segmentIds": [
""
],
"listIds": [
""
],
"meetingLink": "https://cal.com/acme/demo",
"handOffOnPositiveReply": true,
"enrollmentMode": "one_time",
"excludePreviouslyContacted": true,
"brandVoiceId": null,
"domainId": null,
"voiceAgentId": null,
"steps": [
{
"id": "step-1",
"type": "email",
"subject": "{{first_name}}, una idea para {{company}}",
"body": "Hola {{first_name}}…"
},
{
"id": "step-2",
"type": "wait",
"days": 3
},
{
"id": "step-3",
"type": "call",
"voiceAgentId": null
}
]
}
Respuestas
PublicMittoCampaignResponseDto
statusCoderequirednumber
countrequirednumber
errorrequiredstring
datarequiredPublicMittoCampaignDto
Ejemplo de respuesta
{
"statusCode": 200,
"count": 0,
"error": null,
"data": {
"id": "",
"name": "",
"goal": "",
"template": "email",
"status": "draft",
"autopilot": false,
"channels": {
"email": false,
"call": false
},
"segmentIds": [
""
],
"listIds": [
""
],
"meetingLink": "",
"handOffOnPositiveReply": false,
"enrollmentMode": "one_time",
"excludePreviouslyContacted": false,
"brandVoiceId": null,
"domainId": null,
"voiceAgentId": null,
"steps": [
{
"id": "",
"type": "email",
"subject": "",
"body": "",
"voiceAgentId": null,
"days": 0,
"note": ""
}
],
"startsAt": "2026-01-15T10:00:00.000Z",
"stats": {
"prospects": 0,
"contacted": 0,
"emailsSent": 0,
"calls": 0,
"replies": 0,
"meetings": 0
},
"updatedAt": "2026-01-15T10:00:00.000Z"
}
}