P4 REST API
Developers can use the P4 REST API to build scripts and applications that integrate with P4, automate workflows, and extend P4.
Features offered in Technology Preview are experimental and not guaranteed to always work as expected. If you have feedback and functionality suggestions, email techpreview@perforce.com.
The REST API runs on the built-in P4 Web Server, which must be started before you can use the API. To learn more, see p4 webserver in the P4 CLI Reference.
To learn more about using the REST API, see the P4 REST API documentation.
P4 REST API 2026.1 breaking changes
The P4 REST API is in Technology Preview and under active development. If you used P4 REST API 2025.2, review the following changes and required actions to make sure your application is not impacted when upgrading to P4 REST API 2026.1.
To learn more about these breaking changes, see the P4 CLI Documentation.