---
title: "Create a comment draft"
method: POST
path: "/v1/comments/drafts"
tags: ["Comments"]
---

# Create a comment draft

`POST /v1/comments/drafts`

## Request

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

Stores a comment to post later on `post_urn`, or as a reply to `comment_id` when one is given. `comment_id` takes the `comment_urn` served by GET /v1/engagement/comments, in any of LinkedIn's spellings; a bare comment id is rejected, since the urn also carries the post id the comment is filed under and that id is not `post_urn`. `content` is capped at 1250 characters, LinkedIn's comment limit.

## Request body

- CreateCommentDraftBody
  - `comment_id` string
  - `content` string, required
  - `post_urn` string, required

## Response `201`

Comment draft created.

- EditableCommentDraft
  - `comment_id` string
  - `content` string, required
  - `created_at` string, date-time, required
  - `id` string, required
  - `post_urn` string, required
  - `status` 'draft', 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)
