Users
Webhook events for IC Project users.
Events
| Event | Trigger |
|---|---|
user.created | A user is created. |
user.updated | A user is updated. |
user.deleted | A user is deleted. |
User created
user.created
| Field | Type | Example |
|---|---|---|
userId | UUID | 61b78364-618e-4001-90ae-9de48328a93a |
shortCode | string (max 6 characters) | qwerty |
firstName | string (max 150 characters) | null | John |
lastName | string (max 150 characters) | null | Doe |
email | email | null | KU6ZD@example.com |
pictureSm | URL | null | https://example.com/pictureSm.jpg |
pictureLg | URL | null | https://example.com/pictureLg.jpg |
isExternal | boolean | false |
canLogIn | boolean | true |
hourlyRate | number (float) | null | 0.0 |
hoursPerWorkDay | integer | 8 |
tasksPerWorkDay | integer | 5 |
jobPositionId | UUID | null | fcfc6cef-e519-4a60-8e75-d9b69080cffe |
jobPositionName | string (max 150 characters) | null | Job Position Name |
contractorId | UUID | null | 1d6b977d-d095-41dc-a5c4-e2516eaf33eb |
contractorName | string (max 150 characters) | null | Contractor Name |
phoneNumber | string (max 20 characters) | null | +1234567890 |
language | string (max 10 characters) | null | en |
is24HourFormat | boolean | false |
timezone | string (max 60 characters) | null | UTC |
decorator | string (max 20 characters) | #ffffff |
{
"userId": "61b78364-618e-4001-90ae-9de48328a93a",
"shortCode": "qwerty",
"firstName": "John",
"lastName": "Doe",
"email": "KU6ZD@example.com",
"pictureSm": "https://example.com/pictureSm.jpg",
"pictureLg": "https://example.com/pictureLg.jpg",
"isExternal": false,
"canLogIn": true,
"hourlyRate": 0.0,
"hoursPerWorkDay": 8,
"tasksPerWorkDay": 5,
"jobPositionId": "fcfc6cef-e519-4a60-8e75-d9b69080cffe",
"jobPositionName": "Job Position Name",
"contractorId": "1d6b977d-d095-41dc-a5c4-e2516eaf33eb",
"contractorName": "Contractor Name",
"phoneNumber": "+1234567890",
"language": "en",
"is24HourFormat": false,
"timezone": "UTC",
"decorator": "#ffffff"
}User updated
user.updated
| Field | Type | Example |
|---|---|---|
userId | UUID | 61b78364-618e-4001-90ae-9de48328a93a |
shortCode | string (max 6 characters) | qwerty |
firstName | string (max 150 characters) | null | John |
lastName | string (max 150 characters) | null | Doe |
email | email | null | KU6ZD@example.com |
pictureSm | URL | null | https://example.com/pictureSm.jpg |
pictureLg | URL | null | https://example.com/pictureLg.jpg |
isExternal | boolean | false |
canLogIn | boolean | true |
hourlyRate | number (float) | null | 0.0 |
hoursPerWorkDay | integer | 8 |
tasksPerWorkDay | integer | 5 |
jobPositionId | UUID | null | fcfc6cef-e519-4a60-8e75-d9b69080cffe |
jobPositionName | string (max 150 characters) | null | Job Position Name |
contractorId | UUID | null | 1d6b977d-d095-41dc-a5c4-e2516eaf33eb |
contractorName | string (max 150 characters) | null | Contractor Name |
phoneNumber | string (max 20 characters) | null | +1234567890 |
language | string (max 10 characters) | null | en |
is24HourFormat | boolean | false |
timezone | string (max 60 characters) | null | UTC |
decorator | string (max 20 characters) | #ffffff |
{
"userId": "61b78364-618e-4001-90ae-9de48328a93a",
"shortCode": "qwerty",
"firstName": "John",
"lastName": "Doe",
"email": "KU6ZD@example.com",
"pictureSm": "https://example.com/pictureSm.jpg",
"pictureLg": "https://example.com/pictureLg.jpg",
"isExternal": false,
"canLogIn": true,
"hourlyRate": 0.0,
"hoursPerWorkDay": 8,
"tasksPerWorkDay": 5,
"jobPositionId": "fcfc6cef-e519-4a60-8e75-d9b69080cffe",
"jobPositionName": "Job Position Name",
"contractorId": "1d6b977d-d095-41dc-a5c4-e2516eaf33eb",
"contractorName": "Contractor Name",
"phoneNumber": "+1234567890",
"language": "en",
"is24HourFormat": false,
"timezone": "UTC",
"decorator": "#ffffff"
}User deleted
user.deleted
| Field | Type | Example |
|---|---|---|
userId | UUID | 31641e7e-1c0f-47e3-8a42-d46a561d9a62 |
{
"userId": "31641e7e-1c0f-47e3-8a42-d46a561d9a62"
}