A workspace owner makes keys under Settings, then Team and seats, then API keys. A key reads every study in the workspace. It changes nothing. Keys are on every plan, Free included.

Make a key

  1. Under API keys, say what the key is for, such as "Power BI dashboard".
  2. Choose Make a key.
  3. Copy the key with the Copy button beside it. It starts with tkw_.

The key is shown once. Only a fingerprint of it is kept, so it cannot be shown to you again. If you lose it, revoke it and make another.

When a key ends

A key lasts twelve months. The list says Ends and the date beside each one. Every owner of the workspace is emailed a month before it ends and again a week before. After that day a request with the key is refused, with a message saying the key ended and when.

To go on reading without a stop:

  1. Choose Replace beside the key.
  2. Copy the new key. It has the same name and reads the same data, with twelve months of its own.
  3. Put it in each place that used the old one. The old key works until its own date.

A key that existed when keys began to end was given twelve months from that day.

Send the key with each request

Put the key in the Authorization header as Bearer tkw_.... The full address to use is under Where to use a key, below the list of keys.

  • GET /api/v1/open/studies lists the workspace's studies and the surveys in each.
  • GET /api/v1/open/surveys/{survey} returns a survey's questionnaire as last published.
  • GET /api/v1/open/surveys/{survey}/responses returns its responses, oldest first, a page at a time.
  • GET /api/v1/open/surveys/{survey}/responses.csv returns the same responses as one CSV file.
  • GET /api/v1/open/odata/surveys/{survey} is the same responses as an OData feed, for Power BI.

In place of {survey}, use the survey's id or the last part of its web link, after /r/.

Read only what is new

Add since with a date and time to read only the responses submitted from then on, for example ?since=2026-10-01T00:00:00Z. A page holds a hundred responses. Ask for up to five hundred with perPage.

Add editedSince to read only the responses corrected from then on, for example ?editedSince=2026-10-12T00:00:00Z. Each response says how many times it was corrected in edits, and when it last was in lastEditedAt, so a system that read the responses once can fetch the ones put right since. A correction is made on Field Team, as Correct a submitted interview shows.

When there are more, the answer carries nextCursor. Send it back as cursor to read the next page, or call nextUrl, which is the whole address for it.

Connect Power BI by OData

The OData feed is the best way into Power BI. Power BI reads every column with its type, a number as a number, follows the pages itself, and keeps your report's steps on each refresh.

  1. Copy the OData address for your survey from Where to use a key. It ends in /odata/surveys/ and the survey's id.
  2. In Power BI Desktop, choose Get data, then OData feed.
  3. Paste the address and choose OK.
  4. When Power BI asks how to sign in, choose Basic. Type anything as the user name, such as key. Paste your key as the password.
  5. Choose Connect. Tick Responses and choose Load.

Refresh brings in the responses that arrived since. To refresh on a schedule in the Power BI service, enter the same Basic sign-in under the dataset's data source credentials.

Each answer is a column, named by its question's id, with the question's wording as its description. A question whose answers are numbers comes in as a number. The feed answers paging, $select, $top, $skip and $count. It does not filter or sort on the server: Power BI does that once the rows are loaded.

Open responses in Excel

Excel for Windows reads the CSV link and refreshes it.

  1. In Excel, choose Data, then Get Data, then From Other Sources, then From Web.
  2. Choose Advanced.
  3. Under URL parts, paste the CSV link for your survey.
  4. Under HTTP request header parameters, type Authorization in the first box. In the second, type Bearer, a space and your key.
  5. Choose OK. If Excel asks how to connect, choose Anonymous, then Connect.
  6. Choose Load.

To bring in the responses that arrived since, choose Data, then Refresh All.

The OData feed above is the better choice. The CSV link also works:

  1. In Power BI Desktop, choose Get data, then Web.
  2. Choose Advanced, and fill in the CSV link and the Authorization header as for Excel.
  3. If Power BI asks how to connect, choose Anonymous, then Connect.
  4. Choose Load, then build your report on the table.

Refresh fetches the latest responses.

What the responses hold

Each response carries its id, when it was submitted, the channel it came by, the ward, the language and the answers. Once the study has been weighted, each also carries its weight. In the CSV each answer has a column of its own, in the order of the questionnaire, and a question with several answers chosen fills one cell with the choices separated by semicolons.

Responses go out as an analyst sees them. Contact details are withheld, and who collected an interview and where they stood are left out. Pilot responses are not included.

A cell that would start a formula in a spreadsheet is written with an apostrophe in front. An answer can never run as a formula on your computer.

Limits and the record

Each key may make sixty requests a minute and ten thousand a day. The day turns at midnight in Nairobi. A system that comes to either number is refused, and told in Retry-After how long to wait. One that asks only for what has changed, with since, does not come near them: a dashboard refreshed every half hour, reading ten pages each time, makes about five hundred requests a day. If a system of yours needs more, choose Ask TI and say what it does.

A key reads its own workspace and nothing in any other.

Every read of responses is written to your workspace's audit log under the key's name. Beside each key, Last used says when it last read anything.

Encrypted questionnaires

A response to an encrypted questionnaire comes with its answers empty and a sealed envelope beside them, which only the questionnaire's private key opens. The CSV link and the OData feed refuse an encrypted questionnaire. See Encrypt a questionnaire.

Revoke a key

Choose Revoke beside the key. Anything using it is refused from then on, with a message saying the key was revoked. A revoked key cannot be turned back on.

Anyone who has a workbook with a key in its query can read the key. Share such a workbook only with people who may see the responses, and revoke the key if it leaves your organisation.