GitLab API icon

GitLab API

Gitlab

Actions1062

Integrations → getApiV4ProjectsIdIntegrationsSlug

AI-generated

Summary

Retrieve the configuration details of a specific integration for a given GitLab project.

Inputs

  • id (required) — The numeric ID of the GitLab project whose integration you want to retrieve.
  • slug (required) — The name of the integration to retrieve, specified from a predefined set of valid integration slugs.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com if not specified.
  • method — The HTTP method to use for the request; defaults to GET.
  • skipAuthentication — Option to skip authentication; defaults to false, meaning authentication is used.

Output shape

a single record containing the integration's configuration details for the specified project and integration slug

Returns the integration resource as provided by the GitLab API endpoint /api/v4/projects/{id}/integrations/{slug}. Authentication is required unless 'Skip Authentication' is enabled. The operation uses the configured GitLab base URL unless overridden.

Examples

Example 1: Retrieve Slack integration settings for project ID 123

Set 'id' to 123 and 'slug' to 'slack' with default baseUrl and authentication enabled to get Slack integration details.

Links

Discussion