GITLAB API Create Pipeline

Hello ! I am trying to launch a pipeline with curl.
Doing it through the web api works well but my command fails…

curl --globoff --request POST --header “PRIVATE-TOKEN: xxxxxxxxx” “[][key]=ENVIRONMENT&variables[][value]=qa&variables[][key]=API_BRANCH&variables[][value]=somebranch

{“message”:{“base”:[“No stages / jobs for this pipeline.”]}}

I get the same error even without the variables…

If anybody knows what’s happening, please help :smile: