---
updatedAt: 2025-10-29T14:14:20.000Z
agentTools:
  projectIndex: https://apidocs.acculynx.com/llms.txt
---

# Job Trade Type Changed Webhook

Triggered when a job's trade type classification is modified.

**Payload includes:**
* Job ID and modification timestamp
* Trade type details (system default or custom)
* Direct API link to job resource

Distinguishes between system-defined and custom trade type configurations.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "description": "If you are experiencing issues integrating with this API, please work with your web developer to review your programming before reaching out to us with an issue as we do not provide web development consulting services.\n\nThe AccuLynx Webhooks API provides customers programmatic access to manage their webhooks subscriptions.\n\nThe base url for these endpoints: is **https://api.acculynx.com/webhooks/v2**\n\n# Authentication Requirements\n- All API endpoints require a valid API key\n- Provide your API key in the `Authorization` header as a Bearer token\n\n# Testing Options\n\n## Real API Testing \n- Requires valid API key authentication\n- Interacts with live production data\n- Get your API key from your AccuLynx API page\n\nTo authenticate:\n1. Select the 'api.acculynx.com' server from the Servers list box\n2. Click the green Authorize button next to the Servers list box\n3. Enter your API key as a Bearer token when prompted\n4. Click Authorize again to complete authentication",
    "version": "2.2607.0",
    "title": "Webhooks API",
    "contact": {
      "url": "https://apidocs.acculynx.com/docs/contact-us"
    },
    "license": {
      "name": "Proprietary",
      "url": "https://my.acculynx.com/signin/TermsView"
    }
  },
  "servers": [
    {
      "description": "AccuLynx API",
      "url": "https://api.acculynx.com/webhooks/v2"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "webhooks": {
    "job.trade-type_changed": {
      "post": {
        "summary": "Job Trade Type Changed Webhook",
        "operationId": "jobTradeTypeChanged",
        "description": "Triggered when a job's trade type classification is modified.\n\n**Payload includes:**\n* Job ID and modification timestamp\n* Trade type details (system default or custom)\n* Direct API link to job resource\n\nDistinguishes between system-defined and custom trade type configurations.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/jobTradeTypeChangedEvent",
                "examples": [
                  {
                    "topicName": "job.trade-type_changed",
                    "eventDateTime": "2024-10-20T19:51:31.0016676Z",
                    "eventId": "171c62f4-de3f-4295-b1d3-7ac8b9f22497",
                    "subscriptionId": "b87178d8-543c-4cd1-b68d-e007e88e7351",
                    "event": {
                      "job": {
                        "id": "bf5dabf1-004f-4844-a85e-2c1716d6365a",
                        "tradeTypes": [
                          {
                            "id": "819b0ed6-16a0-4714-818c-35f8c2381864",
                            "name": "Drywall"
                          }
                        ],
                        "_link": "https://api.acculynx.com/api/v2/jobs/bf5dabf1-004f-4844-a85e-2c1716d6365a"
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "204": {
            "$ref": "#/components/responses/204NoContent"
          },
          "400": {
            "$ref": "#/components/responses/400BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/401Unauthorized"
          },
          "404": {
            "$ref": "#/components/responses/404NotFound"
          }
        },
        "security": [
          {
            "bearerAuth": [
              "read:users",
              "public"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    },
    "schemas": {
      "error": {
        "description": "Standard error response structure.\nAll API errors follow this consistent format to simplify error handling in your application.\n",
        "properties": {
          "detail": {
            "description": "A human-readable explanation specific to this occurrence of the problem.\nThis provides additional details to help resolve this specific error instance.\n",
            "examples": [
              "More info about this error.",
              "Validation failed for requested operation"
            ],
            "type": "string"
          },
          "status": {
            "description": "The HTTP status code for this occurrence of the problem.\nThis will match the HTTP response status code.\n",
            "examples": [
              400
            ],
            "type": "number"
          },
          "title": {
            "description": "A short, human-readable summary of the problem.\nThis should not change from occurrence to occurrence of the same error.\n",
            "examples": [
              "This error happened."
            ],
            "type": "string"
          },
          "traceId": {
            "description": "A unique identifier for this error occurrence.\nInclude this ID when contacting AccuLynx support about an error.\n",
            "examples": [
              "40f2a8f1-4db865dd47a69226"
            ],
            "type": "string"
          },
          "type": {
            "description": "A URI reference that identifies the problem type.\nThis provides a machine-readable identifier for the error category.\n",
            "examples": [
              "https://tools.ietf.org/html/rfc7235#section-3.1"
            ],
            "type": "string"
          }
        },
        "required": [
          "type",
          "title",
          "status"
        ],
        "type": "object"
      },
      "webhookEvent": {
        "properties": {
          "eventDateTime": {
            "examples": [
              "2024-01-13T11:54:45Z"
            ],
            "format": "date-time",
            "type": "string"
          },
          "eventId": {
            "examples": [
              "f3c1b7dd-7973-4cf6-9287-77b179ff06fc"
            ],
            "format": "uuid",
            "type": "string"
          },
          "subscriptionId": {
            "examples": [
              "6d77350a-68a6-40a6-a8f7-5160116da837"
            ],
            "format": "uuid",
            "type": "string"
          },
          "topicName": {
            "examples": [
              "job.milestone.current_changed",
              "job_created",
              "invoice.updated",
              "contact.custom_field.changed"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "baseObject": {
        "properties": {
          "id": {
            "examples": [
              "40be7484-ece1-4a01-9b4c-2de030d0c841"
            ],
            "format": "uuid",
            "type": "string"
          },
          "_link": {
            "examples": [
              "https://api.acculynx.com/api/v2/jobs/40be7484-ece1-4a01-9b4c-2de030d0c841"
            ],
            "format": "uri",
            "type": "string"
          }
        },
        "type": "object"
      },
      "tradeType": {
        "properties": {
          "id": {
            "description": "Unique identifier that represents the trade type",
            "examples": [
              "be6f252d-5aa6-49e3-a2e2-470a67f88711"
            ],
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "description": "Name of the specified trade type",
            "examples": [
              "Windows",
              "Drywall"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "jobTradeTypeChanged": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/tradeType"
        }
      },
      "jobTradeTypeChangedEvent": {
        "allOf": [
          {
            "$ref": "#/components/schemas/webhookEvent"
          },
          {
            "properties": {
              "event": {
                "properties": {
                  "job": {
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/baseObject"
                      },
                      {
                        "properties": {
                          "tradeTypes": {
                            "$ref": "#/components/schemas/jobTradeTypeChanged"
                          }
                        },
                        "type": "object"
                      }
                    ]
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          }
        ]
      }
    },
    "responses": {
      "400BadRequest": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/error"
            }
          }
        },
        "description": "Bad Request - The server cannot process the request due to a client error.\nCommon causes:\n- Invalid request format\n- Missing required fields\n- Validation errors in the request data\n"
      },
      "401Unauthorized": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/error"
            }
          }
        },
        "description": "Unauthorized - Authentication is required or has failed.\nCommon causes:\n- Missing API key\n- Invalid API key\n- Expired or deactivated API key\n"
      },
      "404NotFound": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/error"
            }
          }
        },
        "description": "Not Found - The requested resource does not exist.\nCommon causes:\n- Invalid subscription ID\n- Subscription has been deleted\n- URL path contains typos or incorrect values\n"
      },
      "204NoContent": {
        "description": "The webhook was received successfully."
      }
    }
  }
}
```