How to get contact id from amocrm by known phone number?
1. How to get contact id from amocrm by known phone number, what request to make to get contact id.
2. What request to send to amocrm to add a note to a contact by known id
You can make a request like GET https://example.amocrm.ru/api/v4/contacts?query=79...
The response will be an array of contacts (here it's better to iterate over the array and check custom_fields)