---
title: "Email the signed-in account once the job ends."
method: POST
path: "/v1/jobs/{job_id}/notify"
tags: ["jobs"]
---

# Email the signed-in account once the job ends.

`POST /v1/jobs/{job_id}/notify`

## Request

- Base URL: `https://api.japanfold.aiand.com`
- URL: `https://api.japanfold.aiand.com/v1/jobs/{job_id}/notify`
- Auth: one of:
  - none
  - HTTP bearer

One mail, to the account's own address, when the job succeeds or fails; none if it is cancelled. Body `{"lang": "en"|"ja"}`, optional. The job then carries `email_when_done: true`. 409 when the account has no email address or the job has already ended.

## Path parameters

- `job_id` string, required

## Response `200`

Asked; `email` is the address, masked

## Other responses

- `401`: Unauthorized
- `404`: Not found
- `409`: Conflict

---

[API](https://skmtc.dev/aiand/apis/japanfold-api.md) · [All operations](https://skmtc.dev/aiand/apis/japanfold-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aiand/apis/japanfold-api/revisions/9f4be813b447?raw)
