Mutation
mutation DuplicateBroadcast($input: DuplicateBroadcastInput!) {
duplicateBroadcast(input: $input) {
broadcast {
id
name
notificationTitle
content
contentFormat
type
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"broadcastId": "id"
}
}Response
{
"data": {
"duplicateBroadcast": {
"broadcast": {
"id": "id",
"name": "string",
"notificationTitle": "string",
"content": "string",
"contentFormat": "TIPTAP",
"type": "SLACK"
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
duplicateBroadcast
Copies an existing broadcast into a new draft. Authoring fields (content, audience, sender,
notification title, and related settings) are copied. Send history, schedule, recipients, and
delivery stats are not. The copy is named Copy of <original name>. Requires the
broadcast:create and broadcast:read permissions.
MUTATION
duplicateBroadcast(input: DuplicateBroadcastInput!): DuplicateBroadcastOutput!Arguments
input
required
Returns
broadcast
error
Mutation
mutation DuplicateBroadcast($input: DuplicateBroadcastInput!) {
duplicateBroadcast(input: $input) {
broadcast {
id
name
notificationTitle
content
contentFormat
type
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"broadcastId": "id"
}
}Response
{
"data": {
"duplicateBroadcast": {
"broadcast": {
"id": "id",
"name": "string",
"notificationTitle": "string",
"content": "string",
"contentFormat": "TIPTAP",
"type": "SLACK"
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

