Trying to get notes (all notes) via API but only getting logged on users notes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jensolsson.se
    Junior Member
    • Dec 2022
    • 20

    Trying to get notes (all notes) via API but only getting logged on users notes

    Hi

    Is there any parameter to Notes which makes it possible for me to get all notes and not only notes for the user credential I use against the API?

    I did a request to /api/v1/Note using my own personal login as basic auth, and I get 500 records. When I instead use the API key I created I get 0 records.
    I would like to retrieve a list of all notes in the system last 30 days. Is this possible via the API?
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    I think it's not possible. Consider writing an API action that will return all notes. For security, you will also need to establish a new scope for Roles, to control whether a user has access to view all notes.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...