VoteShip Posts API

The Posts API from VoteShip, for posts.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 17

GET /posts List posts #
POST /posts Create a post #
GET /posts/{postId} Get a post #
PATCH /posts/{postId} Update a post #
DELETE /posts/{postId} Delete a post #
GET /posts/similar Semantic search for similar posts #
POST /posts/from-text Submit feedback from natural language #
GET /posts/{postId}/votes List voters for a post #
POST /posts/{postId}/votes Vote on a post #
GET /posts/{postId}/comments List comments on a post #
POST /posts/{postId}/comments Add a comment to a post #
PATCH /posts/{postId}/comments/{commentId} Edit or hide a comment without email #
DELETE /posts/{postId}/comments/{commentId} Delete a comment #
PATCH /posts/{postId}/votes/{voteId} Replace anonymousId and clear boardUserId, retaining the vote #
DELETE /posts/{postId}/votes/{voteId} Delete vote and atomically decrement post count #
PATCH /posts/bulk Update up to 100 posts with independent per-item results #
POST /posts/{postId}/merge Merge a duplicate into a canonical post #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/voteship-app:voteship-app-posts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

voteship-app-posts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: VoteShip Posts API
  version: 1.0.0
  description: AI-native feature request management API. Collect, prioritize, and ship features your users actually want. Works with humans and AI agents equally.
  contact:
    name: VoteShip Support
    url: https://voteship.app/contact
    email: support@voteship.app
  license:
    name: Proprietary
servers:
- url: https://app.voteship.app/api/v1
  description: Production
