Create B2C Subscription Topic
GraphQL endpoint: /company
Creates a B2C subscription topic for the company, with per-channel delivery flags (email, SMS, voice). The topic name must be unique within the company.
Query
mutation (
$name: String!
$description: String
$type: B2cSubscriptionTopicType
$enableEmail: Boolean
$enableSms: Boolean
$enableVoice: Boolean
) {
createB2cSubscriptionTopic (
name: $name
description: $description
type: $type
enableEmail: $enableEmail
enableSms: $enableSms
enableVoice: $enableVoice
) {
id
name
description
type
enableEmail
enableSms
enableVoice
}
}
Variables
Response
Last updated