curl --request POST \
--url https://app.manypi.com/api/outreach/campaigns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "DACH agencies — Q3",
"sequence_id": "…",
"smtp_config_id": "…",
"daily_limit": 40
}
'import requests
url = "https://app.manypi.com/api/outreach/campaigns"
payload = {
"name": "DACH agencies — Q3",
"sequence_id": "…",
"smtp_config_id": "…",
"daily_limit": 40
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'DACH agencies — Q3',
sequence_id: '…',
smtp_config_id: '…',
daily_limit: 40
})
};
fetch('https://app.manypi.com/api/outreach/campaigns', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.manypi.com/api/outreach/campaigns",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'DACH agencies — Q3',
'sequence_id' => '…',
'smtp_config_id' => '…',
'daily_limit' => 40
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.manypi.com/api/outreach/campaigns"
payload := strings.NewReader("{\n \"name\": \"DACH agencies — Q3\",\n \"sequence_id\": \"…\",\n \"smtp_config_id\": \"…\",\n \"daily_limit\": 40\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))
}HttpResponse<String> response = Unirest.post("https://app.manypi.com/api/outreach/campaigns")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"DACH agencies — Q3\",\n \"sequence_id\": \"…\",\n \"smtp_config_id\": \"…\",\n \"daily_limit\": 40\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.manypi.com/api/outreach/campaigns")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"DACH agencies — Q3\",\n \"sequence_id\": \"…\",\n \"smtp_config_id\": \"…\",\n \"daily_limit\": 40\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "active",
"sequence_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"smtp_config_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reply_to": "<string>",
"daily_limit": 123,
"priority": 123,
"schedule_enabled": true,
"send_days": [
3
],
"send_from": "<string>",
"send_to": "<string>",
"timezone": "<string>",
"track_opens": true,
"inbox_strategy": "single",
"include_unsubscribe": true,
"require_verified": true,
"stats": {
"enrolled": 123,
"active": 123,
"completed": 123,
"sent": 123,
"failed": 123,
"opened": 123,
"replied": 123,
"bounced": 123,
"unsubscribed": 123,
"unsubscribed_sends": 123
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Create a campaign
Bind a sequence to a sending inbox. After creating it, enroll leads with POST /api/outreach/enroll.
Requires the write permission.
curl --request POST \
--url https://app.manypi.com/api/outreach/campaigns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "DACH agencies — Q3",
"sequence_id": "…",
"smtp_config_id": "…",
"daily_limit": 40
}
'import requests
url = "https://app.manypi.com/api/outreach/campaigns"
payload = {
"name": "DACH agencies — Q3",
"sequence_id": "…",
"smtp_config_id": "…",
"daily_limit": 40
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'DACH agencies — Q3',
sequence_id: '…',
smtp_config_id: '…',
daily_limit: 40
})
};
fetch('https://app.manypi.com/api/outreach/campaigns', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.manypi.com/api/outreach/campaigns",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'DACH agencies — Q3',
'sequence_id' => '…',
'smtp_config_id' => '…',
'daily_limit' => 40
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.manypi.com/api/outreach/campaigns"
payload := strings.NewReader("{\n \"name\": \"DACH agencies — Q3\",\n \"sequence_id\": \"…\",\n \"smtp_config_id\": \"…\",\n \"daily_limit\": 40\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))
}HttpResponse<String> response = Unirest.post("https://app.manypi.com/api/outreach/campaigns")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"DACH agencies — Q3\",\n \"sequence_id\": \"…\",\n \"smtp_config_id\": \"…\",\n \"daily_limit\": 40\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.manypi.com/api/outreach/campaigns")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"DACH agencies — Q3\",\n \"sequence_id\": \"…\",\n \"smtp_config_id\": \"…\",\n \"daily_limit\": 40\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "active",
"sequence_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"smtp_config_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reply_to": "<string>",
"daily_limit": 123,
"priority": 123,
"schedule_enabled": true,
"send_days": [
3
],
"send_from": "<string>",
"send_to": "<string>",
"timezone": "<string>",
"track_opens": true,
"inbox_strategy": "single",
"include_unsubscribe": true,
"require_verified": true,
"stats": {
"enrolled": 123,
"active": 123,
"completed": 123,
"sent": 123,
"failed": 123,
"opened": 123,
"replied": 123,
"bounced": 123,
"unsubscribed": 123,
"unsubscribed_sends": 123
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Authorizations
A ManyPI API key (mpi_...) from Settings → API keys, or an OAuth 2.1 access token obtained through the MCP consent flow.
Body
120An inbox id from GET /api/outreach/inboxes.
Never exceeds the inbox's own cap.
1 <= x <= 2000Defaults to Mon–Fri.
0 <= x <= 6Local time, HH:MM.
Local time, HH:MM.
Higher wins the next paced slot when campaigns share an inbox.
1 <= x <= 10single, rotate, round_robin, provider_match Response
The created campaign.
active, paused, archived Weekdays to send on, as Date.getDay() numbers: 0 is Sunday, 1 is Monday, 6 is Saturday. Values outside 0-6 are discarded, so an ISO-style Sunday of 7 is dropped rather than honoured. Defaults to [1,2,3,4,5] when omitted, or when every supplied value is discarded.
0 <= x <= 6How sends are spread when several inboxes are available.
single, rotate, round_robin, provider_match Whether an unsubscribe link is appended to each email.
Whether unverified addresses are validated before enrollment.
Show child attributes
Show child attributes
