latestOpenAPI 3.0.32026-08-10362374.4 KB

98c494325aae

Campaign

Add Campaign

Creates a Campaign.

Details for the body of the request:

  • title Campaign title
  • mailBody Campaign mail body
  • fromName Campaign mail sender name
  • fromAddress Campaign mail sender email address
  • emailTemplateId the Id of the EmailTemplate which is going to be linked to the Campaign
  • designId the Id of the certificate Design which is going to be linked to the Campaign
  • badgeId the Id of the badge Design which is going to be linked to the Campaign
  • detailId the Id of the Detail which is going to be linked to the Campaign
  • privateCampaign boolean field used for controlling whether the credentials in the Campaign are shown in search results
post/campaign

Headers

api-versionstring required

The API version. Current version is 3.3. This value has to be set in every request.

Request body

titlestring
detailIdstring
badgeIdstring nullable
designIdstring nullable
emailTemplateIdstring
emailFromNamestring
emailSubjectstring
emailfromAddressstring nullable
privateCampaignboolean

Response

Successful response

messagestring nullable
hasErrorboolean
validationErrorsstring[]
{"stackTrail":"components:schemas:ApiResponse:properties:data","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:ApiResponse:properties:content","oasType":"schema","type":"unknown","nullable":true}