Label
Labels used to filter messages




POST as x-www-form-urlencoded:

https://joy.classapp.co/graphql?access_token=YOUR_TOKEN_HERE&client_id=YOUR_CLIENT_ID


Label

ParamsDescription
idModel identifier
dbId
titlelabel title
colorcolor of label
typeThe type of label is an ENUM
createdAn ISO-8601 encoded UTC date string of when record was created
modifiedAn ISO-8601 encoded UTC date string of when record was modified
deletedAn ISO-8601 encoded UTC date string of when record was deleted
forceDeleteForce delete label
usedInMessagesCheck if label is used by messages

CreateLabelInput

ArgumentsTypeDescription
organizationId
Not Null
organization ID
title
Not Null
label title
color
Not Null
color of label
type
LabelType
ENUM
The type of label is an ENUM
clientMutationId
String
SCALAR

UpdateLabelInput

ArgumentsTypeDescription
id
Not Null
Label ID
title
String
SCALAR
label title
color
String
SCALAR
color of label
type
LabelType
ENUM
The type of label is an ENUM
clientMutationId
String
SCALAR

DeleteLabelInput

ArgumentsTypeDescription
id
Not Null
Label ID
forceDelete
Boolean
SCALAR
Force delete label
clientMutationId
String
SCALAR