---
title: "Create a new scan template"
method: POST
path: "/account/tasks/templates"
tags: ["Account"]
---

# Create a new scan template

`POST /account/tasks/templates`

## Request body

- ScanTemplateOptions
  - `name` string, required
  - `description` string
  - `params` object
  - `global` boolean, required
  - `acl` object, required

## Response `200`

scan template

- ScanTemplate
  - `id` string, uuid, required
  - `client_id` string, uuid
  - `organization_id` string, uuid
  - `agent_id` string, uuid
  - `site_id` string, uuid
  - `cruncher_id` string, uuid
  - `created_at` integer
  - `created_by` string, email
  - `created_by_user_id` string, uuid
  - `updated_at` integer
  - `type` string
  - `status` string
  - `error` string
  - `params` object
  - `stats` object
  - `hidden` boolean
  - `parent_id` string, uuid
  - `recur` boolean
  - `recur_frequency` string
  - `start_time` integer
  - `recur_last` integer
  - `recur_next` integer
  - `recur_last_task_id` string, uuid
  - `name` string
  - `description` string
  - `grace_period` string
  - `source_id` string
  - `template_id` string, uuid
  - `size_site` integer
  - `size_data` integer
  - `size_results` integer
  - `hosted_zone_id` string, uuid
  - `linked_task_count` integer
  - `global` boolean, required
  - `acl` object, required

## Other responses

- `400` — invalid request body
- `401` — Access token is missing or invalid
- `422` — invalid request body

## Changes

- **2022-06-23** `4244458bf900` — 1 breaking, 35 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - added the optional property `agent_id` to the response with the `200` status
  - added the optional property `client_id` to the response with the `200` status
  - added the optional property `created_at` to the response with the `200` status
  - …32 more
- **2022-06-23** `83affdd268e5` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/rumble/apis/rumble-api-deprecated/changes/account/tasks/templates/post.md)

---

[API](https://skmtc.dev/rumble/apis/rumble-api-deprecated.md) · [All operations](https://skmtc.dev/rumble/apis/rumble-api-deprecated/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rumble/rumble-api-deprecated/revisions/7c193c1fcd5c/schema)
