Trigger Jenkins jobs via API and curl

April 23, 2020

After upgrade Jenkins, we face an issue (Error 403 No valid crumb was included in the request). We have a few solution they need to trigger Jenkins's job externally via curl command before they start working. For trigger jobs we use a service account in Jenkins.


  • User in Jenkins.
  • User API Token.
  • Crumb Token for CSRF Protection
  • Jenkins version > 2.222.1
Read more