- A new profile object is added after a newly connected payroll account is scanned with an initial scan.
- An existing profile object is updated with new information after a periodic scan.
Added
POST/v1/webhooks
Implement the profiles.added webhook to know when a new profile object is added.
- A new profile object is added when a new account object is created and scanned.
Request body
Webhook message
name(string, optional): Name used for the webhook subscription.data(object, optional)account(string (uuid), optional): ID of the account.user(string (uuid), optional): ID of the user.profile(string (uuid), optional): ID of the profile.
- curl
- python
Updated
POST/v1/webhooks
Implement the profiles.updated webhook to know when a profile object is updated.
- Profile objects are updated through periodic scanning.
Request body
Webhook message
name(string, optional): Name used for the webhook subscription.data(object, optional)account(string (uuid), optional): ID of the account.user(string (uuid), optional): ID of the user.profile(string (uuid), optional): ID of the profile.
- curl
- python