Authenticate against a Cityworks AMS/PLL instance and obtain a bearer token for subsequent API calls

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

Steps

  1. POST credentials to https://<your-cityworks-site>/<tenant>/services/General/Authentication/Authenticate to obtain a session token
  2. Store the returned token value for use on subsequent AMS, PLL, or Admin API calls
  3. Pass the token on each request using the Authorization header in the format 'cityworks {token}'
  4. Re-authenticate and obtain a new token once the session expires, since Cityworks does not accept a token passed via query string
  5. Confirm access by calling a lightweight read endpoint (e.g. a WorkOrder or Case lookup) before running write operations

Known gotchas

Related routes

Authenticate to the AMCS Platform REST API with a Personal Access Token and pin a component version before making calls
amcsplatform.github.io · 5 steps · unrated
Obtain an OAuth2 client-credentials token for Siemens Building X APIs
developer.siemens.com · 5 steps · unrated
Determine which PLL case types (permits, licenses, code enforcement) an API credential can access in Cityworks
help.cityworks.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