P4 REST API
Developers can use the P4 REST API to build scripts and applications that integrate with P4, automate workflows, and extend P4.
The P4 REST API is a Technology Preview feature introduced with the 2025.2 release of the P4 Server.
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 documentation.