---
title: "POST /v2/social/assets/{chain_id}/{address}/comments"
method: POST
path: "/v2/social/assets/{chain_id}/{address}/comments"
tags: ["Social Community"]
---

# POST /v2/social/assets/{chain_id}/{address}/comments

`POST /v2/social/assets/{chain_id}/{address}/comments`

## Request

- Base URL: `https://api.arbital.xyz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.arbital.xyz/v2/social/assets/{chain_id}/{address}/comments`
- Auth: HTTP bearer

Creates a token comment after strict input validation and a fresh positive direct chain balance check.

## Path parameters

- `chain_id` 'solana:mainnet-beta' | 'eip155:1' | 'eip155:56' | 'eip155:143' | 'eip155:4663' | 'eip155:5042' | 'eip155:8453' | 'eip155:42161', required
- `address` string, required

## Request body

- CreateSocialAssetCommentRequest: Native mentions support stable Early user IDs only. Imported-thesis/trade routes reject mention/key fields. No financial authority or external identity inference is granted.
  - `body` string, required: Trimmed before validation; 1–280 Unicode characters. Rejects C0 controls except tab, LF and CR, and DEL (U+007F).
  - `mentions` NativeMentionInput[]: Explicit native targets; no targets are inferred from plain @text. Offsets use Unicode code points in the exact canonical body; no trimming is allowed when nonempty.
    - `kind` 'early_user', required
    - `user_id` string, uuid, required
    - `offset` integer, required: Zero-based Unicode code-point offset, not UTF-16 units or graphemes.
    - `length` integer, required
  - `client_content_id` string, uuid: Actor/source-kind scoped creation key. Matching replay returns the original readable source; a changed command returns 409. Required with nonempty mentions.

## Response `201`

Token comment created

