1. Webhook
Einpix API documentation
  • Changelog
  • About
  • API
    • Task
      • Create
      • List
      • Detail
      • Change status
    • Checklist
      • By task
    • Client
      • Create
      • Update
      • List
      • Detail
    • User
      • List
      • Detail
    • Venue
      • Create
      • List
      • Detail
    • Category
      • Task
        • List
        • Detail
      • Equipment
        • List
    • Tag
      • List
      • Detail
    • Template
      • Checklist
        • List
        • Detail
    • Equipment
      • Create
      • Update
      • Delete
      • Change picture
      • Remove picture
      • Add attachments
      • Remove attachments
      • List
      • List by category
      • Detail
    • Comment
      • Create
      • Detail
      • List
    • Worklog
      • List
      • Hisory
    • Materials
      • By task
    • Service
      • By task
    • Webhook
      • List
        GET
      • Create
        POST
      • Delete
        DELETE
      • Update
        PUT
  • Schemas
    • User
    • Venue
    • Task
    • Task comment
    • Tag
    • Task category
    • Picture
    • Check item
    • Equipment category
    • Equipment
    • Client
    • Task severity
    • Attachment
    • Changed log
    • User group
    • WDJ material
    • Unit master
    • WDJ service
    • Worklog History
    • CountryEnum
    • Checklist template
    • Worklog
    • Activity task
    • Downtime task
    • Sla rule
    • Webhook action
    • Webhook
    • WebhookEnumm
  1. Webhook

Update

PUT
webhooks/{id}
Updates an existing webhook subscription for the authenticated client.
This API allows clients to modify the configuration of an existing webhook, including its name, target URL, and subscribed actions. After the update is applied, the webhook will immediately start receiving event notifications based on the new configuration.
The webhook to be updated is identified by its unique ID. Validation rules such as unique webhook names and valid action values continue to apply during updates.

Request

Path Params

Header Params

Body Params application/jsonRequired

Example
{
    "name": "string",
    "actions": [
        "task.created"
    ],
    "url": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.einpix.com/public/v1/webhooks/' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "string",
    "actions": [
        "task.created"
    ],
    "url": "string"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "id": "82",
    "name": "Dr. Terrence Willms",
    "url": "https://stiff-bend.us/",
    "actions": [
        {
            "id": "7",
            "action": "tasks.end_date.update"
        }
    ],
    "craeted": "2025-05-12T06:42:23.683Z",
    "updated": "2025-05-14T06:42:23.683Z"
}
Modified at 2026-02-20 06:51:11
Previous
Delete
Next
User
Built with