---
updatedAt: 2025-06-05T21:41:24.000Z
agentTools:
  projectIndex: https://apidocs.officient.io/llms.txt
---

# Add webhook

use this API to subscribe to notifications

Scope required: webhooks:write

The following events are supported:

* person\_added
* person\_updated
* person\_deleted
* person\_reactivated
* asset\_added
* asset\_updated
* asset\_deleted
* days\_off\_added
* days\_off\_updated
* days\_off\_deleted
* person\_team\_updated
* person\_manager\_updated
* person\_role\_updated

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "officient-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.officient.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/1.0/webhooks/add": {
      "post": {
        "summary": "Add webhook",
        "description": "use this API to subscribe to notifications",
        "operationId": "add-webhook",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"data\": {\n        \"id\": \"7\"\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "7"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "http",
              "code": "{  \n   \"target_url\":\"https://hooks.zapier.com/<unique_path>\",\n   \"event\":\"person_added\"\n}"
            }
          ],
          "samples-languages": [
            "http"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```