Create and upload
Use these endpoints to upload videos, create surveys, and trigger Pixi chat.Authentication
| Endpoint | Purpose | Notes |
|---|---|---|
POST /auth/login | Sign in | Returns access_token and refresh_token. |
POST /auth/sign-up | Create account | Requires plan + user data. |
Instavidiq uploads
| Endpoint | Purpose | Notes |
|---|---|---|
POST /project | Upload a video | multipart/form-data with video file. |
POST /file/video-url-meta-data | Fetch link metadata | Used for YouTube/URL ingestion. |
POST /folder/create | Create a folder | JSON payload. |
POST /folder/create-default | Ensure default folder | Used on first login. |
POST /folder/add-label | Add folder labels | JSON payload. |
POST /folder/remove-label | Remove folder labels | JSON payload. |
POST /folder/create-report | Generate folder report | Used by folder report UI. |
SurveyCine creation
| Endpoint | Purpose | Notes |
|---|---|---|
POST /surveycine/add-survey-request | Create a survey | multipart/form-data with metadata + assets. |
POST /surveycine-review/add-review-info | Save respondent info | Used before video upload. |
POST /surveycine-review/add-review | Submit a response | Used by public survey flow. |
Pixi chat
| Endpoint | Purpose | Notes |
|---|---|---|
POST /project/chat | Send a chat prompt | Used for non-streaming requests. |
Payments and promos
| Endpoint | Purpose | Notes |
|---|---|---|
POST /payment/create-order | Start payment flow | Used by unit purchase flow. |
POST /payment/verify-payment | Verify payment | Confirms successful checkout. |
POST /promo-code/verify | Apply promo code | Used during checkout. |