API

Authenticate with an API key, exchange it for a JWT, and automate certificate, device, storage, and workspace operations.

Availability

API access is available across SecuriTLS plans, subject to the limits and features of the active subscription. Generate API keys from the API keys page and store them securely because secret values are only displayed when created.

Terraform provider

For declarative infrastructure workflows, use the SecuriTLS Terraform provider. It maps SecuriTLS API resources into Terraform resources so certificate authorities, certificates, storage, devices, and lifecycle operations can be managed as code.

Important behavior

The API key is only displayed once. If it is lost, SecuriTLS support cannot recover it and a new one must be generated.

Authentication

Send an HTTP POST to /api/authentication with the API key in the payload.

{
  "apikey": "<API KEY>"
}

The response includes a bearer token for subsequent API calls. The JWT is valid for 1 hour from the time it is issued.

{
  "jwt": "<RS256 JWT>"
}

Suggested use cases

  • Automated certificate issuance
  • Inventory and reporting
  • Device and deployment workflows
  • Workspace automation

Full reference

Browse /api/swagger for the full list of available endpoints and request details.