Рассылки
Список рассылок
Возвращает список email-рассылок пользователя. Статистика опционально — по флагу withStats=true.
get/v1/public/campaigns
Request
- Base URL: https://api.rusender.ru/api
- URL: https://api.rusender.ru/api/v1/public/campaigns
- Auth: HTTP bearer
Query parameters
namestring
Example:newsletter
Поиск по имени рассылки (подстрока).
statusstring[]
Фильтр по статусу рассылки. Можно передать массив или значения через запятую.
withStatsboolean
Если true — включает статистику в каждый item.
archivedboolean
Фильтр по архиву: true возвращает только архивные рассылки. По умолчанию false — архивные рассылки скрыты.
Response
Список рассылок.
Example response
{
"ok": true,
"data": {
"items": [
{
"id": 1,
"name": "March newsletter",
"subject": "Our March update",
"previewTitle": "Here is what we shipped this month",
"type": "regular",
"status": "completed",
"statusModerate": "approved",
"attachments": [
{
"id": 42,
"fileName": "price-list.pdf",
"size": 153204
}
],
"templateId": 100,
"senderId": 10,
"senderEmail": "noreply@example.com",
"senderName": "Example Team",
"lists": [
{
"id": 1,
"name": "Newsletter subscribers"
}
],
"utm": {
"utm_source": "newsletter",
"utm_medium": "email",
"utm_campaign": "march_promo"
},
"stats": {
"total": 1000,
"sending": {
"count": 900,
"rate": 90
},
"delivered": {
"count": 900,
"rate": 90
},
"open": {
"count": 900,
"rate": 90
},
"click": {
"count": 900,
"rate": 90
},
"error": {
"count": 900,
"rate": 90
},
"unsubscribe": {
"count": 900,
"rate": 90
},
"complaint": {
"count": 900,
"rate": 90
}
},
"parts": [
{
"id": 107461,
"role": "ab_variant",
"name": "June updates — variant A",
"subject": "June updates inside",
"previewTitle": "Here is what we shipped this month",
"status": "completed"
}
]
}
]
},
"meta": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-03-05T12:00:00.000Z",
"pagination": {
"page": 1,
"limit": 20,
"totalItems": 150,
"totalPages": 8
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.