API bug with limit/offset

  • Profile Image
    WebSummit
    Asked on July 31, 2013 at 07:03 AM

    Adding any limit or offset to an api call returns a 403, meaning you can get no more than 100 results. Needs to be urgently fixed. I'd screenshot but it would expose my api key.

  • Profile Image
    aytekin
    Answered on July 31, 2013 at 07:16 AM

    We will look into this problem and get back to you ASAP. 

  • Profile Image
    eee
    Answered on July 31, 2013 at 07:44 AM

    Hi,

    apiKey (and limit/offset) is a query string. If you need to use more than one of them in a request, you need to combine them with "&" sign instead of "?". It's a common mistake but easy to fix :)

    Wrong usage : http://api.jotform.com/form/{formID}/submissions?apiKey={apiKey}?limit=10 

    Correct one : http://api.jotform.com/form/{formID}/submissions?apiKey={apiKey}&limit=10 

    Kindest Regards,

    Ertugrul.