Getting Started with the ReadySpace User API

Use the ReadySpace User API to read account details and look up services and domains from your own application. Start with a read-only request so you can confirm that your login has access to the account you intend to use.

Before you start

  • Use a ReadySpace Cloud Console login with access to the services or domains you want to look up.
  • Keep your ReadySpace Client ID handy if you need to contact support. It is an account reference. API access is determined by the authenticated login.

Find your API base URL

Sign in using the Cloud Console login URL ReadySpace provided for your account. In the sidebar, open Other → User API if available. In the Introduction, use the Swagger Doc download or display link. If you cannot see that menu item, use the steps below to open Swagger directly.

  1. Start with the Cloud Console login URL ReadySpace provided for your account. Keep the https:// and hostname, and remove the login path and anything after it. For example, if your login URL is https://portal.example/login, start with https://portal.example.
  2. Add /?cmd=userapi&action=swagger to that address and open it in your browser. In the example above, the Swagger URL is https://portal.example/?cmd=userapi&action=swagger.
  3. Use your browser’s Find command (Ctrl+F or Command+F) to search for "basePath". Look near the top of the JSON for the top-level "host", "basePath", and "schemes" fields, above the "paths" section.
  4. Combine https://, the exact value of host, and the exact value of basePath. For example, if host is api-host.example and basePath is /api, set API_BASE_URL to https://api-host.example/api, without a trailing slash.

The Swagger page URL is where you read the documentation. Use the host and base path inside the JSON for your API requests. If Swagger does not open using the hostname from your login URL, ask ReadySpace Support to confirm the Swagger URL and API base URL for your account before sending credentials.

Authenticate and confirm your account

The ReadySpace User API currently uses HTTP Basic authentication. Use the email and password you use to sign in to the Cloud Console, over HTTPS. If your portal or account security policy requires MFA, keep MFA enabled and contact ReadySpace Support if Basic Auth is rejected. JWT is currently disabled in the User API configuration. Swagger may still list login, MFA and token refresh routes. Check with Support before building a token-based integration. No token lifetime applies to Basic Auth.

Make your first request in Postman

Your Cloud Console browser session does not authenticate API requests. Configure authentication in Postman or your application before sending the request.

  1. In Postman, choose Import and paste the Swagger URL. If your workspace cannot import URLs, save the JSON and import the file.
  2. Open the account details request, or create a GET request to {{API_BASE_URL}}/details. Set API_BASE_URL in Postman to the base URL from your portal’s Swagger, without a trailing slash.
  3. Open the request’s Authorization tab, select Basic Auth, and enter your Cloud Console email and password privately. For a reusable request, reference a local secret from Postman Vault. Keep credentials out of shared collections, exports, and support tickets.
  4. Send the request and confirm the returned account details before querying services or domains. Keep credentials and tokens in a private secret store and out of shared collections, URLs, and support tickets.

Command-line example

If your account can use HTTP Basic authentication, replace the example base URL with the one from your portal’s Swagger. The command prompts for your password.

API_BASE_URL='https://api-host.example/api'
curl --user '[email protected]' "${API_BASE_URL}/details"

Confirm the account and find renewal dates

Send each request below to API_BASE_URL followed by the path. If you manage several ReadySpace accounts, compare client.id from GET /details with the Client ID you intend to use before running the other requests. For multiple accounts, verify each login separately and keep account results separate. Contact ReadySpace Support if you need to confirm how access works across several Client IDs.

Request What to read
GET /details client.id identifies the account returned for your login.
GET /service Read services[] for service IDs, status, billing cycle and next_due.
GET /service/{id} Use an ID from the service list. The documented response includes service.next_due and service.next_invoice. Retain only the fields your integration needs, as service detail responses can include credentials.
GET /domain Read domains[] for domain IDs and expires.
GET /domain/{id} Use an ID from the domain list. Read details.expires for registration expiry and details.next_due for billing. The documented response also includes details.next_invoice.

Billing due dates, invoice dates and domain expiry dates serve different purposes. Keep them in separate fields. Treat a missing field, an empty string, or 0000-00-00 as an unknown date. Skip reminders for unknown dates until you can confirm them. Use the list requests for routine checks and read an individual record when you need more detail.

Worked example for renewal reminders

  1. Send GET /details and confirm client.id matches the account you intend to monitor.
  2. Send GET /service. For each service you intend to monitor, use its id, status, and valid next_due date.
  3. Send GET /domain. Use expires for a registration expiry reminder. For a billing reminder, look up the domain ID with GET /domain/{id} and use details.next_due if present.
  4. Choose a reminder window, such as 30 days. Track which reminders you have sent using the Client ID, record type, record ID, date field, and date. This prevents repeated alerts for the same event on each scheduled run.

These abbreviated JSON examples use illustrative IDs and dates:

GET /service
{ "services": [{ "id": "301", "status": "Active", "next_due": "2027-06-30" }] }

GET /domain/{id}
{ "details": { "id": "47", "expires": "2027-07-15", "next_due": "2027-07-01", "next_invoice": "2027-06-15" } }

Find other available API operations

Use the Swagger from your Cloud Console to find the HTTP method, path, required parameters, and response examples for supported operations. Routes and access can vary by portal, account permissions, and product.

  • Account and contacts: See Clientarea for account details and any contact operations available to your login.
  • Billing and support: See Billing for invoice and balance lookups and Support for support case operations.
  • Products and domains: See Services, Domains, DNS, and SSL Certificates for the operations available for your products.

The examples in this guide use read-only lookups. Review an operation’s documented effect before using it in automation. Some operations can change records, place orders, or generate invoices. If a request that changes data times out, check its outcome before retrying.

Run the integration

The current User API request limit is 300 requests per five minutes. Space out requests and use list responses when they provide the fields you need. The current service and domain list operations do not document pagination parameters. Check your portal’s Swagger before adding pagination to your integration.

  • Keep the API base URL, credentials and expected Client ID in configuration. If you monitor multiple accounts, verify client.id for each account and keep their results separate.
  • Use only the query parameters listed for the operation. If your portal documents pagination for an operation, follow it before treating a list as complete.
  • On a temporary error, back off before retrying a read. If the API reports a rate limit, follow any retry interval it returns. Check the HTTP status and JSON body before processing results.
  • Keep credentials and full account responses out of application logs. Log only the request details and fields you need, after removing sensitive values.

Track API changes

Use the Swagger from your own Cloud Console as your reference for the current API. Before deploying an integration change, recheck the methods, required parameters and response fields you depend on. Check Cloud Console news for ReadySpace announcements and contact Support if an operation or field you rely on changes.

If a request fails

What you see What to check
{"error":["unauthorized"]} This is the response observed for GET /details without API credentials. Confirm the API host and Basic Auth settings.
Your login works, but access is denied Confirm the expected Client ID and ask the account owner to review your contact privileges for that service or domain.
A record is missing or its detail request fails Use the ID returned by the list request for that account. Check the record in the Cloud Console and confirm your login’s access.
A request is rejected during a burst Reduce the request rate and wait before retrying. If the response includes a retry interval, follow it.
  • If the API returns unauthorized, check the authentication method and header. If you use a token, check whether it expired or the MFA step is still pending.
  • If the account is correct but a record is missing, check the service or domain ID against the corresponding list and confirm your login has access.
  • Check both the HTTP status and the JSON body. If the API reports rate limiting, wait before retrying and follow any retry interval returned by the server.
  • When opening a support ticket, include your Client ID, request method and path, timestamp with time zone, HTTP status and the error message. Remove passwords, tokens and any other sensitive values from the request and response.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 5