Marvia Developer Portal
DocsAPI ReferenceAbout
DocsAPI ReferenceAbout
  1. Uploads
  • Users
    • Get a user
      GET
    • Delete a user
      DELETE
    • Update a user
      PATCH
    • List
      GET
    • Create a new user
      POST
  • Products
    • List products
      GET
  • Locations
    • Update a location
      PATCH
    • Get a location
      GET
    • Delete a location
      DELETE
    • List locations
      GET
    • Create a new location
      POST
  • Groups
    • Get a group
      GET
    • Update a group
      PATCH
    • Delete a group
      DELETE
    • List groups
      GET
    • Create a new group
      POST
  • Uploads
    • Initialize multipart upload
      POST
    • Complete multipart upload
      PUT
  • Assets
    • List assets
      GET
    • Create a new asset
      POST
    • Get asset by UUID
      GET
    • Update an asset
      PATCH
    • Search assets
      GET
  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/jsonRequired

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-10-01 06:18:21
Previous
Create a new group
Next
Complete multipart upload
Built with