LegnaSend
Developer docs简体中文

LEGNASEND / DEVELOPERS

Developer & API documentation

From enabling the service to writing a client: endpoints, authentication, fields, examples, limits, errors and troubleshooting. These are the LegnaSend client’s open API manuals. The PHP download portal neither proxies nor executes these endpoints.

Quick start

  1. Enable the service in the app API page, choose permissions/workspaces and create a key.
  2. Use the actual listener protocol, address and port shown in the app. HTTPS requires device certificate trust and, where applicable, a client certificate.
  3. Call /status and /capabilities with the Bearer key, then read workspaces and their generation.
  4. Act within advertised capabilities and permissions. Keep request IDs; distinguish throttling, stale generations and unknown outcomes before retrying mutations.
shell
curl "$BASE/api/legnasend/v1/integration/status" \
  -H "Authorization: Bearer $TOKEN"

curl "$BASE/api/legnasend/v1/integration/capabilities" \
  -H "Authorization: Bearer $TOKEN"

BASE is the actual LegnaSend client service address (scheme, HOST and PORT), not the portal domain; TOKEN is a key created in the app. No runtime credentials are bundled.

Download OpenAPI

Static snapshots describe authentication-required mode. Live capabilities and anonymous policy depend on the running service.

Troubleshooting order

Check the actual listener and TLS trust first, then API enablement, key status/scopes and workspace generation. Use the in-app request console for status codes and request IDs. Back off on 429 and follow each endpoint’s conflict, cancellation and unknown-outcome rules. Keep keys, passwords and file bodies out of logs.

Full error contract and examples