MatterPak Upload API
The VPS Map Creation API accepts a POST request to /v1/vps/map with a JSON payload containing map metadata and Matterport authentication.
Creates a new VPS map from a Matterport space using MatterPak.
Authentication Options: You can authenticate with Matterport using one of two methods:
OAuth Token: Use
oauthToken
in the metadataClient Credentials: Use both
clientId
andclientSecret
in the metadata
Process Flow:
Submit map creation request with Matterport space ID and credentials
System fetches the MatterPak from Matterport using provided credentials
Map is processed in the cloud (no file upload required)
Map becomes available for VPS queries when processing completes
Note: The map name will be automatically truncated to 30 characters if longer.
Name of the VPS map (will be truncated to 30 characters if longer). Should be descriptive and unique to help identify the map.
Office Building - Floor 1
Optional heading/orientation in degrees (0-360)
90
Map creation request submitted successfully
Bad request - Invalid parameters
Unauthorized - Missing or invalid authentication token
Forbidden - Matterport authentication failed
Internal server error
POST /v1/vps/map HTTP/1.1
Host: api.multiset.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 354
{
"mapName": "Office Building - Floor 1",
"coordinates": {
"latitude": 37.7749,
"longitude": -122.4194,
"altitude": 10.5
},
"heading": 90,
"source": {
"provider": "matterport",
"fileType": "matterpak",
"coordinateSystem": "RHS",
"processType": "cloud",
"metadata": {
"spaceId": "abc123def456",
"clientId": "your-matterport-client-id",
"clientSecret": "your-matterport-client-secret"
}
}
}
{
"message": "Map created successfully",
"mapId": "67a5b08736cb3f76aaf3a416",
"status": "processing",
"mapName": "Office Building - Floor 1",
"estimatedProcessingTime": "10-30 minutes"
}
Last updated
Was this helpful?