I am trying to search for user tasks with the following request:
curl --request POST
–url http://localhost:8082/v2/user-tasks/search
–header ‘Authorization: Bearer ’
–header ‘Content-Type: application/json’
–header ‘User-Agent: insomnia/12.1.0’
–data '{
“sort”: [{“field”: “creationDate”,“order”: “DESC”}],
“filter”: {“state”: “CREATED”,“elementId”: “some_id”,“tenantId”: “some_tenant”,“processInstanceKey”:“2251799821881294”},
“page”: {“from”: 0,“limit”: 100}
}’
but this results in a 405 Method not allowed response. The API doc says this should be a POST as described here: Search user tasks | Camunda 8 Docs
Why am I getting this 405? Thanks for any help.
Hi @jeroenweird
Could you show what Camunda component you have on port 8082?
Regards,
Alex
I guess you have Tasklist service on port 8082 while the api call you’re using is for Orchestration Cluster API. Could you try 8080 instead?
cpbpm
December 10, 2025, 5:14pm
4
Would you please share the Camunda version details,
The 8082 port is just a port forward to the Camunda tasklist. I am using Camunda 8.7
Can you try Search tasks | Camunda 8 Docs API? The one that you mentioned initially is for version 8.8
Ok that seems to work, thanks. The only thing is that now I use v2 for assigning and completing a task and v1 for searching a task. So for assigning and completing the v2 seems to work with 8.7.