Updated

Implement the employments.updated webhook to know when an employments object is updated.

Employment objects are updated through periodic scanning.

Event

employments.updated

Payload


account string uuid

ID of the account the employment was updated for.


user string uuid

ID of the user the account belongs to.


employment string uuid

ID of the employment that was updated.


Examples

curl -X POST https://api.argyle.com/v1/webhooks \
  -u api_key_id:api_key_secret \
  -H "Content-Type: application/json" \
  -d '{"events": ["employments.updated"],
       "secret": "<secret for signature verification>",
         "name": "employments.updated",
          "url": "https://webhook.site/url"}'
{
  "event": "employments.updated",
  "name": "An employment was updated",
  "data": {
    "account": "ada143be-3c90-4534-b7ea-9899674dc6e0",
    "user": "3823026e-a964-45f6-b201-6b8c096b30d3",
    "employment": "4334r6e-a964-45eef6-b201-64464"
  }
}