Delib | Developer Docs
Knowledge Base
  • Delib
    • 👋Welcome
    • Our Products
  • Security Centre
    • Information Security
      • Service Level Agreement (SLA)
      • Disaster Recovery
      • Certifications
      • Information Security Downloadable Documents
    • Privacy and GDPR
      • How do Delib's products comply with the GDPR?
      • Delib Sub Processors
  • Citizen Space
    • Getting Started With Citizen Space
    • Deployment Requirements
      • How to set up a CNAME record for a custom domain name
      • Department structures
      • Users and permissions
      • Theming requirements
    • Security Configurations
      • Single Sign On (SSO)
        • Citizen Space Single Sign-on (SSO) - Linking Accounts
      • Two factor authentication (2FA)
      • Configurable password policy
      • Log in back-off
      • Security Notifications
      • Password reset date on export
      • Session Length
    • Integrations
      • How to integrate Citizen Space into existing website
    • Data API
      • API specification
      • Generating API keys
      • Basic Auth headers with Citizen Space
    • Public API
      • Public API v2.x guide
      • Version 2.4 reference
    • Webhooks
      • Creating and managing webhooks
  • Geospatial
    • Set-up process for existing customers
      • How to find your Ordnance Survey API key
      • Linking your Ordnance Survey account to Citizen Space
  • Integrations and Playbooks
    • Google Looker Studio
      • Google Looker Studio
      • Google Looker Studio Simple Activity Counts
    • Microsoft
      • PowerBI Dashboards
Powered by GitBook
On this page
  • Adding an API key
  • Setting Permissions
  • Disabling an API key
  • Deleting an API key
  1. Citizen Space
  2. Data API

Generating API keys

PreviousAPI specificationNextBasic Auth headers with Citizen Space

Last updated 11 months ago

Generating API keys in Citizen Space is simple and easy. Provided you have API turned on for your platform, you can navigate to the API settings under Site Settings in the dashboard.

Adding an API key

It's highly likely you'll want to connect your Citizen Space to a number of different services be it records management software, or enhanced data analysis tools. In this instance you may want to use different API keys with unique names and permissions.

Setting Permissions

When adding a key in Citizen Space you can assign it different permissions depending on its application. As an example, when creating a key to update a document or records management system it's unlikely you would need to give that key 'write' permissions. The options available when adding or editing a key are:

  • activities.edit

  • activities.read

  • activities.responses.add

  • activities.responses.edit

  • activities.responses.read

  • activities.search

  • users.read users.search

Should you wish to edit a keys permissions you can do that at any time simply click the 'Edit' link and make alterations using the checkboxes.

Disabling an API key

To disable an API key simply click on the 'Disable' link. You'll be shown a warning asking to confirm your action and if you proceed the key will be shown to be disabled via a (disabled) being displayed next to the name and the color of the card border changing to red.

Deleting an API key

In the event you wish to delete an API key, simply click 'Delete' in the top right hand corner of the card. You will be prompted to confirm your choice and once selected it will be deleted.

A picture highlighting where to find the API settings
Edit the permission of API keys by clicking on the edit link and using the checkboxes shown
A disabled API key as shown by the (disabled) notification and red card border
Popup modal asking the user to confirm whether they wish to delete their key