But how can I find the form id for my specific form?
The closest to an answer I could find on the forum was Is there a simple way to find your FormID? but it doesn’t help.
I am fluent in R and can use a command line to retrieve this information.
You can view a list of your assets on the v1 API with a GET request to to endpoint /api/v1/data.json if you provide your authentication details with the request.
For example, I can see my assets simply using curl from the terminal:
Thanks a lot Josh. I had retrieved the token recently so I am happy to use it.
I have tried curl 'https://kc.kobotoolbox.org/api/v1/data.json' -H 'Cookie: csrftoken=2f0...9ac; kobonaut=acornamr' but without success as Terminal returns {"detail":"Authentication credentials were not provided."}%
Is the kobonaut not my login id? Or could it be another issue?
Sorry @acornamr, this is actually the correct way to go about it with your token obtained at the /token endpoint. The above is the way the browser authorizes the request with a cookie.