Im trying to get a contact details using...
Documentation/api#/reference/SmarterMail.Web.Api.ContactsController/GetContact/get
It works ok for gal contacts. For example:
Path:
/api/v1/contacts/contact/0f549615105040079dbef2007a131050/gal
Response:
{'hideFromLdap': False, 'categories': [], 'phoneNumberList': [], 'emailAddressList': ['admin@mydomain.com'], 'displayAs': 'admin', 'picture': [], 'image': 'api/v1/contacts/image?data=default', 'children': [], 'groupedUids': [], 'groupedContacts': [], 'csvFields': [], 'sourceId': 'gal', 'flagInfo': {'type': 'None', 'iconColor': 'Red'}, 'lastModifiedUtc': '2026-07-25T06:56:33.0805671Z', 'id': 'a9d451633b4c44eb96da712ca21ed749', 'nameAndEmail': 'admin', 'sourcePermission': 4}
But for contacts in any other folder, for example for an user with id "0fa8faf3b85241a49b835090055e3587" in folder "Contacts" with source_id "33591f1bcc1341709118bd060e85cb43" it always returns
{"success":false,"resultCode":400,"message":"Invalid Access"}
I have tried multiple different combinations of paths:
/api/v1/contacts/contact/0fa8faf3b85241a49b835090055e3587/33591f1bcc1341709118bd060e85cb43/contacto1@blabla.com
/api/v1/contacts/contact/0fa8faf3b85241a49b835090055e3587/33591f1bcc1341709118bd060e85cb43
/api/v1/contacts/contact/0fa8faf3b85241a49b835090055e3587/33591f1bcc1341709118bd060e85cb43/test@mydomain.com
/api/v1/contacts/contact/0fa8faf3b85241a49b835090055e3587/Contacts
/api/v1/contacts/contact/0fa8faf3b85241a49b835090055e3587/Contacts/contacto1@blabla.com
/api/v1/contacts/contact/0fa8faf3b85241a49b835090055e3587/Contacts/test@mydomain.com
Similar behaviour happens with the api/v1/contacts/fetch-many"