> ## Documentation Index
> Fetch the complete documentation index at: https://dronebundle.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# job_type.created

> Received when a new job type is created.

Event triggered when a custom job type is created in your workspace, either through the dashboard or via the API. Predefined job types (e.g., Wind Turbine, Cell Tower) do not trigger this event.

## Response Body Parameters

All webhook payloads follow a consistent top-level structure with event-specific data nested within the `data` object.

<ResponseField name="delivery_id" type="string">
  Unique identifier for this delivery. Use this to deduplicate events.
</ResponseField>

<ResponseField name="event" type="string">
  The event type that triggered the webhook (e.g., `job_type.created`).
</ResponseField>

<ResponseField name="timestamp" type="number">
  Unix timestamp (milliseconds) when the event was delivered.
</ResponseField>

<ResponseField name="workspace_id" type="string">
  The workspace where the event occurred.
</ResponseField>

<ResponseField name="data" type="object">
  The created job type.

  <Expandable title="properties">
    <ResponseField name="id" type="string">
      Unique identifier for the job type.
    </ResponseField>

    <ResponseField name="name" type="string">
      Job type name.
    </ResponseField>

    <ResponseField name="icon" type="string">
      Icon identifier used in the dashboard (e.g., `sun`, `wind`, `zap`).
    </ResponseField>

    <ResponseField name="is_predefined" type="boolean">
      Whether this is a predefined system job type. Always `false` for custom job types.
    </ResponseField>

    <ResponseField name="created" type="number">
      Unix timestamp (milliseconds) when the job type was created.
    </ResponseField>

    <ResponseField name="updated" type="number">
      Unix timestamp (milliseconds) when the job type was last updated.
    </ResponseField>

    <ResponseField name="created_by" type="object">
      The user or API key that created the job type.

      <Expandable title="properties">
        <ResponseField name="type" type="string">
          Either `user` or `api_key`.
        </ResponseField>

        <ResponseField name="id" type="string">
          User ID or API key ID.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json Example Payload theme={null}
  {
    "delivery_id": "019d4d54-113d-7548-8e92-2b96ac076c64",
    "event": "job_type.created",
    "timestamp": 1775118848317,
    "workspace_id": "01986573-8d04-72fc-85b3-573c77a18511",
    "data": {
      "id": "019d4d54-0b41-7445-905c-7b21dc51cab9",
      "name": "Solar Panel Scan",
      "icon": "sun",
      "is_predefined": false,
      "created": 1775118846786,
      "updated": 1775118846786,
      "created_by": {
        "type": "api_key",
        "id": "019d4d1c-eff1-730d-af97-b7271bb27c52"
      }
    }
  }
  ```
</ResponseExample>
