Skip to main content

HTTP API reference › Gala Launchpad › Permissions

Gala Launchpad — Permissions

1 operation in this group.

GET /v1/permissions​

PermissionsController_getUserPermissions

Get user permissions for a token

Returns the effective permissions for the authenticated user on a specific token. User address is inferred from the JWT token.

Authentication: bearer

Parameters​

NameInRequiredTypeDescription
tokenNamequeryrequiredToken name to check permissions for

Responses​

200 — User permissions retrieved successfully​

Content type: application/json

Schema: UserPermissionsResponse

FieldTypeRequiredDescription
isOverseerbooleanyesWhether the user has a platform-wide overseer role
isOwnerbooleanyesWhether the user is the token owner (owners have all permissions)
matchedPresetstring nullable enum: MODERATOR, TECHNICAL_PRODUCER, MANAGERnoIf permissions match a role preset exactly, the preset name
permissionsarray<string>yesArray of permission strings the user has for this token
sourcestring nullable enum: owner, moderator_invite, api_key, overseeryesSource of the permissions (how access was granted)

400 — Missing or invalid tokenName parameter​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

401 — Unauthorized - missing or invalid JWT token​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

404 — Token not found​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

default — Shared error envelope returned by the application exception filter.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

Example response​

[]

Previous group: overseers · Next group: content-reactions