Script

Replace script

Replace the entire main-section script atomically. Only permitted when project is inactive. You may also include section=outro blocks (with id) to update outro presentation (prompt, image_url, thumbnail_url, color) and pause (continue.pause). Reward/action identity for outro blocks remains managed by project rewards/settings.

put/v1/communities/{communityId}/projects/{projectId}/script

Request

  • Base URL: https://api.subo.ai
  • URL: https://api.subo.ai/v1/communities/{communityId}/projects/{projectId}/script
  • Auth: API key in header X-API-Key

Path parameters

communityIdstring required

Community ID (Discord guild snowflake, serialized as string)

projectIdstring required

Project ID

Request body

Response

Updated script

Changes

No recorded changes to this operation across all 1 revision of this API.