configureApi
Set up HTTP API endpoints for Spline 3D scenes to fetch data and map responses to scene variables for dynamic content integration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | Scene ID | |
| name | Yes | API name | |
| method | Yes | HTTP method | |
| url | Yes | API endpoint URL | |
| headers | No | HTTP headers | |
| body | No | Request body (for POST, PUT, PATCH) | |
| queryParams | No | URL query parameters | |
| requestOnStart | No | Whether to call API when scene loads | |
| variableMappings | No | Mappings from API response to Spline variables |