/api/post-v1-messages-campaigns-5577ad288b
Войти
Все методы CampaignCampaignController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/messages/campaignsAuthenticated

POST campaigns

Маршрут POST /v1/messages/campaigns из CampaignController. Детализация собрана из API manifest gateway.

Operation ID
CampaignController.create.POST.v1_messages_campaigns
Handler
cdp.gateway.cdp_gateway.company.features.campaign.controller.CampaignController#create
Consumes
Producesapplication/json
Параметры0
Request bodyCampaignCreateGatewayRequestDTO
Response bodyResponseWrapper<Object>
Request map

Маршрут и контракт запроса

POST/v1/messages/campaigns
Path segments
v1messagescampaigns
Security
isAuthenticated()
Parameters

Параметры

У метода нет параметров.
Request / Response

Тела запроса и ответа

Request bodyCampaignCreateGatewayRequestDTO
Nullable: Нет
CampaignCreateGatewayRequestDTO
object • CampaignCreateGatewayRequestDTO
companyUuid
String
required • not-null
projectUuid
String
optional • nullable
name
String
required • not-null
description
String
optional • nullable
segmentUuid
String
required • not-null
templateUuid
String
optional • nullable
channel
CampaignChannelDTO
required • not-null • schema=CampaignChannelDTO
CampaignChannelDTO
enum • CampaignChannelDTO
EMAILPUSHMESSENGERWEBLAYER
Поля не описаны в manifest.
scheduleType
CampaignScheduleTypeDTO
optional • not-null • schema=CampaignScheduleTypeDTO
CampaignScheduleTypeDTO
enum • CampaignScheduleTypeDTO
MANUALAT
Поля не описаны в manifest.
scheduledAtEpochMs
Long
optional • nullable
settingsJson
String
optional • nullable
Response bodyResponseWrapper<Object>
Nullable: Нет
ResponseWrapper<Object>
object • ResponseWrapper<Object>
success
boolean
required • not-null
data
T
optional • nullable
error
CdpErrorResponse
optional • nullable • schema=CdpErrorResponse
CdpErrorResponse
object • CdpErrorResponse
errorId
String
required • not-null
code
String
required • not-null
message
String
required • not-null
details
Map<String, Object>
optional • not-null
fieldErrors
List<CdpFieldError>
optional • not-null
timestamp
long
optional • not-null
meta
Map<String, Object>
optional • not-null