Skip to content

Connecting Your Tools with an API Key

How group admins create an API key so a spreadsheet, automation or script can read the group's Scoutworks data, and how to keep that key safe.

Filed underapiapi keyintegrationsspreadsheetadminbeta

Some groups keep a membership spreadsheet, send new waiting-list names to a chat app, or run a small script of their own. An API key lets those tools read your group's data from Scoutworks directly, so nobody has to export and copy it by hand. A group admin creates the key in Scoutworks and pastes it into the tool.

This feature is currently in beta. Turn it on in Settings → Beta Programme.

What a key can and can't do

A key can only read data. It can't change anything in Scoutworks.

Each key belongs to your group and reads only your group's data. You choose which areas it can read:

AreaWhat the tool can read
MembersNames, sections, patrols and status.
Members: contact detailsAdds dates of birth, gender, home addresses, and parent names, emails and phone numbers.
EventsEvents, and who is going to each one.
BadgesBadge progress and awards, with the progress on each requirement.
Waiting listNames, sections, status and position on the list.
Waiting list: contact detailsAdds dates of birth and parent names and emails.

The contact-details options add to an area. They do nothing on their own, so you also need to choose the area they belong to.

Whatever you choose, a key never shares health information, bank details or free-text notes.

Every key can also read your group's sections and units, and the full badge catalogue with each requirement. A sync tool uses these to file each record under the right section, and to match badges in another system.

Keys for districts and areas

A district, county or area can make its own key. A district admin goes to the district's Settings → Integrations. A district key reads totals only, such as members and waiting list figures by section, across the groups that share with the district. It never reads a member's record, and a group key cannot read district totals.

Where to find it

Open Settings from the sidebar, choose the Integrations tab, and find the API keys section. Only Group Admins can see it.

Creating a key

  1. Press Create API key.
  2. Give the key a name that says what it is for, for example "Membership spreadsheet". The name helps you tell your keys apart later.
  3. Under What this key can do, tick only the areas your tool needs. Each contact-details option sits under the area it adds to.
  4. If you want, choose a date in Expires on. After that date, the key stops working. Leave it empty for a key that doesn't expire.
  5. Press Create key.

Scoutworks then shows the key. You see it only once. Copy it and paste it into your tool straight away. If you lose it, revoke it and create a new one.

Checking the key works

Before you close the key, press Test connection. If the key works, you'll see "Connected to" and your group's name.

Under Next steps, you'll find links to step-by-step guides for Google Sheets, Excel, n8n, Zapier, Python and more. The guides live on our developer site at developers.scoutworks.app. You can try every guide first with a practice key that reads a demo group full of made-up Scouts. When it works, swap in your own key.

Changing or revoking a key

Open the menu on a key's row to change it:

  • Edit… changes the key's name or the areas it can read. The key itself stays the same, so anything using it keeps working.
  • Revoke… switches the key off straight away. You can't undo this. To reconnect the tool, create a new key.

Revoked keys move to a Revoked keys list at the bottom of the section, so you keep a record of them.

Your group can have up to 10 working keys at a time. To make another one, revoke a key you no longer use.

Keep your key safe

Treat a key like a password. Anyone who has it can read the data you allowed.

  • Keep it in your tool's secure settings, not in a spreadsheet cell or a shared document.
  • Never post it in an email, a chat or a public website.
  • Choose only the areas the tool needs. Leave out contact details unless the tool really needs them.
  • Set an expiry date for a key you need only for a short time.
  • If you think someone else has seen a key, revoke it and create a new one.

Why a key stopped working

The key's row shows its status. A key stops working when:

What happenedWhat to do
A group admin revoked it.Create a new key and paste it into your tool.
It reached its expiry date.Create a new key. Choose a later date, or no date.
The admin who created it is no longer a group admin.A current group admin revokes it and creates a new key. The row says Stopped working.

The last one catches people out. If the admin who made a key steps down or changes role, the key stops. When a volunteer hands over, check which keys they created.

If the tool says it isn't allowed to read something, the key is missing an area. Use Edit… to add it. You don't need a new key.

Each key can make up to 120 requests a minute. That is far more than a spreadsheet or automation normally needs. If a tool goes over, it has to wait a moment before it tries again. Set a spreadsheet to refresh once a day or once an hour, not every minute.

What's next

Was this article helpful?

What's next?

Related guides

Six-month free trial

Start your free trial today

Try every feature free for six months, then decide.

Six months free
Full feature access
Cancel anytime