Post Mutations
The post mutations allow you to create, update, and delete posts within your Teachify school. These operations enable you to programmatically manage your blog content and article publishing.
Available Mutations
Manages post entities:
createPost
- Creates a new post.updatePost
- Updates an existing post.deletePost
- Deletes a post (soft delete).
Error Handling
All post mutations return an errors
field in the response that will contain any validation or processing errors that occurred during the operation.
Post Access Types
Posts support different access types:
login_required
- Users must be logged in to accesspaid
- Users must have purchased accesspublic_access
- Available to all users
For more information about the Teachify Admin API, please refer to the API Overview.