GitLab
Open-Source GitLab Connector
GitLab
The GitLab connector enables easy and secure data synchronization between your application and your customers’ GitLab accounts through unified data models.
Authorization
The GitLab connector uses OAuth for secure authentication. When creating a connection, the required OAuth scopes are automatically configured based on your specific operations needs (e.g. genericContact::create
, genericUser::list
).
✓ Automatic token refresh handling
✓ Proactive insufficient permissions detection
View our step-by-step integration guide
Whitelabel
Supported
You can choose to provide your own set of clientId
and clientSecret
for this
connector from the Morph Cloud dashboard; allowing a fully whitelabled experience
for your end-customers.
import { Morph } from "@runmorph/cloud";
const morph = Morph({ publicKey: "pk_demo_xxxxxxxxxxxxxxx", secretKey: "sk_demo_xxxxxxxxxxxxxxx"});
// create a new connection
const connection = morph.connections({ connectorId: "gitlab", ownerId: "demo" });
await connection.create({ operations:[ "genericContact::list" ]});
// auhtorize the connection
const { auhtorizationUrl } = await connection.authorize();
// redirect the user to the auhtorizationUrl
Live Demo
Select a connector below to experience our seamless authentication flow and see
how easy it is to connect third-party services.
Models
Generic
The GitLab connector seamlessly integrates with our unified genericContact
model, enabling you to manage Contacts with rich data including firstName
, lastName
, phoneNumber
, email
and other key details
API Reference
GET | /resources/genericContact | List and Search GitLab Contacts |
GET | /resources/genericContact/:id | Retrieve a GitLab Contact |
POST | /resources/genericContact | Create a GitLab Contact |
PATCH | /resources/genericContact/:id | Update a GitLab Contact |
DEL | /resources/genericContact/:id | Delete a GitLab Contact |
Custom Fields
Supported
The GitLab connector supports our Field Mapping
feature, enabling you or your customers to seamlessly map GitLab Contact custom fields to the unified contact model. This allows for flexible data synchronization while maintaining data consistency across all connectors.
The GitLab connector seamlessly integrates with our unified genericCompany
model, enabling you to manage Companies with rich data including name
and other key details
API Reference
GET | /resources/genericCompany | List and Search GitLab Companies |
GET | /resources/genericCompany/:id | Retrieve a GitLab Company |
POST | /resources/genericCompany | Create a GitLab Company |
PATCH | /resources/genericCompany/:id | Update a GitLab Company |
DEL | /resources/genericCompany/:id | Delete a GitLab Company |
Custom Fields
Supported
The GitLab connector supports our Field Mapping
feature, enabling you or your customers to seamlessly map GitLab Company custom fields to the unified company model. This allows for flexible data synchronization while maintaining data consistency across all connectors.
The GitLab connector seamlessly integrates with our unified genericUser
model, enabling you to manage Users with rich data including firstName
, lastName
, email
and other key details
API Reference
GET | /resources/genericUser | List and Search GitLab Users |
GET | /resources/genericUser/:id | Retrieve a GitLab User |
POST | /resources/genericUser | Create a GitLab User |
PATCH | /resources/genericUser/:id | Update a GitLab User |
DEL | /resources/genericUser/:id | Delete a GitLab User |
Custom Fields
Supported
The GitLab connector supports our Field Mapping
feature, enabling you or your customers to seamlessly map GitLab User custom fields to the unified user model. This allows for flexible data synchronization while maintaining data consistency across all connectors.
The GitLab connector seamlessly integrates with our unified genericWorkspace
model, enabling you to manage Workspaces with rich data including name
and other key details
API Reference
GET | /resources/genericWorkspace | List and Search GitLab Workspaces |
GET | /resources/genericWorkspace/:id | Retrieve a GitLab Workspace |
POST | /resources/genericWorkspace | Create a GitLab Workspace |
PATCH | /resources/genericWorkspace/:id | Update a GitLab Workspace |
DEL | /resources/genericWorkspace/:id | Delete a GitLab Workspace |
Custom Fields
Supported
The GitLab connector supports our Field Mapping
feature, enabling you or your customers to seamlessly map GitLab Workspace custom fields to the unified workspace model. This allows for flexible data synchronization while maintaining data consistency across all connectors.
Ticketing
The GitLab connector seamlessly integrates with our unified ticketProject
model, enabling you to manage Projects with rich data including name
, description
, members
and other key details
API Reference
GET | /resources/ticketProject | List and Search GitLab Projects |
GET | /resources/ticketProject/:id | Retrieve a GitLab Project |
POST | /resources/ticketProject | Create a GitLab Project |
PATCH | /resources/ticketProject/:id | Update a GitLab Project |
DEL | /resources/ticketProject/:id | Delete a GitLab Project |
The GitLab connector seamlessly integrates with our unified ticketIssue
model, enabling you to manage Issues with rich data including project
, title
, description
, status
, priority
and other key details
API Reference
GET | /resources/ticketIssue | List and Search GitLab Issues |
GET | /resources/ticketIssue/:id | Retrieve a GitLab Issue |
POST | /resources/ticketIssue | Create a GitLab Issue |
PATCH | /resources/ticketIssue/:id | Update a GitLab Issue |
DEL | /resources/ticketIssue/:id | Delete a GitLab Issue |
The GitLab connector seamlessly integrates with our unified ticketComment
model, enabling you to manage Comments with rich data including issue
, author
, content
, isInternal
and other key details
API Reference
GET | /resources/ticketComment | List and Search GitLab Comments |
GET | /resources/ticketComment/:id | Retrieve a GitLab Comment |
POST | /resources/ticketComment | Create a GitLab Comment |
PATCH | /resources/ticketComment/:id | Update a GitLab Comment |
DEL | /resources/ticketComment/:id | Delete a GitLab Comment |
Custom
Supported
Can’t find the unified model you need? The GitLab connector supports your own custom model.
Webhooks
The GitLab connector supports real-time event subscriptions, allowing you to receive instant notifications when records are created, updated, or deleted. Below are the supported models and their corresponding triggers.
Models | Created | Updated | Deleted | API Reference |
---|---|---|---|---|
genericContact | ||||
genericCompany | ||||
genericUser | ||||
genericWorkspace | ||||
ticketProject | ||||
ticketIssue | ||||
ticketComment |
Proxy
Supported
The GitLab connector supports our Proxy Request
feature, allowing you to directly
call any endpoints from GitLab’s public API without needing to handle authentication.
Your customer’s token will be automatically set and refreshed as needed, enabling
quick implementation of custom connector behaviors. View API Reference.