Skip to content
Toolwire

GitLab

Repositories, merge requests, issues and CI/CD pipelines

Developer toolsProject managementCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Personal access token (glpat-…)SecretRequired
    • GitLab URLOptionalHTTPS URL

    Where to find them

    In GitLab: your avatar → “Edit profile” → “Access” → “Personal access tokens” → “Generate token” → “Legacy token”. Give it a name and an expiry date (1 year at most) and check the api scope (or read_api if you will only read). Copy the token (glpat-…): it is shown only once.

    Get credentials (opens in a new tab)

  • OAuth 2.0

    PKCEYour OAuth app

    Bring your own OAuth app: register one with GitLab, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide

    Registering the OAuth app

    1. In GitLab click your avatar → “Edit profile” → “Applications” (gitlab.com/-/profile/applications) and “Add new application”.
    2. Name it “Toolwire”, paste the redirect URI shown below as “Redirect URI”, keep “Confidential” checked and select the permissions (scopes) shown below.
    3. Click “Save application” and copy the “Application ID” (Client ID) and the “Secret” (it is shown only once). For a self-hosted GitLab instance, register the application there (same menu) and enter its URL in “GitLab URL” when connecting: this application only works for one instance.

    Default scopes

    • api

Tools (1)

  • GitLab API requestGITLAB_SEND_REQUEST

    Authenticated call to the GitLab API ({url}/api/v4). Any endpoint of the API is allowed. Examples: GET /projects?membership=true&simple=true&search=…, GET /projects/{id}/merge_requests?state=opened, GET /projects/{id}/issues?state=opened, GET /projects/{id}/pipelines?per_page=10, GET /projects/{id}/jobs/{job_id}/trace, GET /projects/{id}/repository/files/{encoded path}/raw?ref=main, POST /projects/{id}/issues. {id} is the numeric ID or the URL-encoded path (group%2Fproject).

    Required scopes

    No scopes required

    Input

    GitLab API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.