Script

Get script

Get the full ordered main-section script: blocks with type, answer_style, prompt, options, constraints, and action_block config. Pass ?expand=outro to include read-only post-survey blocks (including outro title).

get/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

Query parameters

expand'outro'

Pass outro to include post-survey blocks in read-only mode.

Response

Script with ordered blocks

Changes

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