Query
query BroadcastRecipientUnsubscribes {
broadcastRecipientUnsubscribes {
edges {
cursor
node {
id
workspaceId
recipient {
__typename
... on SlackBroadcastRecipientUnsubscribeRecipient {
__typename
}
}
source
broadcastSendDeliveryId
createdAt {
__typename
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"broadcastRecipientUnsubscribes": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"workspaceId": "id",
"recipient": {
"__typename": "SlackBroadcastRecipientUnsubscribeRecipient"
},
"source": "CUSTOMER_LINK",
"broadcastSendDeliveryId": "id",
"createdAt": {
"__typename": "DateTime"
}
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Queries
broadcastRecipientUnsubscribes
Returns a paginated list of Slack channels that have opted out of broadcasts, newest first.
Requires the broadcast:read permission and the broadcasts feature flag.
QUERY
broadcastRecipientUnsubscribes(searchQuery: String, first: Int, after: String, last: Int, before: String): BroadcastRecipientUnsubscribeConnection!Arguments
searchQuery
String
Narrows to unsubscribes whose connected channel name contains this, or whose Slack workspace name contains this, matched case-insensitively and unanchored. Channel-name matches exclude disconnected channels; a workspace-name match returns every opted-out channel in that Slack workspace, including disconnected ones.
first
Int
after
String
last
Int
before
String
edges
pageInfo
Query
query BroadcastRecipientUnsubscribes {
broadcastRecipientUnsubscribes {
edges {
cursor
node {
id
workspaceId
recipient {
__typename
... on SlackBroadcastRecipientUnsubscribeRecipient {
__typename
}
}
source
broadcastSendDeliveryId
createdAt {
__typename
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"broadcastRecipientUnsubscribes": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"workspaceId": "id",
"recipient": {
"__typename": "SlackBroadcastRecipientUnsubscribeRecipient"
},
"source": "CUSTOMER_LINK",
"broadcastSendDeliveryId": "id",
"createdAt": {
"__typename": "DateTime"
}
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Was this page helpful?

