Skip to main content

Fields

accounts : [String!]! required

The list of accounts related to the message.

accountType : String

The type of the account linked to the conversation of the message.

buckets : [String!]

The list of the buckets the message is in.

conversationId : Int! required

The ID of the conversation this message belongs to.

hourOccurredAt : Int! required

The hour at which the message arrived in Ink.

hoursWaiting : Int! required

The number of hours the customer has been waiting for a response to their previous message.

isAssignedToUserBucket : Boolean! required

Whether the conversation that the message belongs to is assigned to a user bucket.

isFirstFromContact : Boolean! required

Whether the message is the first one sent by the contact.

isNewThread : Boolean! required

Whether the message starts a new thread in its conversation.

opsTeam : String

The operation team that handles the message.

recentlyReceivedAutoReplies : [String!]! required

The codes of the auto replies that have been sent to the contact in the last 6 months.

replyToCommsSms : String

The body of the latest comms SMS message sent to the customer, if the message is an sms.

weekDayOccurredAt : Int! required

The week day at which the message arrived in Ink.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "accounts": "form-full-situation-what-once", "accountType": "bit-present-large-write-rest", "buckets": "strong-red-movie-to-story", "conversationId": 49101098, "hourOccurredAt": 96, "hoursWaiting": 21, "isAssignedToUserBucket": true, "isFirstFromContact": true, "isNewThread": true, "opsTeam": "customer-home-food-important-call", "recentlyReceivedAutoReplies": "ask-feel-sometimes-move-individual", "replyToCommsSms": "five-evening-see-minute-across", "weekDayOccurredAt": 16 }