Developers

Connect Stakeholder One to your systems. A REST API, signed webhooks, a GIS feed and AI connections, each limited by the same rights as the web app.

// List grievances in project 3, with their topics
GET /api/v1/records?filter[record_type]=grievance&include=topics
Authorization: Bearer <token>
X-Project: 3
Accept: application/vnd.api+json

REST API

Read and change records from your own systems. The API is an add-on.

  • The API follows JSON:API 1.1.
  • An OpenAPI document describes every endpoint. Import it into Postman, Insomnia or a Swagger viewer.
  • Writes take the same fields as the web forms, with the same checks.
  • Every change made through the API is in the audit log, with the token that made it.

Tokens

  • Each token belongs to a user, or to a service account for system-to-system work.
  • A token has scopes, such as record.view or person.update. A call needs the scope and the user’s right. There is no wildcard.
  • A token works only in the projects you choose. Send the project in the X-Project header.
  • A token lives for 1 to 365 days.

Webhooks

  • Send events to your own endpoints when records change.
  • Each delivery is signed with HMAC-SHA256, so your system can check that it came from us.
  • A delivery log shows each call and its result.

AI connections (MCP)

  • AI tools connect through the Model Context Protocol, with OAuth 2.1 sign-in per user.
  • MCP connections and API tokens are kept apart. An AI tool cannot get API scopes, and an API token cannot call the AI endpoint.
  • Read more on the AI and data controls page.

Limits

  • 120 calls a minute for each token, of which 30 may be writes.
  • 20 file uploads a minute.

GIS

  • Parcels are available as GeoJSON and through a WFS feed for desktop GIS tools.