Generate configuration files programmatically. Create types.xml, events.xml, and other server configuration files from your instance data.
Authentication required: All endpoints require a valid Bearer token.
Generate a configuration file based on your instance data. Returns the file content or triggers a download.
POST /api/instance/{instance_sid}/generate/{file_type}
instance_sid
required
The SID of the instance
file_type
required
Type of file to generate
Use file generation endpoints to automate your deployment workflow. Generate fresh configuration files after making changes through the API, then upload them to your server automatically using the File Uploads API.