GitLab API

GitlabTool

Actions1095

Integrations → getApiV4ProjectsIdServicesSlug

AI-generated

Summary

Retrieve the integration settings of a specified project service on GitLab by providing the project ID and the integration (service) slug.

Inputs

  • id (required) — The unique numeric ID of the GitLab project for which to retrieve the integration settings.
  • slug (required) — The slug (name) of the integration/service for the project. Must be one of the predefined integration slugs such as 'slack', 'jira', 'asana', etc.
  • method — The HTTP method to use for the request, defaulting to GET.
  • baseUrl — The base URL of the GitLab API, defaulting to 'https://gitlab.com'.
  • skipAuthentication — Boolean flag to indicate whether to skip authentication; defaults to false.

Output shape

a single JSON object representing the integration (service) details for the specified project and slug.

The response will include the integration settings for the given project ID and service slug as returned by the GitLab API v4 endpoint /api/v4/projects/{id}/services/{slug}. Authentication is required unless explicitly skipped. Only valid integration slugs listed in the parameter schema are accepted.

Examples

Example 1: Get GitLab project Slack integration details

Provide project ID 123 and slug 'slack' to retrieve Slack integration configuration for project 123.

Links

Discussion