Zeebe user task query REST API return 404

Hi There!
I want to use Zeebe user task query REST API, it returns 404 when I run curl localhost:8088/v1/tasks/search.
Does the “Use Tasklist API” mean Zeebe Task API does not have the query API and we have to use tasklist component in the picture below? In that case, I think it’s easy to misunderstand that zeebe user task has the same query API as tasklist.

@weiye-Lee ➜ /workspaces/camunda-platform (main) $ docker ps | grep 8088
ab2d01089ff3   camunda/zeebe:8.5.7                                    "tini -- /usr/local/…"   4 hours ago   Up 1 second (health: starting)   0.0.0.0:9600->9600/tcp, :::9600->9600/tcp, 0.0.0.0:26500->26500/tcp, :::26500->26500/tcp, 26501-26502/tcp, 0.0.0.0:8088->8080/tcp, :::8088->8080/tcp   zeebe
@weiye-Lee ➜ /workspaces/camunda-platform (main) $ curl localhost:8088/v1/tasks/search
{"type":"about:blank","title":"Not Found","status":404,"instance":"/v1/tasks/search"}

Check your port for your camunda 8 instance.

Some Reference which will help you.

https://www.postman.com/camundateam/camunda-8-postman/request/gm0ieu4/returns-the-list-of-tasks-that-satisfy-search-request-params

Use Swagger UI to get available Api endpoints.

Thanks @cpbpm
I’ve been looking for the official postman API for a long time.
I am using docker to run my zeebe container which port mapping from 8080 to 8088. You can see `“0.0.0.0:8088->8080/tcp” in my “docker ps” result. So I think the 8088 port may be right.
Reproduction:

git clone https://github.com/camunda/camunda.git
cd camunda
docker compose -f docker-compose-core up -d
docker ps
curl -POST localhost:8088/v1/tasks/search

Try 8082.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.