Skip to content
CP Word List
▦ All products
StrandCalls R1-MCP ARRF CP-MCP CP Word List ICX Setup Docs coming soon Probe MCP SZ-MCP Docs coming soon Tangent MCP Docs coming soon NeuralRepo docs.neuralrepo.com
Get Support

HTTP API reference

CP Word List exposes a small HTTP API at https://wordlist.lanpulse.com. Most integrators only need the workflow setup, which wires these up for you — but the endpoints can be called directly for custom integrations.

Looks up the DPSK for an enrollment and replaces it with a word-based passphrase. Also accepts GET. This is the endpoint your Cloudpath notification step calls.

Parameters (query string, or form body on POST):

ParameterDescription
secretYour tenant Shared Secret. Identifies and authorizes the tenant.
enrollmentIdThe Cloudpath enrollment ID. Must start with Enrollment- or Message- (e.g. Enrollment-abc123).

Success (200):

{ "success": true, "enrollmentId": "...", "dpskGuid": "...", "dpskName": "...", "passphrase": "apple-red-truck" }

Errors:

CodeMeaning
401Missing secret, or no active tenant matches it.
400Missing enrollmentId, invalid enrollmentId format, or the tenant isn’t fully configured.
404Enrollment not found, or no DPSK is assigned to it.
409A device is already connected on the DPSK — the passphrase is not changed.
502Cloudpath API authentication failed or the server was unreachable.

Returns the new passphrase for a given old DPSK. Used by the display-page snippet.

Parameters (query string):

ParameterDescription
dpskThe old DPSK passphrase (the lookup key).
tenantYour Tenant ID.

Success (200):

{ "success": true, "passphrase": "apple-red-truck", "dpskGuid": "...", "dpskName": "..." }

Behavior and errors:

  • If dpsk already matches the word-word-word format, it’s returned as-is with no lookup — this is how returning users get an instant answer.
  • 404 — no mapping was found. Mappings expire 5 minutes after the change.
  • Responses are CORS-scoped to your Cloudpath server’s origin.

A simple liveness check. Returns:

{ "status": "ok", "service": "cp-wordlist" }

During one passphrase change, CP Word List makes these calls to your Cloudpath server’s REST API, in order:

StepCallPurpose
1POST /admin/publicApi/tokenAuthenticate. Returns a JWT valid for 5 minutes.
2GET /admin/publicApi/enrollments/{enrollmentId}/dpsksFind the DPSK(s) for the enrollment.
3GET /admin/publicApi/dpskPools/{poolGuid}/dpsks/{dpskGuid}Fetch the full DPSK object (required before updating).
4PUT /admin/publicApi/dpskPools/{poolGuid}/dpsks/{dpskGuid}Write back the object with the new passphrase.

Credentials are decrypted only at the moment of use — see Security controls.