security:
- BearerAuth: []
tags:
- name: Posts
paths:
  /posts:
    get:
      operationId: listPosts
      summary: List posts
      description: 'Stable cursor scans sort by descending creation time (millisecond precision), then ID, and retain the first request time bound. Later inserts outside the initial millisecond are excluded. Boundary deletion and vote changes do not shift pages. This is not a historical snapshot: deletions and changes in filter membership remain live. Offset pages may shift under writes.'
      parameters:
      - name: status
        in: query
        schema:
          type: string
          enum:
          - PENDING
          - APPROVED
          - IN_PROGRESS
          - COMPLETE
          - CLOSED
          - ARCHIVED
        description: Filter by status
      - name: sort
        in: query
        schema:
          type: string
          enum:
          - votes
          - date
          default: votes
        description: Legacy default votes; cursor mode defaults to and requires date. Ties use creation time then ID.
      - name: page
        in: query
        schema:
          type: integer
          default: 1
        description: Page number
      - name: limit
        in: query
        schema:
          type: integer
          default: 50
          minimum: 1
          maximum: 100
        description: Results per page
      - name: cursor
        in: query
        schema:
          type: string
        allowEmptyValue: true
        description: Empty string starts a scan; then use nextCursor. Cannot combine with page or sort=votes. Keep status and updated_since unchanged.
      - name: updated_since
        in: query
        schema:
          type: string
          format: date-time
        description: Inclusive updatedAt lower bound; does not include deletion tombstones.
      responses:
        '200':
          description: Paginated list of posts
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/PostWithTags'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
      tags:
      - Posts
    post:
      operationId: createPost
      summary: Create a post
      description: Create a new feature request. Posts are created with PENDING status by default.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - title
              properties:
                title:
                  type: string
                  maxLength: 200
                  description: Post title (required, max 200 chars)
                  minLength: 1
                description:
                  type:
                  - string
                  - 'null'
                  maxLength: 10000
                status:
                  type: string
                  enum:
                  - PENDING
                  - APPROVED
                  - IN_PROGRESS
                  - COMPLETE
                  - CLOSED
                  - ARCHIVED
                  default: PENDING
                tagIds:
                  type: array
                  items:
                    type: string
                  description: Array of tag IDs to attach
                  maxItems: 100
                  uniqueItems: true
                metadata:
                  type:
                  - object
                  - 'null'
                  additionalProperties: true
                  description: Private context. Replaces the object; null clears it. Omitted from public responses; available to secret-key APIs and trusted admin webhooks.
                createdByBoardUserId:
                  type: string
                  description: Must belong to this project.
            example:
              title: PDF export support
              description: Allow users to export reports as PDF
              tagIds:
              - tag_abc123
      responses:
        '201':
          description: Post created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Post'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
      - Posts
  /posts/{postId}:
    get:
      operationId: getPost
      summary: Get a post
      description: Retrieve a single post with its tags.
      parameters:
      - name: postId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Post details
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/PostWithTags'
        '404':
          description: Post not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
      - Posts
    patch:
      operationId: updatePost
      summary: Update a post
      description: Update supplied fields atomically. ARCHIVED is accepted directly without a release. Leaving ARCHIVED clears releaseId. At least one editable field is required; notify alone is insufficient. API notification default is false. API PATCH does not send Slack/Discord messages.
      parameters:
      - name: postId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  maxLength: 200
                  minLength: 1
                description:
                  type:
                  - string
                  - 'null'
                  maxLength: 10000
                status:
                  type: string
                  enum:
                  - PENDING
                  - APPROVED
                  - IN_PROGRESS
                  - COMPLETE
                  - CLOSED
                  - ARCHIVED
                tagIds:
                  type: array
                  items:
                    type: string
                  maxItems: 100
                  uniqueItems: true
                metadata:
                  type:
                  - object
                  - 'null'
                  additionalProperties: true
                  description: Private context. Replaces the object; null clears it. Omitted from public responses; available to secret-key APIs and trusted admin webhooks.
                notify:
                  type: boolean
                  default: false
                  description: Email post subscribers only on an actual status change. Defaults false. Audit records and webhooks still fire; external consumers control their own notifications.
        required: true
      responses:
        '200':
          description: Updated post
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Post'
        '404':
          description: Post not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
      - Posts
    delete:
      operationId: deletePost
      summary: Delete a post
      description: Permanently delete a feature request and all its votes, comments, and tags.
      parameters:
      - name: postId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Post deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
        '404':
          description: Post not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
      - Posts
  /posts/similar:
    get:
      operationId: searchSimilarPosts
      summary: Semantic search for similar posts
      description: Search for posts semantically similar to the given query text using pgvector embeddings.
      parameters:
      - name: query
        in: query
        required: true
        schema:
          type: string
        description: Text to search for
      - name: threshold
        in: query
        schema:
          type: number
          default: 0.7
        description: Minimum similarity score (0-1)
      - name: limit
        in: query
        schema:
          type: integer
          default: 5
        description: Maximum results to return
      responses:
        '200':
          description: Similar posts ranked by similarity
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        title:
                          type: string
                        similarity:
                          type: number
                          example: 0.92
                        voteCount:
                          type: integer
                        status:
                          type: string
      tags:
      - Posts
  /posts/from-text:
    post:
      operationId: submitFromText
      summary: Submit feedback from natural language
      description: Submit unstructured text. AI extracts a structured post, checks for duplicates, and auto-categorizes. Requires Growth plan or higher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - text
              properties:
                text:
                  type: string
                  description: Raw text from any source (Slack, email, support ticket, etc.)
                source:
                  type: string
                  description: Where the feedback came from (e.g., 'slack', 'email')
                source_url:
                  type: string
                  description: Link back to the original message
            example:
              text: It would be great if we could export data as PDF. Multiple customers asked.
              source: slack
      responses:
        '201':
          description: Post created from text
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      action:
                        type: string
                        enum:
                        - created
                        - matched_duplicate
                      post:
                        $ref: '#/components/schemas/Post'
                      similar_posts:
                        type: array
                        items:
                          type: object
      tags:
      - Posts
  /posts/{postId}/votes:
    get:
      operationId: getVoters
      summary: List voters for a post
      parameters:
      - name: postId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of votes
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Vote'
      tags:
      - Posts
    post:
      operationId: addVote
      summary: Vote on a post
      description: Add a vote to a feature request. Each user can only vote once per post.
      parameters:
      - name: postId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                boardUserId:
                  type: string
                  description: ID of a registered board user
                anonymousId:
                  type: string
                  description: Anonymous identifier (if no board user)
      responses:
        '201':
          description: Vote created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Vote'
        '409':
          description: Duplicate vote
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
      - Posts
  /posts/{postId}/comments:
    get:
      operationId: getComments
      summary: List comments on a post
      description: List comments for a post. By default returns only public comments. Use the `internal` query parameter to include internal notes.
      parameters:
      - name: postId
        in: path
        required: true
        schema:
          type: string
      - name: internal
        in: query
        schema:
          type: string
          enum:
          - 'true'
          - all
        description: 'Filter by visibility: ''true'' for internal notes only, ''all'' for both public and internal. Omit for public comments only.'
      responses:
        '200':
          description: List of comments
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Comment'
      tags:
      - Posts
    post:
      operationId: addComment
      summary: Add a comment to a post
      parameters:
      - name: postId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - body
              properties:
                body:
                  type: string
                  description: Comment text
                authorName:
                  type: string
                  description: Display name of the commenter
                isInternalNote:
                  type: boolean
                  default: false
                  description: If true, creates an internal note visible only to team members
      responses:
        '201':
          description: Comment created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Comment'
      tags:
      - Posts
  /posts/{postId}/comments/{commentId}:
    patch:
      operationId: updateComment
      summary: Edit or hide a comment without email
      parameters:
      - name: postId
        in: path
        required: true
        schema:
          type: string
      - name: commentId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Edit or hide a comment without email
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Comment'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Secret API key required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Entity not found in this project
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              minProperties: 1
              properties:
                body:
                  type: string
                  minLength: 1
                  maxLength: 5000
                isInternalNote:
                  type: boolean
      tags:
      - Posts
    delete:
      operationId: deleteComment
      summary: Delete a comment
      parameters:
      - name: postId
        in: path
        required: true
        schema:
          type: string
      - name: commentId
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Delete a comment
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Secret API key required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Entity not found in this project
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
      - Posts
  /posts/{postId}/votes/{voteId}:
    patch:
      operationId: anonymizeVote
      summary: Replace anonymousId and clear boardUserId, retaining the vote
      parameters:
      - name: postId
        in: path
        required: true
        schema:
          type: string
      - name: voteId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Replace anonymousId and clear boardUserId, retaining the vote
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Vote'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Secret API key required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Entity not found in this project
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: Anonymous ID already voted on this post
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - anonymousId
              properties:
                anonymousId:
                  type: string
                  minLength: 1
                  maxLength: 200
      tags:
      - Posts
    delete:
      operationId: deleteVote
      summary: Delete vote and atomically decrement post count
      parameters:
      - name: postId
        in: path
        required: true
        schema:
          type: string
      - name: voteId
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Delete vote and atomically decrement post count
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Secret API key required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Entity not found in this project
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
      - Posts
  /posts/bulk:
    patch:
      operationId: bulkUpdatePosts
      summary: Update up to 100 posts with independent per-item results
      parameters: []
      responses:
        '200':
          description: Update up to 100 posts with independent per-item results
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      required:
                      - index
                      - id
                      - status
                      properties:
                        index:
                          type: integer
                        id:
                          type:
                          - string
                          - 'null'
                        status:
                          type: integer
                        data:
                          $ref: '#/components/schemas/Post'
                        error:
                          type: string
                        error_code:
                          type: string
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Secret API key required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Entity not found in this project
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - items
              properties:
                notify:
                  type: boolean
                  default: false
                  description: Email post subscribers only on an actual status change. Defaults false. Audit records and webhooks still fire; external consumers control their own notifications.
                items:
                  type: array
                  minItems: 1
                  maxItems: 100
                  items:
                    type: object
                    properties:
                      title:
                        type: string
                        maxLength: 200
                        minLength: 1
                      description:
                        type:
                        - string
                        - 'null'
                        maxLength: 10000
                      status:
                        type: string
                        enum:
                        - PENDING
                        - APPROVED
                        - IN_PROGRESS
                        - COMPLETE
                        - CLOSED
                        - ARCHIVED
                      tagIds:
                        type: array
                        items:
                          type: string
                        maxItems: 100
                        uniqueItems: true
                      metadata:
                        type:
                        - object
                        - 'null'
                        additionalProperties: true
                        description: Private context. Replaces the object; null clears it. Omitted from public responses; available to secret-key APIs and trusted admin webhooks.
                      notify:
                        type: boolean
                        default: false
                        description: Email post subscribers only on an actual status change. Defaults false. Audit records and webhooks still fire; external consumers control their own notifications.
                      id:
                        type: string
                        minLength: 1
                    required:
                    - id
                    description: Same editable fields as PATCH /posts/{postId}; item notify overrides the batch default.
      description: HTTP 200 may contain mixed item statuses. Items run in order in independent transactions; failures do not roll back successes. Inspect every item. One batch consumes one rate-limit request. Invalid envelopes return 400.
      tags:
      - Posts
  /posts/{postId}/merge:
    post:
      operationId: mergePost
      summary: Merge a duplicate into a canonical post
      parameters:
      - name: postId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Merge a duplicate into a canonical post
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      source:
                        $ref: '#/components/schemas/Post'
                      target:
                        $ref: '#/components/schemas/Post'
                      movedVotes:
                        type: integer
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Secret API key required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Entity not found in this project
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: Source or target already merged
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - targetPostId
              properties:
                targetPostId:
                  type: string
      description: Same-project posts only. Votes and subscribers move with deduplication; seeded votes are preserved. Source becomes CLOSED, zero votes, mergedIntoPostId set, releaseId cleared. Comments and metadata remain on the source. Rejects self/cyclic merges and merged targets. Repeating a merge is safe. No email; post.merged webhooks and audit records still fire, including on retries.
      tags:
      - Posts
