Materials
Manage PBR materials with texture maps. Create realistic surface properties for your 3D models.
List Materials
GET/materials
const response = await fetch(BASE_URL + '/materials', {
headers: { 'Authorization': 'Bearer ' + accessToken }
});
const data = await response.json();
// { "success": true, "materials": [{ "id": "mat_123", "name": "Brushed Metal",
// "pbr": { "baseColor": "#808080", "metallic": 0.9, "roughness": 0.3 } }] }Create Material
POST/materials
const response = await fetch(BASE_URL + '/materials', {
method: 'POST',
headers: {
'Authorization': 'Bearer ' + accessToken,
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'Oak Wood',
category: 'wood',
pbr: { baseColor: '#8B6F47', metallic: 0.0, roughness: 0.8 }
})
});Update Material
PUT/materials/:id
const response = await fetch(BASE_URL + '/materials/mat_123', {
method: 'PUT',
headers: {
'Authorization': 'Bearer ' + accessToken,
'Content-Type': 'application/json'
},
body: JSON.stringify({ pbr: { roughness: 0.5, metallic: 0.8 } })
});Delete Material
DELETE/materials/:id
const response = await fetch(BASE_URL + '/materials/mat_123', {
method: 'DELETE',
headers: { 'Authorization': 'Bearer ' + accessToken }
});Continue reading
CategoriesOrganize assets and materials into categories for filtering and bulk material blocks.Team ManagementInvite, update, and remove team members on an account.Project SharingEnable project sharing, manage share tokens, and access the public share endpoint.Email & LogsSend test emails, list email logs, and resend failed notifications.