- SocialAssetComment: Optional gif contains the saved external reference only for a visible, nondeleted native reply. It remains readable when GIF-reference writes are disabled and is omitted for deleted placeholders. It is distinct from approved uploaded media and is never returned with nonempty media.
  - `body` string, nullable, required: Null after parent deletion; empty for a media-only or external-GIF-only ordinary reply. Removing the last image preserves the empty body and deleted media slot.
  - `comment_id` string, uuid, required
  - `created_at` string, date-time, required
  - `deleted` boolean, required
  - `holding_display` string, nullable, required
  - `is_holder` true, required
  - `parent_comment_id` string, uuid, nullable, required: Exact direct parent comment in this token thread; null for a root comment.
  - `reply_count` integer, required: Nondeleted visible direct replies, excluding deeper descendants.
  - `thesis_event_id` string, uuid, nullable, required: Feed eventId of the imported thesis this comment directly replies to; null for ordinary comments and replies.
  - `user` SocialAssetCommentAuthor, required
    - `avatar_url` string, nullable, required: Approved profile image or stable CALLD default avatar URL.
    - `display_name` string, nullable, required
    - `user_id` string, uuid, required
    - `username` string, required
  - `viewer_can_delete` boolean, required: Whether the viewer owns this undeleted comment and may delete it.
  - `media` union: Ordered immutable slots, with unique IDs and zero-based ordinals matching array positions. Up to four still images, or exactly one GIF. Deletion preserves the slot and original ID. Replies, messages and recap comments omit this field when there are no slots; posts return an empty array.
    - union[]
      - union
        - SocialMediaImage
          - `id` string, uuid, required
          - `media_kind` 'image', required
          - `mime_type` 'image/jpeg' | 'image/png' | 'image/webp', required
          - `size_bytes` integer, required
          - `width` integer, required
          - `height` integer, required
          - `access_path` string, required: Authenticated relative byte-read path for this media ID; never a public or signed storage URL.
          - `ordinal` integer, required
          - `deleted` false
          - `delivery` SocialMediaDelivery: Optional HTTP-only delivery capability, issued after current access checks. URLs expire together at expires_at. Clients load the thumbnail in feeds and the full normalized image or animated GIF when opened. Refresh by re-reading the parent endpoint; access_path remains an authenticated fallback. Never persist, broadcast or share these viewer-specific URLs.
            - `url` string, uri, required: Short-lived Cloudflare Worker URL for the full normalized image or GIF. Treat it as opaque; refetch authorized parent metadata before expires_at to renew.
            - `expires_at` string, date-time, required
            - `thumbnail` object: Bounded WebP preview. Animated GIFs use an approved still poster.
              - …
        - DeletedSocialMedia: Permanent bound slot after media removal. Only these three fields remain; the parent remains renderable even when its body is empty and every image is deleted.
          - `id` string, uuid, required
          - `ordinal` integer, required
          - `deleted` true, required
    - SocialMediaGif[]
      - `id` string, uuid, required
      - `media_kind` 'gif', required
      - `mime_type` 'image/gif', required
      - `size_bytes` integer, required
      - `width` integer, required
      - `height` integer, required
      - `access_path` string, required: Authenticated relative byte-read path for this media ID; never a public or signed storage URL.
      - `source_tenor_url` string
      - `ordinal` integer, required
      - `deleted` false
      - `delivery` SocialMediaDelivery: Optional HTTP-only delivery capability, issued after current access checks. URLs expire together at expires_at. Clients load the thumbnail in feeds and the full normalized image or animated GIF when opened. Refresh by re-reading the parent endpoint; access_path remains an authenticated fallback. Never persist, broadcast or share these viewer-specific URLs.
        - `url` string, uri, required: Short-lived Cloudflare Worker URL for the full normalized image or GIF. Treat it as opaque; refetch authorized parent metadata before expires_at to renew.
        - `expires_at` string, date-time, required
        - `thumbnail` object: Bounded WebP preview. Animated GIFs use an approved still poster.
          - `url` string, uri, required
          - `mime_type` 'image/webp', required
          - `size_bytes` integer, required
          - `width` integer, required
          - `height` integer, required
  - `gif` SocialExternalGifReference: A selected public KLIPY GIF reference, not an approved social-media upload. The backend validates syntax and stores only these identifiers; it does not call KLIPY or approve, cache or store its bytes. Resolve from the end-user client, verify both returned id and slug, apply receiver-side content restrictions and display provider attribution. Missing, filtered or mismatched items are unavailable. Never send an Arbital bearer token to the provider.
    - `provider` 'klipy', required
    - `id` string, required: Canonical positive decimal provider identifier. Keep as a string; never coerce to a JavaScript number. The absolute-end assertion rejects trailing newlines.
    - `slug` string, required: Exact provider lookup slug, including case. Do not derive a URL or accept arbitrary provider media URLs. The absolute-end assertion rejects trailing newlines.
  - `mentions` NativeReadMention[], required: Ordered historical entities with current viewer-scoped identity. Empty for legacy, imported or tombstoned content. A read failure is explicit, never a fabricated empty array.
    - `kind` 'early_user', required
    - `user_id` string, uuid, required
    - `offset` integer, required: Zero-based Unicode code-point offset, not UTF-16 units or graphemes.
    - `length` integer, required
    - `text` string, required: Immutable exact authored span, including @.
    - `availability` 'available' | 'unavailable', required
    - `current_profile` NativeMentionProfile, required
      - `user_id` string, uuid, required
      - `username` string, required
      - `display_name` string, nullable, required
      - `profile_image_url` string, nullable, required
    - `profile_target` NativeMentionTarget, required
      - `kind` 'early_user', required
      - `user_id` string, uuid, required
    - `notification_supported` true, required

## Other responses

- `400`: Stable machine-readable problem. HTTP 429 and 503 responses include retry and cache-validity fields plus Retry-After and X-Request-ID headers.
- `401`: Stable machine-readable problem. HTTP 429 and 503 responses include retry and cache-validity fields plus Retry-After and X-Request-ID headers.
- `403`: Stable machine-readable problem. HTTP 429 and 503 responses include retry and cache-validity fields plus Retry-After and X-Request-ID headers.
- `409`: content_idempotency_conflict or mention_target_changed; no partial creation.
- `413`: Stable machine-readable problem. HTTP 429 and 503 responses include retry and cache-validity fields plus Retry-After and X-Request-ID headers.
- `422`: The server-owned safety policy rejected the social content before persistence or delivery
- `429`: Stable machine-readable problem. HTTP 429 and 503 responses include retry and cache-validity fields plus Retry-After and X-Request-ID headers.
- `503`: Stable machine-readable problem. HTTP 429 and 503 responses include retry and cache-validity fields plus Retry-After and X-Request-ID headers.

---

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