components:
  schemas:
    Vote:
      type: object
      properties:
        id:
          type: string
        boardUserId:
          type:
          - string
          - 'null'
        anonymousId:
          type:
          - string
          - 'null'
        createdAt:
          type: string
          format: date-time
        boardUserName:
          type:
          - string
          - 'null'
        boardUserEmail:
          type:
          - string
          - 'null'
    Pagination:
      type: object
      properties:
        page:
          type: integer
        limit:
          type: integer
        total:
          type: integer
        totalPages:
          type: integer
        hasMore:
          type: boolean
          description: Cursor mode only.
        nextCursor:
          type:
          - string
          - 'null'
          description: Cursor mode only; null when finished. Use this instead of page/totalPages to advance.
    Post:
      type: object
      properties:
        id:
          type: string
          example: V1StGXR8_Z5jdHi6B-myT
        projectId:
          type: string
        title:
          type: string
          example: PDF export support
        description:
          type:
          - string
          - 'null'
        status:
          type: string
          enum:
          - PENDING
          - APPROVED
          - IN_PROGRESS
          - COMPLETE
          - CLOSED
          - ARCHIVED
        voteCount:
          type: integer
          example: 42
        metadata:
          type:
          - object
          - 'null'
          additionalProperties: true
          description: Private context. Replaces the object; null clears it. Omitted from public responses; available to secret-key APIs and trusted admin webhooks.
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    ApiError:
      type: object
      required:
      - error_code
      - message
      - resolution_hint
      - retry
      - docs_url
      properties:
        error:
          type: string
          description: Legacy alias of message for backward compatibility
        error_code:
          type: string
          example: POST_NOT_FOUND
        message:
          type: string
          example: Post not found
        resolution_hint:
          type: string
          example: Use GET /api/v1/posts to list valid post IDs
        suggestion:
          type: string
          description: Alias of resolution_hint
        available_actions:
          type: array
          items:
            type: string
        retry:
          type: boolean
        docs_url:
          type: string
          example: https://voteship.app/docs
    Comment:
      type: object
      properties:
        id:
          type: string
        postId:
          type: string
        body:
          type: string
        authorName:
          type:
          - string
          - 'null'
        isInternalNote:
          type: boolean
        createdAt:
          type: string
          format: date-time
    Tag:
      type: object
      properties:
        id:
          type: string
        label:
          type: string
          example: Mobile
        theme:
          type: string
          example: '#6366f1'
        createdAt:
          type: string
          format: date-time
    PostWithTags:
      allOf:
      - $ref: '#/components/schemas/Post'
      - type: object
        properties:
          tags:
            type: array
            items:
              $ref: '#/components/schemas/Tag'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'API key from project settings. Format: `Bearer sk_...`'
externalDocs:
  description: 'VoteShip Developer Platform: API, authentication, webhooks, MCP, and agent instructions'
  url: https://voteship.app/developers