# Publish a publication now

> Publish a scheduled publication or draft immediately.

Canonical: <https://www.tryadeli.com/docs/api/posts/publish-publication>

`POST https://app.tryadeli.com/api/v1/publications/{publicationId}/publish`

Authorization: `Bearer <API key>` — see [Authentication](https://www.tryadeli.com/docs/authentication)

Publishes a scheduled publication or a draft now, instead of at its time. The
publication then runs exactly as one created without `scheduledFor`: poll
[Publication status](https://www.tryadeli.com/docs/api/posts/get-publication) until `status` is
`published`, `partial`, or `failed`. Once it has started, or was canceled, the
request answers `409`.

**Path parameters**

| Name            | Type   | Required | Description                                           |
| --------------- | ------ | -------- | ----------------------------------------------------- |
| `publicationId` | `uuid` | Yes      | The id from the create response or List publications. |

## Request examples

**cURL**

```bash
curl -X POST "https://app.tryadeli.com/api/v1/publications/00000000-0000-4000-8000-000000000020/publish" \
  -H "Authorization: Bearer $ADELI_API_KEY"
```

**JavaScript**

```javascript
const response = await fetch("https://app.tryadeli.com/api/v1/publications/00000000-0000-4000-8000-000000000020/publish", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.ADELI_API_KEY}`,
  },
});
console.log(await response.json());
```

**Python**

```python
import os

import requests

response = requests.post(
    "https://app.tryadeli.com/api/v1/publications/00000000-0000-4000-8000-000000000020/publish",
    headers={"Authorization": f"Bearer {os.environ['ADELI_API_KEY']}"},
)
print(response.json())
```

## Responses

### 202

```json
{
  "id": "00000000-0000-4000-8000-000000000020",
  "profileId": "00000000-0000-4000-8000-000000000001",
  "status": "queued",
  "progress": 0,
  "scheduledFor": "2026-11-13T12:30:00.000Z",
  "timeZone": "America/New_York",
  "canceledAt": null,
  "statusUrl": "/api/v1/publications/00000000-0000-4000-8000-000000000020",
  "createdAt": "2026-11-10T15:00:00.000Z",
  "updatedAt": "2026-11-10T15:10:00.000Z",
  "completedAt": null,
  "targets": [
    { "id": "00000000-0000-4000-8000-000000000021", "platform": "instagram", "accountId": "00000000-0000-0000-0000-000000000010", "status": "queued", "attempts": 0, "result": null, "error": null }
  ]
}
```

### 409

```json
{
  "error": {
    "code": "publication_canceled",
    "message": "The publication was canceled"
  }
}
```
