GitLab API icon

GitLab API

Gitlab

Actions1062

Invitations → postApiV4ProjectsIdInvitations

AI-generated

Summary

Send an invitation to a user to join a specific GitLab project by making a POST request to the /api/v4/projects/{id}/invitations endpoint.

Inputs

  • id (required) — The project ID identifying the GitLab project to which the invitation will be sent.
  • postApiV4ProjectsIdInvitations (required) — The request body containing the invitation details according to the postApiV4ProjectsIdInvitations schema.
  • baseUrl — The base URL for the GitLab instance, defaulting to https://gitlab.com.
  • skipAuthentication — Toggle to skip authentication; if false, uses the configured GitLab API credentials.

Output shape

The response from GitLab's API after sending the invitation, typically containing the invitation details as a JSON object.

The output includes the server response from the POST request to the invitations endpoint; error responses or rejections from the API depend on API behavior. Authentication is required unless explicitly skipped.

Links

Discussion