How can we get TenantKey based on Entitlement number?

Hi there!
We’re trying to identify a tenant based on the EN.

The plugin is a cloud one so we tried to rely on marketplace licenses API endpoint to get some information but there’s no way to identify in a unique way a tenant. What we’re looking for is to retrieve the tenant key based on the EN number. Is there any way to do that?

1 Like

The only way I am aware of is to have your app regularly store the results from GET /rest/atlassian-connect/1/addons/PLUGINKEY for every tenant, which includes the entitlementId.