Discussions

Ask a Question
Back to All

prive integration problems

Hello,

I am developing a private integration with Kommo as part of a project where we integrate ChatGPT to process incoming messages and send automated responses via Kommo's API. The integration works well up until the final stage of sending responses. However, we are encountering an issue with the endpoint used for retrieving contacts.

When I make a GET request to:


https://api.kommo.com/v1/contacts?limit=1
it automatically redirects to:


https://api.kommo.ru/v1/contacts?limit=1&lang=en&redirect=Y
I attempted to modify the redirect parameter to N (i.e., using redirect=N) to avoid the redirection, but this resulted in a 404 Not Found error.

According to the documentation, there isn’t clear guidance regarding the definitive endpoint or which additional parameters should be used to avoid this redirection. I would like to know:

Which is the correct endpoint for accessing contacts in private integrations?
Is it necessary to include any additional headers or parameters (such as X-Integration-ID or X-Secret-Key) to ensure that the requests are processed correctly without redirection?
Any clarification on how to properly configure the endpoint in our private integration would be greatly appreciated.

Thank you for your help. I live you mi acount id 30858783