MessageCreateInput
The MessageCreateInput object is the GraphQL data type of the input to our createMessage mutation. It provides us with all the details we need to create a new message in the inbox.

GraphQL Object Type

input MessageCreateInput {
title: String
content: String
customerEmail: String
customerName: String
contactId: String
creatorId: String
status: MessageStatusTypes
sourceUrl: String
labels: [String!]
}

Fields

Field
Input Type
Description
title
String
The title of the message
content
String
The content of the message. This accepts markdown formatting.
customerEmail
String
A valid email of the customer leaving this feedback
customerName
String
A valid name of the customer leaving this feedback
contactId
String
the contact Id of the member referenced
creatorId
String
Id of the creator of the message
status
MessageStatusTypes
The status to set the new message. See MessageStatusTypes for possible values.
sourceUrl
String
the Url that this message is sourced from
labels
[String]
an array of labels associated with the new message

MessageStatusTypes

The MessageStatusTypes enum type shows the accepted input values for the status field
enum MessageStatusTypes {
UNREVIEWED
REVIEWED
}
Copy link
On this page
GraphQL Object Type
Fields
MessageStatusTypes