Create New Project
Developing
POST
/projects
Create a new project
POST
/projects
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.vidinfra.com/v1/projects' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Project rakajui 1",
"type": "both",
"region": "Africa",
"description": "Project Description",
"allow_direct_play": false,
"enable_video_drm": false,
"enable_live_drm": false,
"custom_storage": {
"name": "MyCustomStorage",
"key": "storageKey123",
"secret": "storageSecret123",
"region": "us-east-1",
"bucket": "mybucket",
"endpoint": "localhost:9001",
"driver": "s3",
"disable_ssl" : true,
"s3_force_path_style": true,
"default": true
}
}'
Response Response Example
200 - Success
{"message":"Resource Created successfully .","result":{"created_at":"2024-03-31T05:53:19.842711816Z","updated_at":"2024-03-31T05:53:19.842711867Z","name":"Project Name 4","status":"pending","description":"Project Description","logo_url":"http://example.com/logo.png","deleted_at":null,"created_by":"d7a3a698-4d1e-468e-906d-36f3a53e5955","updated_by":"d7a3a698-4d1e-468e-906d-36f3a53e5955","id":"2cd5f944-55f9-4f09-af87-42549f62273c","user_id":"d7a3a698-4d1e-468e-906d-36f3a53e5955","type":"both","region":"Africa","allow_direct_play":false,"enable_video_drm":false,"enable_live_drm":false},"success":true}
Request
Body Params application/json
Responses
Modified at 2025-06-19 04:59:01