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

Create

POST
webhooks
Creates a new webhook subscription for the authenticated client.
This API allows clients to register a new webhook by providing a unique webhook name, a public HTTPS endpoint URL, and one or more actions to subscribe to. Once created, the webhook will receive event notifications whenever any of the configured actions occur in the system.
Each webhook name must be unique per client, and a single webhook can subscribe to multiple actions. The created webhook becomes active immediately after successful creation.

Request

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 POST '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:04
Previous
List
Next
Delete
Built with