> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rntor.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Like a post

> Add a like to a feed post



## OpenAPI

````yaml /api-reference/openapi.yaml post /feed/{id}/likes
openapi: 3.0.3
info:
  title: Rntor API
  description: REST API for programmatic access to your coworking and space management data
  version: 1.0.0
  contact:
    email: support@rntor.com
    url: https://app.rntor.com
servers:
  - url: https://api.rntor.com/v1
    description: Production server
security:
  - bearerAuth: []
    clientId: []
tags:
  - name: Merchant
    description: Merchant operations
  - name: Bookings
    description: Booking management
  - name: Companies
    description: Company management
  - name: Resources
    description: Resource management
  - name: Locations
    description: Location management
  - name: Invoices
    description: Invoice and credit note management
  - name: Subscriptions
    description: Customer subscription management
  - name: Events
    description: Event management
  - name: Plans
    description: Membership plan management
  - name: Memberships
    description: Membership management
  - name: Benefits
    description: Benefits, categories, and applications
  - name: Contracts
    description: Contract management
  - name: Feed
    description: Feed posts, comments, and likes
  - name: Shop
    description: Shop orders, categories, and products
  - name: Members
    description: Member registrations
  - name: Tickets
    description: Support ticket management
  - name: Transactions
    description: Credit, day pass, and payment transactions
  - name: Visitors
    description: Visitor contacts, requests, and visits
paths:
  /feed/{id}/likes:
    post:
      tags:
        - Feed
      summary: Like a post
      description: Add a like to a feed post
      operationId: createPostLike
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - customer_id
              properties:
                customer_id:
                  type: string
                  format: uuid
      responses:
        '201':
          description: Like added
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      post_id:
                        type: string
                        format: uuid
                      customer_id:
                        type: string
                        format: uuid
                      created_at:
                        type: string
                        format: date-time
                  meta:
                    $ref: '#/components/schemas/Meta'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    Meta:
      type: object
      properties:
        request_id:
          type: string
          example: req_abc123def456
        timestamp:
          type: string
          format: date-time
          example: '2024-01-15T10:30:00Z'
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: validation_error
            message:
              type: string
              example: The request body is missing required field 'email'
            details:
              type: object
              properties:
                field:
                  type: string
                  example: email
                reason:
                  type: string
                  example: required
        meta:
          type: object
          properties:
            request_id:
              type: string
              example: req_abc123def456
  responses:
    BadRequest:
      description: Bad Request - Validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: validation_error
              message: The request body is missing required field 'email'
              details:
                field: email
                reason: required
            meta:
              request_id: req_abc123def456
    Unauthorized:
      description: Unauthorized - Invalid or missing credentials
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: invalid_token
              message: The access token is invalid or expired
            meta:
              request_id: req_abc123def456
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your API client secret
    clientId:
      type: apiKey
      in: header
      name: X-Client-ID
      description: Your API client ID

````