addonCreate
Creates a survey or CTA and returns its UUID and preview token. Send active: false to save an unpublished
draft, then call addonDraftPublish to publish it; addonContentContract describes content. Content and
audience are saved together. Requires survey create access or CTA create access matching the type.
addonCreate(
siteId: Int!
addon: AddonCreateParams!
): AddonMutationResponse!
Arguments
addonCreate.siteId ● Int! non-null scalar
Site ID from sites.
addonCreate.addon ● AddonCreateParams! non-null input
Content, name, type, and initial activation state for the new add-on.
Type
AddonMutationResponse object
Saved add-on identity and preview token returned by addonCreate, addonEdit, and draft mutations.