Skip to content
Open console

Authentication

The ZSoftly Public Cloud API uses Bearer token authentication.

Base URL: https://api.zcp.zsoftly.ca/api

Generate a Bearer token from the portal under Profile → API Tokens. This is the same token used by the zcp CLI.

Send the token in the Authorization header on every request:

curl -H "Authorization: Bearer <your-token>" \
-H "Accept: application/json" \
https://api.zcp.zsoftly.ca/api/regions

A valid token returns 200 with a JSON envelope. A missing or invalid token returns an error envelope with a 401/403 status.

Every endpoint returns a common envelope:

{
"status": "Success",
"message": "Request processed successfully.",
"timezone": "2026-05-31T00:00:00Z",
"data": {}
}
FieldDescription
statusSuccess or Error
messageHuman-readable result message
timezoneServer timestamp
dataThe response payload (an object or an array)

Tokens issued from the portal stay valid until you revoke them under Profile → API Tokens. Revoke and regenerate a token if it is ever exposed.

See also: API Quickstart, API Reference

Ask the ZCP docs

Type a question and pick an assistant. The assistant opens in a new tab and reads this page and the full ZCP documentation, so its answer comes from our docs.

Example questions

Ask with

Your question goes to the assistant you pick, under its own terms.