Get the list of tickets with all types of workpspace based in API?

Hi Team,

We are working get list of tickets based on all workspaces

“api/v2/tickets?page=1&per_page=100 “ –> this is get list of tickets but default workspace only
,if 2 or more workspace is here in platform

“api/v2/tickets?workspace_id=0&page=1&per_page=100” –> this is getting list of ticket with all workspaces

but if only one workspace is here in platform

“api/v2/tickets?workspace_id=0&page=1&per_page=100” –> get empty response ( )

why getting empty response ?

Please salve this problem