GitLab API icon

GitLab API

Gitlab

Actions1062

Integrations → postApiV4ProjectsIdIntegrationsSlackSlashCommandsTrigger

AI-generated

Summary

Send a POST request to trigger a Slack slash command integration for a specified GitLab project.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project to which the Slack slash command integration applies.
  • Skip Authentication — Optionally skip authentication for this request.
  • Authentication (required) — Use the configured GitLab API credentials unless authentication is skipped.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.
  • Method (required) — HTTP method to use for the request; should be POST for this operation.

Output shape

The response body from the POST /api/v4/projects/{id}/integrations/slack_slash_commands/trigger endpoint, typically JSON with the result of triggering the Slack slash command integration.

Requires the project ID parameter in the path. The body schema for the request is defined but not detailed here, so it should match the GitLab API's expected payload for this trigger endpoint. Authentication is applied by default except if skipped.

Links

Discussion