Blog Engineering Postman integration with GitLab makes API workflows easier
Published on: August 24, 2022
3 min read

Postman integration with GitLab makes API workflows easier

Learn how to use the git integration to link APIs in Postman to GitLab cloud repos.

introducing-continuous-workflows.jpg

APIs are more than just an interface. From a development lifecycle perspective, an API includes source code, definition files, tests, performance measurements, documentation, security audits, deployments, and feedback from API consumers. All of these elements are required for a successful API implementation. So, in partnership with GitLab, Postman created a git integration that allows users to link APIs in Postman to their GitLab cloud repos (on-prem versions of GitLab are only supported on Postman Enterprise).

The Postman API Platform is designed to help teams collaborate seamlessly by providing tools for the entire API lifecycle. We understand that a fundamental part of the API lifecycle includes developer workflows centered around code and source control.

illustration

4 key benefits for better collaboration

The launch of this integration earlier in the year provides four key benefits that empower teams to work faster and better together:

1. It introduces the concept of version control into Postman. Users are now able to manage and sync branches, releases, versions, and tags for their APIs in GitLab and Postman.

screenshot of drop-down menu

2. Elements created in Postman can be pushed to a user’s GitLab repository, where the schema and collections can coexist alongside the source code. Likewise, branching workflows that your team might already be using can now be followed in Postman; external changes to code and API definitions are reviewable and can be merged back to Postman.

screenshot of branch info

3. This integration enables developers to think about API elements as the API itself, instead of treating code, API definitions, documentation, collections, tests, monitors, etc. as independent entities. All of these constitute the API. Moreover, this allows a higher-level view of the entire API, rather than just the source code — a critical requirement for any organization who wants to build a structured and robust API program.

screenshot of API info

4. The Postman-GitLab integration greatly minimizes the likelihood that downstream teams and API consumers will interact with outdated (or even deprecated) APIs or API elements. Users don’t have to spend time deciphering what API, collection, or documentation is current, since they can see what version they are working with all the way back to the code. In Postman, users also have direct access to real-time collaborative tools such as commenting and forking/merging to maintain synchronization between downstream API consumption and the source of truth.

illustration

An integration for the API-first world

Our partnership with GitLab supports our commitment to building Postman as the platform for the API-first world. With integrations like this, API-first companies are now more productive, can deliver higher-quality products, and are able to build stronger ecosystems of developers, partners, and consumers.

To get started with the GitLab integration, check out our guide and our how-to video for GitLab integration config:

Andy Rogers is product manager at Postman.

We want to hear from you

Enjoyed reading this blog post or have questions or feedback? Share your thoughts by creating a new topic in the GitLab community forum. Share your feedback

Ready to get started?

See what your team could do with a unified DevSecOps Platform.

Get free trial

Find out which plan works best for your team

Learn about pricing

Learn about what GitLab can do for your team

Talk to an expert