Getting ContactID

  • 15 February 2024
  • 2 replies

I am trying to use the frontapp API to get a url that directly links to the contact in frontapp. 
This url typically looks like "{{contact_identifier}}"


When I use the API to retrieve the contact information, there is only one id field (starting with crd_), and it does not match the required contact_identifier needed for the url (which is a number)


Can anyone tell me how to get the required contact_identifier? Or alternatively, is there a way to link to the contact page with the id from the API?


Best answer by Maxime Haudebert 15 February 2024, 14:44

View original

2 replies

Badge +1

Hi Arash!

The ID from the URL is related to the contact identifier you’re mentioning, one is base 10 while the other is base 36:

You’ll be able to convert one to the other with that conversion, and will simply need to prepend crd_ to the base 36 ID. For example contact 155370551841 would be crd_1ZDJM529.

This works on most resources from our API.

I hope this helps!

Thanks, it works