/segments/previewPOSTsegments:write.rk_live_...).
Send as header Authorization: Bearer <key>.application/jsonrequiredobjectcurl -X POST "https://convert.ruut.chat/api/v1/segments/preview" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "segment": { "name": "string", "description": "string", "purpose": "marketing", "rules": {}, "source": {} } }'