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

# Update a RedGifs gif

> Patches a gif's description, tags, niches, sexuality, publish state and feed visibility programmatically via Posttu's RedGifs API and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/redgifs/posts/update
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/redgifs/posts/update:
    post:
      tags:
        - RedGifs
      summary: Update a RedGifs gif
      description: >-
        Patches a gif's description, tags, niches, sexuality, publish state and
        feed visibility.

        Requires API key scope: `redgifs:write`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RedgifsPatchGifInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RedgifsUpdateGifResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    RedgifsPatchGifInput:
      type: object
      properties:
        channelId:
          type: string
          description: RedGifs channel ID
          example: ch_rg123
        gifId:
          type: string
        description:
          type: string
        tags:
          type:
            - array
            - 'null'
          items:
            type: string
        niches:
          type: array
          items:
            type: string
        sexuality:
          type: string
        published:
          type: boolean
        hideHome:
          type: boolean
        hideTrending:
          type: boolean
      required:
        - channelId
        - gifId
    RedgifsUpdateGifResponse:
      type: object
      properties:
        data: {}
        status:
          type: number
        success:
          type: boolean
          description: Success status
      required:
        - status
        - success
      additionalProperties: {}
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.