---
title: "Create Template Preview Send Job"
description: "How to call Create Template Preview Send Job (POST /api/template-preview-send-jobs) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2026-07-15/reference/create_template_preview_send_job_beta"
revision: "2026-07-15.pre"
latestUrl: "https://developers.klaviyo.com/en/reference"
operationId: "create_template_preview_send_job_beta"
method: "POST"
endpoint: "https://a.klaviyo.com/api/template-preview-send-jobs"
authentication: "privateKey"
scopes: ["templates:write"]
rateLimits: {"burst":"1/s","steady":"15/m","daily":"100/d"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
preRelease: "BETA"
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15.pre/openapi/beta/apis/create_template_preview_send_job_beta.json"
jsonApi: {"fields":{"template-preview-send-job":["created_at","id","status"]}}
related: ["https://developers.klaviyo.com/en/v2026-07-15/reference/templates-beta/llms.txt","https://developers.klaviyo.com/en/v2026-07-15/reference/get_all_universal_content_beta.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_universal_content_beta.md","https://developers.klaviyo.com/en/v2026-07-15/reference/create_universal_content_beta.md","https://developers.klaviyo.com/en/v2026-07-15/reference/update_universal_content_beta.md","https://developers.klaviyo.com/en/v2026-07-15/reference/delete_universal_content_beta.md","https://developers.klaviyo.com/en/v2026-07-15/reference/clone_universal_content_beta.md"]
---

# Create Template Preview Send Job

> This is the Markdown version of https://developers.klaviyo.com/en/v2026-07-15/reference/create_template_preview_send_job_beta

```http
POST https://a.klaviyo.com/api/template-preview-send-jobs
```


> [!WARNING]
> **This endpoint is in beta and subject to change.**
> A beta revision header (2026-07-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our [versioning and deprecation policy](https://developers.klaviyo.com/en/docs/api_versioning_and_deprecation_policy.md) for more information.


Send a test email of a template to one or more recipients.

- Revision header: `revision: 2026-07-15.pre` (required)
- Scopes: `templates:write`
- Rate limits: Burst: `1/s`, Steady: `15/m`, Daily: `100/d`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15.pre/openapi/beta/apis/create_template_preview_send_job_beta.json)

## Example request

```bash
curl --request POST \
     --url 'https://a.klaviyo.com/api/template-preview-send-jobs' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-07-15.pre' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": {
    "type": "template-preview-send-job",
    "attributes": {
      "recipients": [
        "test@example.com"
      ],
      "context": {
        "first_name": "Jane"
      }
    },
    "relationships": {
      "template": {}
    }
  }
}'
```

## Query parameters

- `fields[template-preview-send-job]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md) Allowed values: `created_at`, `id`, `status`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-07-15.pre`

## Request body

Content type: `application/vnd.api+json` (required)

- `data` (object, required)
  - `type` (string, required): Allowed values: `template-preview-send-job`
  - `attributes` (object, required)
    - `recipients` (string[], required): A list of email addresses to send the test email to. Limited to 5 recipients per request.
    - `context` (object, nullable): A JSON object of merge-variable values to render the template with. See [the template context docs](https://help.klaviyo.com/hc/en-us/articles/4408802648731) for details.
  - `relationships` (object, required)
    - `template` (object, required)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15.pre/openapi/beta/apis/create_template_preview_send_job_beta.json).
    - `profile` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15.pre/openapi/beta/apis/create_template_preview_send_job_beta.json).

### Example request body

```json
{
  "data": {
    "type": "template-preview-send-job",
    "attributes": {
      "recipients": [
        "test@example.com"
      ],
      "context": {
        "first_name": "Jane"
      }
    },
    "relationships": {
      "template": {}
    }
  }
}
```

## Responses

### 202: Success

Content type: `application/vnd.api+json`

- `data` (object, required)
  - `type` (string, required): Allowed values: `template-preview-send-job`
  - `id` (string, required): ID of the test-send job.
  - `attributes` (object, required)
    - `status` (string, required): The status of the job. Allowed values: `cancelled`, `complete`, `processing`, `queued`
    - `created_at` (string<date-time>, required): Datetime when the job was created Example: `2022-11-08T00:00:00+00:00`
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (ObjectLinks): Same fields as the first ObjectLinks above.
- `meta` (object): Response-level metadata
  - `agent_hints` (object): Optional hints emitted by the API for agent callers
    - `next_steps` (string[]): Suggested follow-up actions for agents to take after this response

#### Example response body

```json
{
  "data": {
    "type": "template-preview-send-job",
    "id": "string",
    "attributes": {
      "status": "cancelled",
      "created_at": "2022-11-08T00:00:00+00:00"
    },
    "links": {
      "self": "https://www.example.com"
    }
  },
  "links": {
    "self": "https://www.example.com"
  },
  "meta": {
    "agent_hints": {
      "next_steps": [
        "string"
      ]
    }
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
