> ## 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.

# CreateCoursePayload

> Autogenerated return type of CreateCourse.



**Kind**: `object`

## Fields

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`collection`**: `SpacesCollection`

The collection resolved or created for the course. Reported whenever
Collection resolution succeeded, even if course creation then failed — the
Collection can survive that failure, so check this to see whether one was left
behind. Null only when no Collection was resolved at all.

---

**`collectionNewlyCreated`**: `Boolean`

True when this call created the collection rather than placing the course in
an existing one. Reported alongside collection under the same conditions,
including when course creation then failed.

---

**`course`**: `Course`

---

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



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