> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# createAnnouncement

> Send an announcement — a broadcast notification — to the members of a space or
Network. This mutation's cost scales with the audience it reaches: the base
mutation cost plus one unit per recipient, up to a per-request ceiling. Naming
recipients with recipientIds is charged for exactly those members; every other
shape is charged for the target space's whole membership, because the
recipient set is not known until the send runs.

**Required scope:** `host:write:network_announcements`



**mutation** `createAnnouncement(input: CreateAnnouncementInput!): CreateAnnouncementPayload`

## Arguments

**`input`**: `CreateAnnouncementInput!` (required)

Parameters for CreateAnnouncement

## Returns

`CreateAnnouncementPayload`

**`announcement`**: `Announcement`

---

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

---

**`queued`**: `Boolean!`

True when recipient resolution was deferred to a background job, in which case
the returned announcement is created but sent shortly. False when the
announcement was created and sent synchronously.

## Examples

```graphql Mutation
mutation CreateAnnouncement($input: CreateAnnouncementInput!) {
  createAnnouncement(input: $input) {
    announcement {
      bodyHtml
      bodyText
      createdAt
      externalLink
      id
      post {
        __typename
        ... on Event {
          __typename
        }
      }
    }
    clientMutationId
    errors
    queued
  }
}
```

```json Variables
{
  "input": {
    "body": "string",
    "spaceId": "id"
  }
}
```

```json Response
{
  "data": {
    "createAnnouncement": {
      "announcement": {
        "bodyHtml": "string",
        "bodyText": "string",
        "createdAt": "value",
        "externalLink": "string",
        "id": "id",
        "post": {
          "__typename": "Event"
        }
      },
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "queued": true
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.