Plugin not getting called

Hello,
I wrote a tenantId plugin and defined the plugin in Camunda-cfg.xml as follows:

<bean id= “tenantIdProvider” class= “org.camunda.bpm.tutorial.multitenancy.CustomTenantIdProvider” />

However what I observe is that, it gets called only for OOTB Camunda REST APIs
e.g. /rest/engine/default/process-definition/key/process1/start

I added my own REST API as part of the same springboot application to give my own version of start
e.g. /servicing/myapi/process1/start.

But for myapi, tenant plugin does not get called. Any idea what the issue could be?

All,
After further analysis, I found that it only gets called only for specific methods called on process or task. Hence this is no longer an issue.
Thanks,
Ashish