Library Events¶
Common payload elements¶
Minimum payload for library events¶
The following returns for a library event if all the conditional parameters are set to false while creating webhooks:
Parameter name |
Type |
Description |
Possible enums |
|
String |
The unique identifier that is used to refer to the library template. |
|
|
String |
The name of the library template that will be used to identify it, in emails and on the website. |
|
|
Enum |
The current status of the library document. |
AUTHORING, ACTIVE or REMOVED |
Payload attributes inherited from Library¶
Parameter name |
Type |
Description |
Possible enums |
|
String |
The unique identifier that is used to refer to the library template. |
|
|
String |
The name of the library template that will be used to identify it, in emails and on the website. |
|
|
String |
Email of the creator of the library document. |
|
|
Date |
Library document creation date. |
|
|
Enum |
The current status of the library document. |
AUTHORING, ACTIVE, or REMOVED |
|
String |
Specifies who should have access to this library document. |
USER, GROUP, ACCOUNT, or GLOBAL |
|
String |
A list of one or more library template types. |
DOCUMENT or FORM_FIELD_LAYER |
|
String[] |
If the event notification payload size exceeds the defined threshold, the conditional parameters will not be sent in the notification request, even if they are set to true by the webhook creator. The |
|
|
Object |
Returns the IDs of the documents of a library document. Returned only if the conditional parameter |
LIBRARY_ALL¶
Web app name: Not available in the UI
If you want to subscribe to all library events, subscribe to LIBRARY_ALL.
Tip
LIBRARY_ALL retrieves all agreement events, including events added in the future.
LIBRARY_DOCUMENT_AUTO_CANCELLED_CONVERSION_PROBLEM¶
Parameter name |
Type |
Description |
---|---|---|
|
String |
The user ID of the creator of the library document. |
|
String |
The user email of the creator of the library document. |
|
String |
The user ID of the creator of the library document. |
|
String |
The user email of the creator of the library document. |
|
String |
Never part of the payload. |
|
String |
Never part of the payload. |
{
"webhookId": "",
"webhookName": "",
"webhookNotificationId": "",
"webhookUrlInfo": {
"url": ""
},
"webhookScope": "",
"webhookNotificationApplicableUsers": [
{
"id": "",
"email": "",
"role": "",
"payloadApplicable": ""
}
],
"event": "",
"subEvent": "",
"eventDate": "",
"eventResourceType": "",
"eventResourceParentType": "",
"eventResourceParentId": "",
"participantUserId": "",
"participantUserEmail": "",
"actingUserId": "",
"actingUserEmail": "",
"actingUserIpAddress": "",
"initiatingUserId": "",
"initiatingUserEmail": "",
"libraryDocument": {
"id": "",
"name": "",
"creatorEmail": "",
"createdDate": "",
"status": "",
"sharingMode": "",
"templateTypes": [
""
]
}
}
LIBRARY_DOCUMENT_CREATED¶
Web app name: Not available in the UI
Parameter name |
Type |
Description |
---|---|---|
|
String |
The user ID of the creator of the library document. |
|
String |
The user email of the creator of the library document. |
|
String |
The user ID of the creator of the library document. |
|
String |
The user email of the creator of the library document. |
|
String |
The user ID of the sharee of the creator of the library document who modified the library document on behalf of the creator in the case of account sharing. |
|
String |
The user email of the sharee of the creator of the library document who modified the library document on behalf of the creator in the case of account sharing. |
{
"webhookId": "",
"webhookName": "",
"webhookNotificationId": "",
"webhookUrlInfo": {
"url": ""
},
"webhookScope": "",
"webhookNotificationApplicableUsers": [
{
"id": "",
"email": "",
"role": "",
"payloadApplicable": ""
}
],
"event": "",
"subEvent": "",
"eventDate": "",
"eventResourceType": "",
"eventResourceParentType": "",
"eventResourceParentId": "",
"participantUserId": "",
"participantUserEmail": "",
"actingUserId": "",
"actingUserEmail": "",
"actingUserIpAddress": "",
"initiatingUserId": "",
"initiatingUserEmail": "",
"libraryDocument": {
"id": "",
"name": "",
"creatorEmail": "",
"createdDate": "",
"status": "",
"sharingMode": "",
"templateTypes": [
""
],
"documentsInfo": {
"documents": [
{
"id": "",
"label": "",
"numPages": "",
"mimeType": "",
"name": ""
}
]
}
}
}
LIBRARY_DOCUMENT_MODIFIED¶
Web app name: Not available in the UI
Parameter name |
Type |
Description |
---|---|---|
|
String |
The user ID of the creator of the library document. |
|
String |
The user email of the creator of the library document. |
|
String |
The user ID of the creator of the library document. |
|
String |
The user email of the creator of the library document. |
|
String |
The user ID of the sharee of the creator of the library document who modified the library document on behalf of the creator in the case of account sharing |
|
String |
The user email of the sharee of the creator of the library document who modified the library document on behalf of the creator in the case of account sharing |
{
"webhookId": "",
"webhookName": "",
"webhookNotificationId": "",
"webhookUrlInfo": {
"url": ""
},
"webhookScope": "",
"webhookNotificationApplicableUsers": [
{
"id": "",
"email": "",
"role": "",
"payloadApplicable": ""
}
],
"event": "",
"subEvent": "",
"eventDate": "",
"eventResourceType": "",
"eventResourceParentType": "",
"eventResourceParentId": "",
"participantUserId": "",
"participantUserEmail": "",
"actingUserId": "",
"actingUserEmail": "",
"actingUserIpAddress": "",
"initiatingUserId": "",
"initiatingUserEmail": "",
"libraryDocument": {
"id": "",
"name": "",
"creatorEmail": "",
"createdDate": "",
"status": "",
"sharingMode": "",
"templateTypes": [
""
],
"documentsInfo": {
"documents": [
{
"id": "",
"label": "",
"numPages": "",
"mimeType": "",
"name": ""
}
]
}
}
}