Skip to content
LogoLogo

Begin an installation or personal provider authorization

Begin an installation or personal provider authorization

POST/api/v1/workspaces/{workspace_id}/integration-authorizations

Creates a ten-minute single-use state and a provider authorization ceremony, using PKCE S256 when supported or confidential client authentication when required by the provider. Owners/Admins may create Workspace installation authority; every member may authorize only their own delegated identity inside an existing installation. Secret material and PKCE verifiers are never returned.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Request Body

application/json
provider_keyRequired
string·min 2·max 50
authority_modeRequired
string
Values
installationuser
installation_id
string <uuid>

Opaque Assign-owned UUIDv7 identifier. Clients must not derive meaning from it.

Example0198ac5e-f9b7-7000-8000-000000000001
return_pathRequired
string·min 1·max 1024
gitlab_self_managed
object

Required only when creating a new GitLab Self-Managed installation. Reconnects reuse the installation's vault-backed configuration.

Responses