Skip to content
Live $300 credit for new accounts Valid for 60 days from account creation Get started →

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