---
title: Generate Thank You E-mail API
slug: generate-thank-you-email
url: https://apyhub.com/sharpapi/service/generate-thank-you-email
provider: SharpAPI
categories: [Communications, Smart Generation]
auth: api_key
---

# Generate Thank You E-mail API

Generate a thank-you email from a brief, with optional language, length, context, and tone controls. Returns a job ID, status URL, and finished email.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/sharpapi/api/v1/ecommerce/thank_you_email` | What it does Submits an asynchronous job to generate a thank-you email from the supplied content an… | 50 |
| GET | `/sharpapi/api/v1/ecommerce/thank_you_email/job/status/:job_id` | What it does Retrieves the current status of a Generate Thankyou Email job identified by its jobid.… | 1 |

## About

## What it does
Thank You Email Generator creates a thank-you email from a short content brief and returns the generated message asynchronously.

Send a `body` object with the required `content` field, which should describe the product name and parameters you want reflected in the email. You can also include `context` for extra instructions, `language` to set the output language, `max_length` to cap the email length in words, and `voice_tone` to steer the style. The POST endpoint returns a `job_id` and `status_url` so you can track generation without blocking your workflow.

When the job finishes, the status endpoint returns a structured response containing the job `status` and the generated `email` inside `data.attributes.result`. That makes it easy to plug into systems that need a concise follow-up message after a purchase, interview, support interaction, event registration, or referral.

Use Thank You Email Generator when you need a quick, readable thank-you note without building your own prompt pipeline. It fits into CRM automations, post-interaction workflows, and internal tools where the input is a short brief and the output is a finished email body.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/sharpapi/service/generate-thank-you-email
