DocsAPI ReferenceAbout
DocsAPI ReferenceAbout
  1. Uploads
  • Overview
  • Getting Started
  • Authentication
  • Permissions
  • Using the Marvia CDN
  • API Reference
    • Users
      • Get a user
      • Delete a user
      • List
      • Create a new user
    • Products
      • List products
    • Locations
      • Update a location
      • Get a location
      • Delete a location
      • List locations
      • Create a new location
    • Groups
      • Get a group
      • Update a group
      • Delete a group
      • List groups
      • Create a new group
    • Uploads
      • Initialize multipart upload
        POST
      • Complete multipart upload
        PUT
    • Assets
      • List assets
      • Create a new asset
      • Get asset by UUID
      • Update an asset
      • Search assets
  1. Uploads

Initialize multipart upload

Production
https://api-v2.getmarvia.com
Production
https://api-v2.getmarvia.com
POST
https://api-v2.getmarvia.com
/v1/uploads/init-multi-part
Required Permission: create:uploads
This endpoint requires an API key with the create:uploads permission. Make sure your token was created with this permission during token creation.

Request

Authorization
API Key
Add parameter in header
Authorization
Example:
Authorization: ********************
or
Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Success
Body

🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-v2.getmarvia.com/v1/uploads/init-multi-part' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "fileName": "string",
    "fileSize": 0
}'
Response Response Example
200 - Example 1
{
    "_tag": "Success",
    "data": {
        "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
        "numberOfParts": 0,
        "parts": [
            {
                "partNumber": 0,
                "url": "string"
            }
        ]
    }
}
Modified at 2025-09-08 06:20:01
Previous
Create a new group
Next
Complete multipart upload
Built with