Logo of FrontifyDeveloper PortalArrow to the right
GraphQL Reference
Mutation

createAssetComment():CreateAssetComment

Create a new Asset Comment. Requires basic:write scope to be accessible and Asset permission level COMMENT.

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of CreateAssetCommentInput
assetId: ID!

Id of the Asset where you wish to create a new AssetComment.

content: String!

AssetComment content. Can include User mentions by wrapping an authorized Project User Id in the form of @[user:<id>] where <id> is the User integer or global identifier.

marking: MarkingInput

Add a Marking (highlighted area) to the new AssetComment.

Fields of CreateAssetComment
comment:AssetComment!

AssetComment details.