---
updatedAt: 2026-05-11T06:52:42.000Z
agentTools:
  projectIndex: https://platform.simpplr.com/llms.txt
---

# Get paginated search result for native videos

This API allows you to get paginated search result for native videos

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "version": "1.0.0",
    "title": "Simpplr User API Documentation",
    "description": ""
  },
  "x-proxy-enabled": true,
  "tags": [
    {
      "name": "Video",
      "description": "Everything about Video"
    }
  ],
  "servers": [
    {
      "url": "https://{endpoint}/v1",
      "variables": {
        "env": {
          "default": "app"
        },
        "endpoint": {
          "default": "platform.app.simpplr.com"
        }
      }
    }
  ],
  "paths": {
    "/video/tokens": {
      "get": {
        "tags": [
          "Video"
        ],
        "summary": "Get user video token",
        "description": "This API allows you to get a token for a user to access video",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "integer",
                      "example": 200
                    },
                    "message": {
                      "type": "string",
                      "example": "SUCCESS"
                    },
                    "result": {
                      "type": "object",
                      "properties": {
                        "accessToken": {
                          "type": "object",
                          "properties": {
                            "ks": {
                              "type": "string",
                              "example": "djJ8NTY1MDQ2Mny9LrkHzRws4rjdBmJo8QO32BVm47WVjBlNMA16gR5jucbXhiKSfe_JYa0gDJx0EzcWqHZ0DNz4aW4sH84ni45p6d-WSWpIX8Tgc9I69VvYg5WXxzHwnI-yfwl3AMS5k1YKtUpat0FTZzRSDlcitVinNHl0vTrrjyPaz_WT-CLpyCQ2M8bnjKsCytoqOUm6t3bKu6Uoyw6kV5TOy30vQM0Ton4-nuSB8vZ-JdZdzf0PzfdMZ7GKKwL9uIXaTI-wRTeTXoXEhDJBsPWcvaziWSVkkvsE8bwzA1CSpe41KitLy-942oHiO2kvM8TJ4u021I"
                            },
                            "sessionType": {
                              "type": "integer",
                              "enum": [
                                0,
                                2
                              ],
                              "example": 2
                            },
                            "partnerId": {
                              "type": "string",
                              "example": 5650462
                            },
                            "userId": {
                              "type": "string",
                              "example": "02f02dc0-b3f2-453f-a272-c57988042ee9_7d863324-dd4b-40c8-8274-1717ea630382"
                            },
                            "expiry": {
                              "type": "integer",
                              "example": 1713962725
                            },
                            "privileges": {
                              "type": "string",
                              "example": "sessionid:1_abc,apptoken:1_def,disableentitlement"
                            },
                            "objectType": {
                              "type": "string",
                              "enum": [
                                "KalturaSessionInfo",
                                "KalturaAuthInfo"
                              ],
                              "example": "KalturaSessionInfo"
                            }
                          }
                        },
                        "uiconfIds": {
                          "type": "object",
                          "properties": {
                            "defaultPlayer": {
                              "type": "string",
                              "example": 53755452
                            },
                            "playerWithTranscript": {
                              "type": "string",
                              "example": 53755472
                            }
                          }
                        },
                        "uiconfId": {
                          "type": "string",
                          "example": 53755452
                        },
                        "partnerId": {
                          "type": "string",
                          "example": 5650462
                        },
                        "subPartnerId": {
                          "type": "string",
                          "example": 565046200
                        },
                        "playerUrl": {
                          "type": "string",
                          "example": "https://cdnapisec.kaltura.com/p/5650462/embedPlaykitJs/uiconf_id/53755452?iframeembed=true&ks=djJ8NTY1MDQ2Mny9LrkHzRws4rjdBmJo8QO32BVm47WVjBlNMA16gR5jucbXhiKSfe_JYa0gDJx0EzcWqHZ0DNz4aW4sH84ni45p6d-WSWpIX8Tgc9I69VvYg5WXxzHwnI-yfwl3AMS5k1YKtUpat0FTZzRSDlcitVinNHl0vTrrjyPaz_WT-CLpyCQ2M8bnjKsCytoqOUm6t3bKu6Uoyw6kV5TOy30vQM0Ton4-nuSB8vZ-JdZdzf0PzfdMZ7GKKwL9uIXaTI-wRTeTXoXEhDJBsPWcvaziWSVkkvsE8bwzA1CSpe41KitLy-942oHiO2kvM8TJ4u021IU="
                        },
                        "playerId": {
                          "type": "string",
                          "example": "player12"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/Message"
                    },
                    {
                      "$ref": "#/components/schemas/ValidationError"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        }
      }
    },
    "/video/search": {
      "get": {
        "tags": [
          "Video"
        ],
        "summary": "Get paginated search result for native videos",
        "description": "This API allows you to get paginated search result for native videos",
        "parameters": [
          {
            "in": "query",
            "name": "seachTerm",
            "schema": {
              "type": "string"
            },
            "description": "Filter by name of the media"
          },
          {
            "in": "query",
            "name": "duration",
            "schema": {
              "type": "string",
              "enum": [
                "less_than_one_minute",
                "one_to_five_minutes",
                "five_to_thirty_minutes",
                "thirty_minute_to_one_hour",
                "more_than_one_hour"
              ]
            },
            "description": "Duration"
          },
          {
            "in": "query",
            "name": "owner",
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Filter by owner uuid"
          },
          {
            "in": "query",
            "name": "siteId",
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Filter by siteId uuid"
          },
          {
            "in": "query",
            "name": "pageSize",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 16
            },
            "description": "limit the number of items"
          },
          {
            "in": "query",
            "name": "offset",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "description": "kind of page number"
          },
          {
            "in": "query",
            "name": "publishStartDate",
            "schema": {
              "type": "string"
            },
            "description": "publish start date"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "type": "object",
                      "properties": {
                        "items": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "file_id": {
                                "type": "string",
                                "example": "518439e8-1169-4dc9-aade-68874667b3b5"
                              },
                              "id": {
                                "type": "string",
                                "example": "1_vt8df700"
                              },
                              "title": {
                                "type": "string",
                                "example": "Top-Employee-Benefits.mp4"
                              },
                              "url": {
                                "type": "string",
                                "example": "https://abc.dev.simpplr.xyz/file_preview/518439e8-1169-4dc9-aade-68874667b3b5"
                              },
                              "downloadUrl": {
                                "type": "string",
                                "example": "https://cdnapisec.kaltura.com/p/5650462/sp/565046200/playManifest/entryId/1_vt8df700/format/download/protocol/https/flavorParamIds/0"
                              },
                              "thumbnailImg": {
                                "type": "string",
                                "example": "https://cfvod.kaltura.com/p/5650462/sp/565046200/thumbnail/entry_id/1_vt8df700/version/100001"
                              },
                              "runTime": {
                                "type": "integer",
                                "example": 30
                              },
                              "size": {
                                "type": "string",
                                "example": 4180512
                              },
                              "captionStatus": {
                                "type": "integer",
                                "example": 1
                              },
                              "videoStatus": {
                                "type": "integer",
                                "example": 2
                              },
                              "listOfSite": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "siteId": {
                                      "type": "string",
                                      "example": "8980ab19-d1b0-4822-9ce5-51a823e326c9"
                                    },
                                    "name": {
                                      "type": "string",
                                      "example": "Human Resource"
                                    },
                                    "access": {
                                      "type": "string",
                                      "example": "public"
                                    },
                                    "url": {
                                      "type": "string",
                                      "example": "https://abc.simpplr.xyz/site/8980ab19-d1b0-4822-9ce5-51a823e326c9"
                                    }
                                  }
                                }
                              },
                              "isInHomeFeed": {
                                "type": "boolean",
                                "example": true
                              },
                              "modifiedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2024-03-06T10:08:57.184Z"
                              },
                              "createdAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2024-03-06T10:08:57.184Z"
                              },
                              "provider": {
                                "type": "string",
                                "example": "native_video"
                              },
                              "version": {
                                "type": "integer",
                                "example": 1
                              },
                              "owner": {
                                "type": "object",
                                "properties": {
                                  "userId": {
                                    "type": "string",
                                    "example": "8980ab19-d1b0-4822-9ce5-51a823e326c9"
                                  },
                                  "name": {
                                    "type": "string",
                                    "example": "John Doe"
                                  },
                                  "url": {
                                    "type": "string",
                                    "example": "https://abc.simpplr.xyz/people/8980ab19-d1b0-4822-9ce5-51a823e326c9"
                                  }
                                }
                              },
                              "captions": {
                                "type": "object",
                                "properties": {
                                  "listOfItems": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "example": "1_rgegipzl"
                                        },
                                        "text": {
                                          "type": "string",
                                          "example": "a top four employee"
                                        },
                                        "timeStamp": {
                                          "type": "number",
                                          "example": 3.06
                                        }
                                      }
                                    }
                                  },
                                  "totalRecords": {
                                    "type": "integer",
                                    "example": 1
                                  }
                                }
                              }
                            }
                          }
                        },
                        "totalCount": {
                          "type": "integer",
                          "example": 1
                        },
                        "totalRecords": {
                          "type": "integer",
                          "example": 1
                        }
                      }
                    },
                    "status": {
                      "type": "integer",
                      "example": 200
                    },
                    "message": {
                      "type": "string",
                      "example": "SUCCESS"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/paths/~1video~1tokens/get/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Message": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          }
        }
      },
      "ValidationError": {
        "type": "array",
        "items": {
          "properties": {
            "seq_id": {
              "type": "integer",
              "example": 0
            },
            "field_name": {
              "type": "string",
              "example": "sentTo"
            },
            "error_code": {
              "type": "integer",
              "example": "1001"
            },
            "message": {
              "type": "string",
              "example": "should have required property 'sentTo'"
            }
          }
        }
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "Authorize error",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string",
                  "example": "Missing/Invalid authentication token"
                }
              }
            }
          }
        }
      },
      "Forbidden": {
        "description": "Forbidden error",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error_code": {
                  "type": "integer",
                  "example": 2001
                },
                "message": {
                  "type": "string",
                  "example": "Something went wrong, please try again"
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apiAuthSecurity": {
        "type": "oauth2",
        "description": "This API uses OAuth 2 with the implicit grant flow.",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://platform.test.simpplr.xyz/v1",
            "scopes": {
              "read": "read data",
              "write": "create/update data",
              "everything": "allow full access"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "apiAuthSecurity": []
    }
  ]
}
```