Skip to Content

Public M2M API — studio

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/studio

Exported methods: GET, POST

GET

  • Resource scopes: studio:read
  • Query parameters: deleted, id, limit, page, resource, search, status
  • Shared pagination: Yes
  • Response keys observed across outcomes: data, meta, pagination, resource, tenantId

POST

  • Resource scopes: studio:write
  • Explicit response statuses: 201, 400, 409, 422
  • Explicit error codes: invalid_request, onboarding_incomplete, studio_operation_failed
  • Response keys observed across outcomes: data

Send a JSON object. Observed branch requirements: When resource=template create, provide name; When update, provide id, action=update. Other fields and downstream service validation depend on the branch; verify the result.

JSON properties observed: action, aiInstructions, baseType, blocks, clientName, id, name, pdfThemeId, resource, title, type.

These names are read by the handler; they are not a complete schema or a promise that every property applies to every branch. Check the validation messages and operation result.