---
title: "Set Target Template"
method: POST
path: "/api/campaign/targets/{target_id}/template"
tags: ["campaign"]
---

# Set Target Template

`POST /api/campaign/targets/{target_id}/template`

## Request

- Base URL: `https://api.thebetterhire.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebetterhire.ai/api/campaign/targets/{target_id}/template`
- Auth: HTTP bearer

Set which email angle a target uses. Rejects an angle that isn't
offered for the target's lane (submittal is agency-only).

## Path parameters

- `target_id` string, required

## Request body

- TemplateBody
  - `template` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api.md) · [All operations](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/revisions/c8ad03e900ea?raw)
