Access Rights Issue with Ragic API for Assigned Entries

Hi everyone,

I’m working with Ragic and have run into an issue related to Access Rights when retrieving data through the API.

Here’s the situation:

  • I’ve set the sheet’s Access Rights to “Survey User and User Group as the entry’s owner,” which allows users to see or edit only the entries assigned to them.

  • When using the web panel, everything works fine MyUser can see and edit its own records as expected.

  • However, when I try to retrieve records using the API, MyUser can’t see any records.

Interestingly, if I change the Access Rights to “Everyone as Viewer,” MyUser can see all records via the API (which isn’t what I want).

A few details about my setup:

  • I’m using React with Axios for the API requests.
  • My API request includes the correct sessionid for MyUser, which I’ve verified.
  • The request URL follows the Ragic API documentation for fetching records from the specific sheet.

Could someone please tell me what I might be doing wrong? Do I need to configure something additional to make the “Survey User and User Group” access setting work correctly for API requests?

Any help or pointers would be greatly appreciated!

My settings details are from the web panel.

Thank you
Cezar Souza

Hi Cezar,

We’ve done some testing and was not able to reproduce your issue. From your description, the API user cannot retrieve any records, but can retrieve them after you change the Access Rights to “Everyone as Viewer”. The most likely reason is that the API calls was not authenticated as the API user successfully, and is retrieving the records as unauthenticated guest users.

You should try to make sure that your API calls are correctly authenticated, and see if the records can be retrieved. If you’re still not able to do so, please use the “Need Help” link at the top right of your account to allow access for our support staff to access your account sheets for a closer inspection and testing with the exact API calls that you’re using.

Best,
Jeff