Webhook
Webhooks configured by the users




POST as x-www-form-urlencoded:

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


Webhook

ParamsDescription
idThe ID of an object
dbIdIdentifies the primary key from the database.
uriURI of webhook
modelModel wich will be apllied the webhook
eventEvent wich will trigger the webhook
modelIdSpecific Id of the model wich will trigger the webhook
organizationIdOrganization the webhook is part of
organizationOrganization that webhook belongs to
applicationIdApplication the webhook is part of
applicationApplication the webhook belongs to
createdAn ISO-8601 encoded UTC date string of when record was created
modifiedAn ISO-8601 encoded UTC date string of when record was updated
deletedAn ISO-8601 encoded UTC date string of when record was deleted
keyRandom ID to differentiate from others
selectedHelper field for clients
highlightedHelper field for clients
expandedHelper field for clients
loadedHelper field for clients
loadingHelper field for clients

CreateWebhookInput

ArgumentsTypeDescription
organizationId
ID
SCALAR
The organization ID that webhook belongs to
applicationId
ID
SCALAR
The application ID that webhook belongs to
uri
Not Null
URI of webhook
model
Not Null
Model wich will be apllied the webhook
event
Not Null
Event wich will trigger the webhook
modelId
Int
SCALAR
Specific Id of the model wich will trigger the webhook
clientMutationId
String
SCALAR

UpdateWebhookInput

ArgumentsTypeDescription
id
Not Null
The ID of a webhook object
uri
String
SCALAR
URI of webhook
model
WebhookModelType
ENUM
Model wich will be apllied the webhook
event
WebhookEventType
ENUM
Event wich will trigger the webhook
modelId
Int
SCALAR
Specific Id of the model wich will trigger the webhook
clientMutationId
String
SCALAR

DeleteWebhookInput

ArgumentsTypeDescription
id
Not Null
The ID of a webhook object
clientMutationId
String
SCALAR