A cut-down Accela Civic Platform agency with code enforcement, building permit and licence records. The staff page lists the records and every comment added to them.
POST /oauth2/token Content-Type: application/x-www-form-urlencoded grant_type=password&client_id=accela-lab-app&client_secret=accela-lab-secret &username=zammo.lab&password=accela-lab-password &agency_name=NORTHBRIDGE&environment=PROD&scope=records addresses global_search
200 with {"access_token","token_type":"bearer","expires_in":"86400","refresh_token","scope"}. A refusal is 400 with error: invalid_client (app ID or secret), invalid_grant (user or password), invalid_request (agency or environment) or unsupported_grant_type. Environments are PROD and TEST. The user zammo.readonly (same password) can search but not comment.
Every call needs Authorization: Bearer <token> (Accela also takes the token without Bearer) and x-accela-appid: accela-lab-app. No token or an unknown one is 401; no app ID is 400; a token without the records scope is 403 insufficient_scope.
| Call | What it does |
|---|---|
POST /v4/search/records?expand=addresses | Body fields: customId, module, status.value, addresses[] with streetStart, streetName, city, postalCode. Paged with limit and offset. |
GET /v4/records/{id} | One record, by its Accela id (not the record number). |
GET /v4/records/{id}/contacts | The record's contacts, isPrimary Y or N. |
GET / POST /v4/records/{id}/comments | Read or add comments. The body is an array: [{"text":"…"}]. |
GET /oauth2/tokeninfo | The token's user, agency, environment and scopes. |
200 with no result at all.expand=addresses.{"value","text"}: status, type, streetSuffix, state.yyyy-MM-dd HH:mm:ss; a record has closedDate only once it is closed.{"status","code","message","traceId"}.CE-2026-00412 (open, two contacts), CE-2026-00431, BLD-2026-00088 (closed) and three more. Three are at 120 Juniper St, 40114.
Resetting the system in the Control Centre forgets every token and comment.