List API SKY Developer Cohort Env

Hi there!


We are working in the integration with the List API within the SKY Developer Cohort test environment.

We are currently getting the lists metadata successfully with the API, but we are having issues to retrieve the list constituents. When we try to get the constituents from an existing list (we didn't create this list) using the Constituent List endpoint we are getting back a Forbidden status code.

We thought that this is because we probably don't have enough permissions to get the constituents. But we are trying to create a list so we can retrieve the constituents from it but the endpoint CreateListFromIds is responding with a Unauthorized status code (even using a valid token).


How can we create a list in the test environment to keep working in this integration?

Hope you can help us out.


Ulises.

Comments

  • Hi Ulises,


    This could be due to a number of factors, including the specific permissions on the list you're trying to access (for example, when lists are created in NXT, a setting can be provided that makes the list "private").


    However, this is most likely a function of your limited user permissions within the Cohort environment (unfortunately, the initial read-only access level we give to developers in the Cohort does not provide access to lists due to the underlying security model). I've adjusted your end-user permissions in the Cohort environment so that your user account now has certain write permissions, and this should also allow you to access lists via the API.


    So can you try your API calls again? If you are still getting a Forbidden response, please let me know the specific list within the Cohort environment that you're trying to access and we'll take a look.
  • Hi Ben!


    Thank you very much for your help! I can create lists through the API and also get the constituents from that list.