How do i find the required form id from my KoBoToolbox account

Hi @acornamr,

Welcome to the Kobo forum :slightly_smiling_face:

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:

curl 'https://kc.kobotoolbox.org/api/v1/data.json' -H 'Cookie: csrftoken=<token>; kobonaut=<kobonaut>'

This will give you an output like this:

[
  {
    "id": 123456,
    "id_string": "qwerty12345",
    "title": "foo",
    "description": "foo",
    "url": "https://kc.kobotoolbox.org/api/v1/data/123456.json"
  },
  {
    "id": 123457,
    "id_string": "qwerty123456",
    "title": "bar",
    "description": "bar",
    "url": "https://kc.kobotoolbox.org/api/v1/data/123457.json"
  },
]
1 Like