Webhooks
Teams > Team > Updates
Subscription_type: teams/team/update
postWebhookWebhooks > Teams > Team > Updates
Payload
Example payload
{
"id": "1",
"name": "Engineering",
"description": "Engineering team description",
"avatar": "https://api.factorialhr.com/rails/active_storage/representations/redirect/team.png",
"employee_ids": [
"10",
"12"
],
"lead_ids": [
"10"
],
"company_id": "1",
"depth": 2,
"parent_team_id": "5"
}Response
Return a 200 status to indicate that the data was received successfully
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.