Code Manager webhook query parameters

You can use these query parameters in your the Code Manager webhook URL.

Parameter Description Value
type Required. Specifies the type of POST body to expect. Specify the value corresponding with your Git host:
  • GitHub: type=github
  • GitLab: type=gitlab
  • Bitbucket Server version 5.4 or later (formerly Stash): type=bitbucket-server
  • Bitbucket: type=bitbucket
  • Team Foundation Server (resource version 1.0 is supported): type=tfs-git
prefix Conditionally required. Specifies a prefix for converting branch names to environment names.
Required if you used prefixing when Configuring sources. If your sources use prefixing and you do not specify this parameter, Code Manager can't correctly locate or deploy environments, or translate branch names to valid environment names.
prefix=<PREFIX>
token Conditionally required. Specifies the entire PE authorization token to use for code deployments. To get a token, you can Request an authentication token for deployments.
Required unless you disabled authenticate_webhook in your Code Manager configuration.
token=<TOKEN>