---
title: "Schedule a draft"
method: POST
path: "/v1/inboxes/{id}/drafts/{draftId}/schedule"
tags: ["Drafts"]
---

# Schedule a draft

`POST /v1/inboxes/{id}/drafts/{draftId}/schedule`

## Request

- Base URL: `https://api.agentboxd.com`
- URL: `https://api.agentboxd.com/v1/inboxes/{id}/drafts/{draftId}/schedule`
- Auth: HTTP bearer

`{ send_at, expected_content_sha256? }` (`send_at` 1 minute to 30 days ahead, else `400 invalid_send_at`). 200 with the draft, now `scheduled`. `expected_content_sha256` works as on send. Needs `drafts:write` and `messages:send`.

Permission: `drafts:write`.

## Path parameters

- `id` string, uuid, required
- `draftId` string, uuid, required

## Request body

- object
  - `send_at` string, date-time, required
  - `expected_content_sha256` string

## Response `200`

OK

- object

## Other responses

- `4XX`: Error
- `5XX`: Error

---

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