Skip to main content

I am looking into populating our CRM for one of our apps to be used in conjunction with our support channel.

We previously used the marketplace webhook to do this, but there was a problem at one point and we’ve missed many webhooks.

From there, I looked into the marketplace APIs like the app_installs API to fill in the gaps. But these APIs do not contain the customer’s slug. Only the account IDs.

When a customer contacts us, they don’t know or have their account ID on hand. What they have is their slug.

Is there something I missed? Is there a way to get a slug from an ID (another API?). Am I blind, is it undocumented or is it simply missing?

You’re not blind. The account name and slug are not in the APIs we can access with a dev account token. (I agree the slug itself really needs to be, and we need to be able to query with it for that matter!). You can get it with a customer token using `account { slug }` but obviously thats not easy to do randomly.


Hi ​@Revilre,

What do you mean by “without a dev account token”? As far as I know I have to use my developer account token to access the `app_installs` API.

>  You can get it with a customer token using `account { slug }` but obviously thats not easy to do randomly.

Could you tell me where you can do that (IE what API/endpoint you use to do that)?

Thanks


WITHOUT was a typo sorry!.  The `account { slug }` is only accessible with an API token for the customer account - not our developer tokens. But you could use that when you have access to it to collect the missing slug.


Thanks ​@Revilre, yeah that is what I thought.

I won’t mark this post as resolved because I would like for somebody from the monday team to pitch in to at least let us know if there is a reason for the slug missing or if it is something they know and might provide later.


@Pask I’d recommend creating it as a feature request, since thats the only way its going to get looked at to add it.


FYI 

 


Reply