Add Case Attachments
The ADD_CASE_ATTACHMENT event is triggered whenever new attachment added in the case.
Attributes
eventstringThe name of the event that was triggered. For this webhook, the value will always be `ADD_CASE_ATTACHMENT`.
payloadobjectThe main object containing all data related to the event.
Show child attributes
attachmentobjectAn object containing the full details of the file that was attached to the case.
Show child attributes
idstring<UUID>The unique identifier for the attachment record.
isRestrictedbooleanIndicates if the attachment is for internal view only. `true` if restricted.
isPHIbooleanIndicates if the attachment contains Protected Health Information (PHI).
fileNamestringThe original name of the uploaded file.
isDeletedbooleanIndicates if the attachment has been marked for deletion.
createdAtstring<date-time>The ISO 8601 timestamp of when the attachment was uploaded.
uploadedByobjectAn object containing details about the user who uploaded the file.
Show child attributes
idstring<UUID>The unique identifier for the uploader.
firstNamestringThe first name of the uploader.
lastNamestringThe last name of the uploader.
contentstring<base64>The Base64-encoded content of the file.
caseobjectAn object containing the full details of the case at the time of the event.
Show child attributes
idstring<UUID>The unique identifier for the case.
typestringThe type or category of the case (e.g., "GLP").
titlestringThe title of the case.
statusstringAllowed values:OPEN,ASSIGNED,IN_PROGRESS,APPROVED,REJECTED,NO_DECISION
The current status of the case.
shortIdstringA short, human-readable identifier for the case.
createdAtstring<date-time>The timestamp when the case was created.
updatedAtstring<date-time>The timestamp when the case was last updated.
assignedAtstring<date-time>The timestamp when an assignee was first added to the case.
inProgressAtstring<date-time>The timestamp when the case status changed to "IN_PROGRESS".
closedAtstring<date-time>The timestamp when the case was closed. null if still open.
isArchivedbooleanIndicates if the case is closed/archived.
isEscalatedbooleanIndicates if the case is escalated.
isImportedbooleanIndicates if the case is imported from outside.
referralCodestringIndicates if user have any referralCode.
closedBystringThe unique identifier for the user that case mark close.
inProgressBystringThe unique identifier for the user which make case in InProgress.
organizationIdstring<UUID>The unique identifier for the case belongs which organization.
archiveReasonstringIndicates if the case is archived any reason for it, null if still open.
productBundleobjectDetails about the product bundle associated with the case.
Show child attributes
namestringIndicates case product bundle name.
submitterobjectAn object containing the details of the user who submitted the case.
Show child attributes
idstringThe unique identifier of the submitter.
firstNamestringThe first name of the submitter.
lastNamestringThe last name of the submitter.
emailstringThe email address of the submitter.
dobstring<date-time>The date of birth of the submitter in ISO 8601 format.
genderstringThe gender of the submitter (e.g., MALE, FEMALE, OTHER).
phoneNumberstringThe phone number of the submitter, including country code.
addressstringThe primary address line of the submitter.
address2stringThe secondary address line of the submitter, if applicable.
citystringThe city of the submitter's address.
statestringThe state or province of the submitter's address.
postalCodestringThe postal code of the submitter's address.
activityobjectAn object that describes the specific action that triggered this webhook.
Show child attributes
idstring<UUID>The unique identifier for this activity log entry.
typestringAllowed values:CREATE_CASE,CHANGE_CASE_STATUS,ADD_CASE_COMMENT,DELETE_CASE_COMMENT,ADD_CASE_DECISION,ARCHIVE_CASE,ESCALATE_CASE,DEESCALATE_CASE,ADD_CASE_ESCALATION,REMOVE_CASE_ESCALATION,UPDATE_CASE_ESCALATION,DECISION_DELETED,ADD_CASE_ATTACHMENT,ADD_CASE_ASSIGNEE,REMOVE_CASE_ASSIGNEE,IMPORT_CASE,ADD_FORM_RESPONSE,UPDATE_FORM_RESPONSE,ADD_HR_REP,REMOVE_HR_REP,DELETE_ATTACHMENT,FOLLOWUP_EMAIL,PAYMENT_ADDED,PAYMENT_COMPLETED,PAYMENT_DELETED,PAYMENT_UPDATED,ORDER_CREATED,TEXT_INFO,REOPEN_CASE,SMS_SENT,SMS_RECEIVED,INBOUND_EMAIL,OUTBOUND_EMAIL,FOLLOWUP_FORM,ORDER_STATUS_CHANGED,ORDER_TRACKING_ADDED,PAYMENT_INFO_LINK_SENT,ADD_PAYMENT_INFO_USING_LINK,CALENDAR_EVENT_CREATED,CALENDAR_EVENT_RESCHEDULED,CALENDAR_EVENT_CANCELED,CALENDAR_EVENT_NO_SHOW,CALENDAR_EVENT_NO_SHOW_REMOVED,SUPPORT_NOTE_ADDED,SUPPORT_NOTE_UPDATED,SUPPORT_NOTE_COMPLETED,COMMENT_ACKNOWLEDGED,NOTE_ACKNOWLEDGED,VISIT_TYPE_CHANGED,PAYMENT_PREAUTHORIZED,SUBSCRIPTION_ADDED,SUBSCRIPTION_ACTIVATED,SUBSCRIPTION_COMPLETED,SUBSCRIPTION_PAUSED,SUBSCRIPTION_RESUMED,SUBSCRIPTION_CANCELLED,SUBSCRIPTION_UPDATED
The type of activity.
timestampstring<date-time>The exact timestamp when the activity occurred.
actorobjectThe user who performed the action (i.e., who added the new assignee).
Show child attributes
idstring<UUID>The ID of the actor.
firstNamestringThe first name of the actor.
lastNamestringThe last name of the actor.
emailstringThe email of the actor.
targetUserobjectThe user who was the target of the action (i.e., the user who was assigned).
Show child attributes
idstring<UUID>The ID of the assigned user.
firstNamestringThe first name of the assigned user.
lastNamestringThe last name of the assigned user.
emailstringThe email of the assigned user.
Response
{
"event": "ADD_CASE_ATTACHMENT",
"payload": {
"attachment": {
"id": "8085262f-4c1b-426b-8953-64eec489f08d",
"isRestricted": false,
"isPHI": false,
"fileName": "logo.png",
"isDeleted": false,
"createdAt": "2025-09-03T23:52:43.927Z",
"uploadedBy": {
"id": "YaM948FdwiQa3Ek3GCnYsnZTTSW2",
"firstName": "Ritik-1-Med",
"lastName": "Parikh-1-Med"
},
"content": "base64 data"
},
"case": {
"id": "5abd7b81-6702-42d7-a776-a10b363a5be2",
"type": "GLP",
"title": "Case for api_user6 user_lastname6",
"status": "APPROVED",
"shortId": "ADA-60DSBO",
"createdAt": "2025-08-08T11:29:47.888Z",
"updatedAt": "2025-09-03T23:26:48.614Z",
"assignedAt": "2025-09-03T14:48:30.565Z",
"inProgressAt": "2025-09-03T14:48:30.859Z",
"closedAt": "2025-09-03T23:26:48.584Z",
"isArchived": false,
"isEscalated": true,
"isImported": false,
"referralCode": null,
"closedBy": "YaM948FdwiQa3Ek3GCnYsnZTTSW2",
"inProgressBy": "DgHxzGRtS5gFzdL7cReiPzJcA852",
"organizationId": "652f45e9-eb17-4955-8197-4170e375327f",
"archiveReason": null,
"productBundle": {
"name": "BUNDLE-RITIK_GLP"
},
"submitter": {
"id": "sotf7RtpKeVWTivoaUYu8G8yrGx2",
"firstName": "api_user6",
"lastName": "user_lastname6",
"email": "ritik.parikh01@carevalidate.com",
"dob": "2000-01-01T00:00:00.000Z",
"gender": "MALE",
"phoneNumber": "+11235678111",
"address": "line1",
"address2": "line2",
"city": "Alpharetaa",
"state": "CA",
"postalCode": "30005"
}
},
"activity": {
"id": "d1141cfd-9f3b-4e50-ac0f-78e83477dc02",
"type": "ADD_CASE_ATTACHMENT",
"isPHI": false,
"isRestricted": false,
"timestamp": "2025-09-03T23:52:43.927Z",
"valueBefore": null,
"valueAfter": "logo.png",
"actor": {
"id": "YaM948FdwiQa3Ek3GCnYsnZTTSW2",
"firstName": "Ritik-1-Med",
"lastName": "Parikh-1-Med",
"email": "ritik.parikh+med1@carevalidate.com"
},
"targetUser": null
}
}
}