Phrase · Capability

Phrase Strings API Reference — Comment Replies

Phrase Strings API Reference — Comment Replies. 6 operations. Lead operation: List replies. Self-contained Naftiko capability covering one Phrase business surface.

Run with Naftiko PhraseComment Replies

What You Can Do

GET
Replieslist — List replies
/v1/projects/{project-id}/keys/{key-id}/comments/{comment-id}/replies
POST
Replycreate — Create a reply
/v1/projects/{project-id}/keys/{key-id}/comments/{comment-id}/replies
GET
Replyshow — Get a single reply
/v1/projects/{project-id}/keys/{key-id}/comments/{comment-id}/replies/{id}
DELETE
Replydelete — Delete a reply
/v1/projects/{project-id}/keys/{key-id}/comments/{comment-id}/replies/{id}
PATCH
Replymarkasread — Mark a reply as read
/v1/projects/{project-id}/keys/{key-id}/comments/{comment-id}/replies/{id}/mark-as-read
PATCH
Replymarkasunread — Mark a reply as unread
/v1/projects/{project-id}/keys/{key-id}/comments/{comment-id}/replies/{id}/mark-as-unread

MCP Tools

list-replies

List replies

read-only idempotent
create-reply

Create a reply

get-single-reply

Get a single reply

read-only idempotent
delete-reply

Delete a reply

idempotent
mark-reply-read

Mark a reply as read

idempotent
mark-reply-unread

Mark a reply as unread

idempotent

Capability Spec

strings-comment-replies.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Phrase Strings API Reference — Comment Replies
  description: 'Phrase Strings API Reference — Comment Replies. 6 operations. Lead operation: List replies. Self-contained
    Naftiko capability covering one Phrase business surface.'
  tags:
  - Phrase
  - Comment Replies
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PHRASE_API_KEY: PHRASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: strings-comment-replies
    baseUri: https://api.phrase.com/v2
    description: Phrase Strings API Reference — Comment Replies business capability. Self-contained, no shared references.
    resources:
    - name: projects-project_id-keys-key_id-comments-comment_id-replies
      path: /projects/{project_id}/keys/{key_id}/comments/{comment_id}/replies
      operations:
      - name: replieslist
        method: GET
        description: List replies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: branch
          in: query
          type: string
          description: specify the branch to use
        - name: query
          in: query
          type: string
          description: Search query for comment messages
        - name: filters
          in: query
          type: array
          description: Specify the filter for the comments
        - name: order
          in: query
          type: string
          description: 'Order direction. Can be one of: asc, desc.'
      - name: replycreate
        method: POST
        description: Create a reply
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: projects-project_id-keys-key_id-comments-comment_id-replies-id
      path: /projects/{project_id}/keys/{key_id}/comments/{comment_id}/replies/{id}
      operations:
      - name: replyshow
        method: GET
        description: Get a single reply
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: branch
          in: query
          type: string
          description: specify the branch to use
      - name: replydelete
        method: DELETE
        description: Delete a reply
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: branch
          in: query
          type: string
          description: specify the branch to use
    - name: projects-project_id-keys-key_id-comments-comment_id-replies-id-mark_as_read
      path: /projects/{project_id}/keys/{key_id}/comments/{comment_id}/replies/{id}/mark_as_read
      operations:
      - name: replymarkasread
        method: PATCH
        description: Mark a reply as read
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: branch
          in: query
          type: string
          description: specify the branch to use
    - name: projects-project_id-keys-key_id-comments-comment_id-replies-id-mark_as_unread
      path: /projects/{project_id}/keys/{key_id}/comments/{comment_id}/replies/{id}/mark_as_unread
      operations:
      - name: replymarkasunread
        method: PATCH
        description: Mark a reply as unread
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: branch
          in: query
          type: string
          description: specify the branch to use
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.PHRASE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: strings-comment-replies-rest
    port: 8080
    description: REST adapter for Phrase Strings API Reference — Comment Replies. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/projects/{project-id}/keys/{key-id}/comments/{comment-id}/replies
      name: projects-project-id-keys-key-id-comments-comment-id-replies
      description: REST surface for projects-project_id-keys-key_id-comments-comment_id-replies.
      operations:
      - method: GET
        name: replieslist
        description: List replies
        call: strings-comment-replies.replieslist
        with:
          branch: rest.branch
          query: rest.query
          filters: rest.filters
          order: rest.order
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: replycreate
        description: Create a reply
        call: strings-comment-replies.replycreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{project-id}/keys/{key-id}/comments/{comment-id}/replies/{id}
      name: projects-project-id-keys-key-id-comments-comment-id-replies-id
      description: REST surface for projects-project_id-keys-key_id-comments-comment_id-replies-id.
      operations:
      - method: GET
        name: replyshow
        description: Get a single reply
        call: strings-comment-replies.replyshow
        with:
          branch: rest.branch
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: replydelete
        description: Delete a reply
        call: strings-comment-replies.replydelete
        with:
          branch: rest.branch
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{project-id}/keys/{key-id}/comments/{comment-id}/replies/{id}/mark-as-read
      name: projects-project-id-keys-key-id-comments-comment-id-replies-id-mark-as-read
      description: REST surface for projects-project_id-keys-key_id-comments-comment_id-replies-id-mark_as_read.
      operations:
      - method: PATCH
        name: replymarkasread
        description: Mark a reply as read
        call: strings-comment-replies.replymarkasread
        with:
          branch: rest.branch
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{project-id}/keys/{key-id}/comments/{comment-id}/replies/{id}/mark-as-unread
      name: projects-project-id-keys-key-id-comments-comment-id-replies-id-mark-as-unread
      description: REST surface for projects-project_id-keys-key_id-comments-comment_id-replies-id-mark_as_unread.
      operations:
      - method: PATCH
        name: replymarkasunread
        description: Mark a reply as unread
        call: strings-comment-replies.replymarkasunread
        with:
          branch: rest.branch
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: strings-comment-replies-mcp
    port: 9090
    transport: http
    description: MCP adapter for Phrase Strings API Reference — Comment Replies. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-replies
      description: List replies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: strings-comment-replies.replieslist
      with:
        branch: tools.branch
        query: tools.query
        filters: tools.filters
        order: tools.order
      outputParameters:
      - type: object
        mapping: $.
    - name: create-reply
      description: Create a reply
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: strings-comment-replies.replycreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-single-reply
      description: Get a single reply
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: strings-comment-replies.replyshow
      with:
        branch: tools.branch
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-reply
      description: Delete a reply
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: strings-comment-replies.replydelete
      with:
        branch: tools.branch
      outputParameters:
      - type: object
        mapping: $.
    - name: mark-reply-read
      description: Mark a reply as read
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: strings-comment-replies.replymarkasread
      with:
        branch: tools.branch
      outputParameters:
      - type: object
        mapping: $.
    - name: mark-reply-unread
      description: Mark a reply as unread
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: strings-comment-replies.replymarkasunread
      with:
        branch: tools.branch
      outputParameters:
      - type: object
        mapping: $.