# Create Campaign Draft Creates a new campaign draft. All fields are optional as drafts can be saved in incomplete state. Endpoint: POST /v2/campaign-manager/campaign-drafts Version: v2 Security: oauth2 ## Request fields (multipart/form-data): - `name` (string,null) - `fundingSourceId` (string,null) - `welcomeHeadline` (string,null) - `campaignDescription` (string,null) - `campaignManager` (string,null) - `welcomeText` (string,null) - `iconFile` (string,null) - `payoutMethodIds` (array,null) - `expiryDate` (string,null) - `displayEndDate` (string,null) - `validMobilePhoneNumberRequiredToInitiatePayoutInstructions` (boolean,null) - `otpThresholdAmount` (number,null) - `emailTemplates` (object,null) - `automaticReminders` (integer) Enum: "None", "FixedIntervals" ## Response 201 fields (application/json): - `id` (string) The unique identifier for the campaign draft. - `name` (string,null) The name of the campaign draft. - `fundingSourceId` (string,null) The funding source identifier associated with the campaign draft. - `welcomeHeadline` (string,null) The welcome headline text that will be displayed in the application welcome screen. - `campaignDescription` (string,null) The campaign description of the campaign draft. - `campaignManager` (string,null) The name of the campaign manager. - `welcomeText` (string,null) The welcome text that will be displayed in the application welcome screen. - `iconUrl` (string,null) URL to the campaign's icon image that will be displayed in the application welcome screen. - `payoutMethods` (array) Available payout methods for this campaign draft. - `payoutMethods.payoutMethodId` (string) The unique identifier of the payout method. - `payoutMethods.isDisabled` (boolean) Indicates whether this payout method is disabled for the campaign draft. - `payoutMethods.disableReason` (integer) Enum: "Default", "InvalidPhoneNumber", "AmountNotSupported" - `expiryDate` (string,null) The date when the campaign expires. - `displayEndDate` (string,null) The date informing beneficiaries when is the end of the campaign. - `emailTemplates` (object) The dictionary containing the template ids for given template type.If template type is not provided, the default template will be used. - `emailTemplates.InitiateEmail` (string) - `emailTemplates.ReminderEmail` (string) - `emailTemplates.FailureReinitiateEmail` (string) - `emailTemplates.OtpEmail` (string) - `emailTemplates.PushEmail` (string) - `createdOn` (string) The date when the campaign draft was created. - `updatedOn` (string) The date when the campaign draft was last updated. - `validMobilePhoneNumberRequiredToInitiatePayoutInstructions` (boolean,null) Indicates whether a valid mobile phone number is required to initiate payout instructions.If this is disabled payouts with no phone number will be sent to customers, but some payout methods might be disabled. - `otpThresholdAmount` (number,null) The threshold amount below which OTP verification is skipped. Maximum value is $250. ## Response 400 fields (application/problem+json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) - `errors` (object) ## Response 401 fields (application/problem+json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) ## Response 403 fields (application/problem+json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null)