# Save a set of questions as a template

Saves the library questions and your own questions under a name. Requires authentication.

```http
POST https://hiresweep.com/api/openapi/intake-templates
x-api-key: YOUR_API_KEY
```

## Request body

```json
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "libraryQuestionIds": {
      "type": "array",
      "maxItems": 60,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64
      }
    },
    "customQuestions": {
      "type": "array",
      "maxItems": 60,
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          },
          "kind": {
            "enum": [
              "text",
              "long_text"
            ],
            "type": "string"
          }
        },
        "required": [
          "text",
          "kind"
        ]
      }
    }
  },
  "required": [
    "name",
    "libraryQuestionIds",
    "customQuestions"
  ]
}
```

## Responses

- `200`: The new template.
