---
title: "Commit a comment draft"
method: POST
path: "/v1/comments/drafts/{id}/commit"
tags: ["Comments"]
---

# Commit a comment draft

`POST /v1/comments/drafts/{id}/commit`

## Request

- Base URL: `https://api.taplio.com`
- URL: `https://api.taplio.com/v1/comments/drafts/{id}/commit`
- Auth: HTTP bearer

Queues the draft for posting; nothing reaches LinkedIn during this request. `scheduled_for` is when the comment is due to go out, following the account's sending schedule, so it can be minutes away or much later. Poll `GET /v1/comments/drafts/{id}` to follow the outcome. Costs 1 reply credit, charged when the comment posts: with none left the commit fails with `403 insufficient_credits` and the draft is left as it was. A commit the account cannot currently post is refused with `409 comment_commit_blocked`, which carries the reason.

## Path parameters

- `id` string, required

## Response `200`

Draft queued; returns the pending draft.

- QueuedCommentDraft
  - `comment_id` string
  - `content` string, required
  - `created_at` string, date-time, required
  - `id` string, required
  - `post_urn` string, required
  - `scheduled_for` string, date-time, required
  - `status` 'pending', required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Validation failed.
- `401`: Missing or invalid API key.
- `402`: Subscription payment failed.
- `403`: Subscription does not allow this request.
- `404`: Resource not found.
- `409`: Resource state precludes this request.
- `422`: Request semantically rejected.
- `429`: Rate limit exceeded.
- `500`: Internal server error.
- `503`: Upstream unavailable.

---

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