Skip to content

association.created

This event triggers whenever a new project-contact assoication is created.

association.created
{
"event": "association.created",
"data": {
"project": {
"id": "example-project-id",
"name": "Example Project",
"description": "An example project description",
"isArchived": false,
"createdAt": "2023-01-01T00:00:00.000Z",
"updatedAt": "2023-01-02T00:00:00.000Z",
"isDeleted": false,
"clientId": "example-client-id",
"clientName": "Example Client",
"clientDeleted": false,
"clientArchived": false,
"endCustomer": "Example End Customer",
"associations": [
{
"contactId": "example-contact-id",
"contactName": "John Doe",
"contactEmail": "john.doe@example.com",
"contactType": "MANAGER",
"notificationLevel": "COPY_WITH_LINK"
}
]
},
"contact": {
"id": "example-contact-id",
"name": "John Doe",
"description": "An example contact description",
"isArchived": false,
"createdAt": "2023-01-01T00:00:00.000Z",
"updatedAt": "2023-01-02T00:00:00.000Z",
"isDeleted": false,
"clientId": "example-client-id",
"clientName": "Example Client",
"clientArchived": false,
"clientDeleted": false,
"email": "john.doe@example.com",
"hasPortalAccess": true,
"associations": [
{
"projectId": "example-project-id",
"projectName": "Example Project",
"endCustomer": "Example End Customer",
"contactType": "MANAGER",
"notificationLevel": "COPY_WITH_LINK"
}
]
},
"association": {
"projectId": "example-project-id",
"projectName": "Example Project",
"projectEndCustomer": "Example End Customer",
"contactId": "example-contact-id",
"contactName": "John Doe",
"contactType": "MANAGER",
"notificationLevel": "COPY_WITH_LINK"
}
}
}

At Crewsum we take customer feedback very seriously. If you find anything wrong with this documentation or would like to request a feature, please reach out to sunny.avery@crewsum.com.