PhotoGPT Developers

Get videos

GET
/videos

Retrieves paginated sanitized videos owned by the authenticated user.

Authorization

BearerAuth
AuthorizationBearer <token>

Developer API key. Send as Authorization: Bearer <api_key>.

In: header

Query Parameters

videoType?string

Video type filter. Use all or omit for all videos

pageNum?integer

Page number

pageSize?integer

Page size

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/videos"
{  "page": 1,  "pageSize": 20,  "result": [    {      "createdAt": "string",      "data": {        "property1": null,        "property2": null      },      "folderID": "string",      "id": "string",      "jobId": "string",      "liked": true,      "modelID": "string",      "publicMediaID": "string",      "type": "string",      "updatedAt": "string",      "url": "string"    }  ],  "status": "OK"}
{  "err": "string",  "message": "string",  "result": null,  "status": "NOK"}
{  "err": "string",  "message": "string",  "result": null,  "status": "NOK"}