Skip to main content
GET
Get a mini app's latest source and edit access
The response includes can_edit. Check that it is true before preparing changes. For an access check, use ?include_source=false to skip downloading the source archive; the response keeps the same fields with source: "". Omitting this parameter preserves the full-source response. Editing requires workspace app edit permission. An empty editor list allows everyone with that permission. A nonempty list restricts editing to selected people and the owner, including for admins. Bare API keys receive can_edit: false. An identified user must be able to open the app to read its source. Users with app read or write permission can inspect the latest version; users who can only open a shared app receive its published source. Reading source does not grant editing access. Every save checks edit access again, so an earlier check does not preserve access after an editor is removed. See Mini-app editing access for invitations and ownership.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Query Parameters

include_source
enum<string>

Set to false to check access without downloading source. Defaults to true; source is empty when excluded.

Available options:
true,
false

Response

Default Response

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
name
string
required
description
string | null
required
source
string
required
can_edit
boolean
required

Whether the acting user has app edit permission and satisfies the editor settings. An empty list permits everyone with that permission; a nonempty list permits selected people and the owner.