Skip to main content
The First Step
Mar 16, 2021 11:03 AM UTC
Question

Get all contents without limit

I would like to get the contents with the route .../1.0/contents and the results are limited to 30. How can I access to the others results ?

Thank you.

    4 replies

    PhongVu
    Community Manager
    Community Manager
    Mar 16, 2021 6:15 PM UTC

    What kind of content? And where do you get the 30 limit? Please ask with a clear question with a little background info so I can help.

    The First Step
    Mar 16, 2021 6:46 PM UTC

    Thank you to answer me Phong Vu.

    I use Postman to make requests to the API to get content (https://developers.ringcentral.com/engage/digital/api-reference/Contents/getAllContents).

    And as you can see below, the default limit is 30 (150 max when I precise it).capture-decran-2021-03-16-a-194049.pngIt's usual to have a limit but I can't find how I can do to access to the others results.

    Thank you for your help.

    PhongVu
    Community Manager
    Community Manager
    Mar 16, 2021 9:23 PM UTC

    Thanks. Someone from the Engage team will help you with this.

    Employee
    Mar 19, 2021 4:42 PM UTC

    Try using the "offset". Let's say the limit is 30. Then you can invoke the API again with "offset": 31. To get the next 30 just up the offset so the next 30 is "offset": 61.