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

# Create a new reaction on a post



## OpenAPI

````yaml https://api.mn.co/admin/v1/spec.json post /admin/v1/networks/{network_id}/posts/{post_id}/reactions
openapi: 3.1.0
info:
  version: 1.0.0
  title: The Mighty Networks Admin API
  description: An API for managing your Mighty Networks network
servers:
  - url: https://api.mn.co
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Members
    description: Manage members of your network
  - name: Courseworks
    description: Manage course content (lessons, quizzes, sections)
  - name: Reactions
    description: Manage reactions on comments
  - name: Mute
    description: Mute posts for users
  - name: Comments
    description: Manage comments on posts
  - name: Invites
    description: Invites allow you to invite users to your network
  - name: Tags
    description: Manage tags for your network
  - name: Spaces
    description: >-
      Spaces are the organizational units within a Network where content and
      members are organized
  - name: Plans
    description: Manage plans in your network
  - name: PasswordResets
    description: Manage member password resets
  - name: Badges
    description: Manage badges for your network
  - name: Rsvps
    description: Manage event RSVPs for your network
  - name: Options
    description: Manage dropdown custom field options
  - name: Answers
    description: Manage member responses to custom fields
  - name: Subscriptions
    description: >-
      Manage payment subscriptions - recurring payments from members to hosts
      for plans
  - name: Purchases
    description: Manage purchases and subscriptions for your network
  - name: Posts
    description: Posts also include Articles.
  - name: Polls
    description: >-
      Polls and Questions allow members to share opinions and engage with each
      other
  - name: Networks
    description: >-
      Networks are the top-level organizational unit under which other resources
      are nested
  - name: Me
    description: Metadata about the requesting user
  - name: Events
    description: Events are scheduled gatherings that members can RSVP to and engage with
  - name: CustomFields
    description: Manage custom fields for your network
  - name: Collections
    description: Manage collections in your network
  - name: Assets
    description: Manage assets for your network
  - name: AbuseReports
    description: Manage abuse reports for your network
paths:
  /admin/v1/networks/{network_id}/posts/{post_id}/reactions:
    post:
      tags:
        - Reactions
      summary: Create a new reaction on a post
      operationId: create_reactions
      parameters:
        - name: post_id
          in: path
          required: true
          description: The ID of the post
          schema:
            type: integer
            format: uint64
        - $ref: '#/components/parameters/networkId'
      requestBody:
        description: Submit results as JSON
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReactionRequest'
      responses:
        '201':
          description: Returns the newly created reaction on success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReactionResponse'
        '404':
          description: Post not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Invalid reaction data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  parameters:
    networkId:
      name: network_id
      in: path
      description: The Network's unique integer ID, or subdomain
      required: true
      schema:
        oneOf:
          - type: integer
            description: Unique numeric network ID
            format: uint64
          - type: string
            description: Network subdomain
            format: /^[a-z][a-z0-9-]+$/
  schemas:
    ReactionRequest:
      description: A reaction request for creating reactions on posts or comments
      type: object
      required:
        - emoji
      properties:
        emoji:
          type: string
          description: The emoji used for the reaction (may include skin tone modifiers)
    ReactionResponse:
      description: A reaction to a post or comment
      type: object
      required:
        - base_emoji
        - created_at
        - emoji
        - id
        - member_id
        - network_id
        - space_id
        - targetable_id
        - targetable_space_id
        - targetable_type
        - updated_at
      properties:
        id:
          type: integer
          format: uint64
          description: The record's integer ID
          example: '1234'
        created_at:
          type: string
          format: date-time
          description: The date and time the record was created
          example: '2026-06-26T21:14:12+00:00'
        updated_at:
          type: string
          format: date-time
          description: The date and time the record was last modified
          example: '2026-06-26T21:14:12+00:00'
        space_id:
          type: integer
          format: uint64
          description: The ID of the space where the reaction was created
          example: 123
        network_id:
          type: integer
          format: uint64
          description: The ID of the network where the reaction was created
          example: 100
        targetable_id:
          type: integer
          format: uint64
          description: The ID of the post or comment being reacted to
          example: 456
        targetable_type:
          type: string
          description: The type of object being reacted to (Post or Comment)
          example: Post
        targetable_space_id:
          type: integer
          format: uint64
          description: The ID of the space where the target post or comment is located
          example: 123
        emoji:
          type: string
          description: The emoji used for the reaction (may include skin tone modifiers)
          example: 👍
        base_emoji:
          type: string
          description: The base emoji without skin tone modifiers
          example: 👍
        member_id:
          type: integer
          format: uint64
          description: The ID of the member who created the reaction
          example: 789
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: An error message explaining the problem encountered
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````