Authenticate and create/retrieve Activity records (incidents, near misses, audits) via the Cority Enviance EMS REST API

domain: api.enviance.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Note that use of the API requires an express Cority Enviance Connectors license from Enviance/Cority; the Swagger spec at `https://api.enviance.com/Swagger.svc/swagger.json` is publicly viewable, but calls will fail authentication without a contracted license.
  2. Obtain a session with `POST /ver2/AuthenticationService.svc/sessions`, sending a JSON body `{"userName": "...", "password": "..."}`; the response returns a SessionId.
  3. Send that SessionId on every subsequent call as `Authorization: Enviance <SessionId>` (an OAuth-token flow is also available via `POST /ver2/AuthenticationService.svc/oauthtoken` using a refresh token).
  4. Create an Activity (e.g., a near-miss or incident record) with `POST /ver2/ActivityService.svc/activities`, supplying `name`, `templateIdOrName`, and a `fields` array of `{name, values}` pairs matching the target template's configured fields.
  5. Retrieve, update, or delete a specific activity with `GET`/`PUT`/`DELETE /ver2/ActivityService.svc/activities/{activityIdOrName}`, addressing it by its ID or unique name.
  6. Call `DELETE /ver2/AuthenticationService.svc/currentsession` to explicitly end the session when finished.

Known gotchas

Related routes

Upload, retrieve, and organize documents (e.g., SDS files, permits) via the Cority Enviance DocumentService API
api.enviance.com · 6 steps · unrated
Authenticate and perform entity operations via Acumatica contract-based REST API
Acumatica REST API · 5 steps · unrated
Authenticate and pull registration/activity data from Amilia's SmartRec API (v3)
amilia.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans