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

# Create Video Favorite

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Monetization",
    "version": "1.0.0",
    "description": ""
  },
  "servers": [
    {
      "url": "https://api.zype.com/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "api_key",
        "in": "query"
      }
    }
  },
  "paths": {
    "/consumers/{consumer_id}/video_favorites": {
      "post": {
        "summary": "Create Video Favorite",
        "description": "",
        "tags": [
          "Video Favorites"
        ],
        "operationId": "createVideoFavorite",
        "parameters": [
          {
            "name": "video_id",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "ID of the video to add to the consumer's favorites",
            "required": true
          },
          {
            "name": "consumer_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "ID of the consumer"
          }
        ],
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "title": "VideoFavoriteResponse",
                  "type": "object",
                  "properties": {
                    "response": {
                      "title": "VideoFavorite",
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "consumer_id": {
                          "type": "string"
                        },
                        "created_at": {
                          "type": "string"
                        },
                        "deleted_at": {
                          "type": "string"
                        },
                        "updated_at": {
                          "type": "string"
                        },
                        "video_id": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1plans/post/responses/422/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    }
  }
}
```