/api/post-v1-projects-projectuuid-autoposting-accounts-06af649b65
Войти
Все методы Auto PostingAutoPostingController
manifest 0.0.0.118 • 1 июн. 2026 г., 13:50
POST/v1/projects/{projectUuid}/autoposting/accountsAuthenticated

POST accounts

Маршрут POST /v1/projects/{projectUuid}/autoposting/accounts из AutoPostingController. Детализация собрана из API manifest gateway.

Operation ID
AutoPostingController.createAccount.POST.v1_projects__projectUuid__autoposting_accounts
Handler
cdp.gateway.cdp_gateway.autoposting.controller.AutoPostingController#createAccount
Consumes
Produces
Параметры1
Request bodyCreateAutoPostingAccountRequestDTO
Response bodyAutoPostingRestResponse<AutoPostingAccountDTO>
Request map

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

POST/v1/projects/{projectUuid}/autoposting/accounts
Path segments
v1projects{projectUuid}autopostingaccounts
Security
isAuthenticated()
Parameters

Параметры

ИмяИсточникТипОбязательныйNullableSchema
projectUuid
pathStringДаНет
Request / Response

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

Request bodyCreateAutoPostingAccountRequestDTO
Nullable: Нет
CreateAutoPostingAccountRequestDTO
object • CreateAutoPostingAccountRequestDTO
platform
AutoPostingPlatformDTO
required • not-null • schema=AutoPostingPlatformDTO
AutoPostingPlatformDTO
enum • AutoPostingPlatformDTO
TELEGRAMVKMAXOKDZEN
Поля не описаны в manifest.
authType
AutoPostingAuthTypeDTO
required • not-null • schema=AutoPostingAuthTypeDTO
AutoPostingAuthTypeDTO
enum • AutoPostingAuthTypeDTO
BOT_TOKENOAUTH2USER_SESSIONAPI_KEY
Поля не описаны в manifest.
credentialsJson
String
required • not-null
Response bodyAutoPostingRestResponse<AutoPostingAccountDTO>
Nullable: Нет
AutoPostingRestResponse<AutoPostingAccountDTO>
object • AutoPostingRestResponse<AutoPostingAccountDTO>
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