Code Samples
https://api.onegov.nsw.gov.au/oauth/client_credential/accesstoken
The client can request an access token using only its client credentials (or other supported means of authentication) when the client is requesting access to the protected resources under its control, or those of another resource owner that have been previously arranged with the authorization server.
https://api.onegov.nsw.gov.au/strata/reportscheme/Create
Report API will only create report scheme case for SMA. This API needs to be used only for initial reporting only. i.e., Any new schemes reporting or schemes which are not yet registered in Strata Hub. For additional help and to test the API solution, the software provider should follow instructions listed here "https://www.nsw.gov.au/housing-and-construction/strata/annual-reporting/reporting-for-multiple-schemes".
https://api.onegov.nsw.gov.au/strata/reportscheme/Update
Update API will only update existing Scheme(s) in Strata Scheme Reporting (SSR) application in Strata Hub. This needs to be only used when update information is required as per legislation with in 28 days. Please make sure, you display declaration and acknowledgement as provided by government in your software. For additional help and to test the API solution, the software provider should follow instructions listed here "https://www.nsw.gov.au/housing-and-construction/strata/annual-reporting/reporting-for-multiple-schemes".
https://api.onegov.nsw.gov.au/strata/reportscheme/AnnualReport
Annual Report API will only allow reporting for subsequent report of schemes after initial reporting based on their Annual General meeting (AGM). This API should only be used after AGM meeting is done. For additional help and to test the API solution, the software provider should follow instructions listed here https://www.nsw.gov.au/housing-and-construction/strata/annual-reporting/reporting-for-multiple-schemes.
https://api.onegov.nsw.gov.au/strata/reportscheme/Read
Read existing Scheme(s) details from Strata Hub portal. This API should only be used after at least initial (i.e. First) reporting is done in Strata Hub.
https://api.onegov.nsw.gov.au/strata/reportscheme/review
This API endpoint enables users to retrieve and review the information submitted for either an initial or annual strata report creation. By accepting a valid RS (Report Scheme) or AR (Annual Report) case ID, it queries Strata Hub and returns the associated report data. The response includes all relevant details along with the applicable privacy collection notice and declaration texts, ensuring transparency and compliance with data handling requirements. We expect user review every response data provided before calling next API which is DeclareAndSubmit API. If any data is not appropriate then WithdrawReport API should be invoked. This functionality supports validation and auditing processes by providing a clear view of the reported information in a structured and secure format.
https://api.onegov.nsw.gov.au/strata/reportscheme/declareandsubmit
This endpoint finalizes and officially submits a report, effectively locking the submission. Before calling this API, the user must - 1. Confirm that all provided information within the report is accurate and complete. 2. Accept the required privacy collection notice. 3. Make a formal declaration. It is critical that your client software displays the specific text for both the privacy collection notice and the declaration to the user. This required text is available in two locations - Within the response of the Review API and documented in the API's data dictionary.
https://api.onegov.nsw.gov.au/strata/reportscheme/withdraw
This endpoint allows for the withdrawal of a initiated or submitted report, provided that the associated payment has not yet been completed. Once a report is withdrawn, it's typically marked as canceled and will no longer proceed through the submission or processing workflow. This action is irreversible once a payment has been fully processed for the report.
https://api.onegov.nsw.gov.au/strata/reportscheme/getpaymentlink
This endpoint creates a unique payment link for a report that's already been submitted. Users will use this link to complete the payment needed to finalize the reporting process. It's important to request this link only when the user is ready to pay, as it's typically valid for just 30 minutes. However, if the user picks PayID or BPAY, the link will stay valid for longer, based on our existing business rules.
https://api.onegov.nsw.gov.au/strata/reportscheme/getreportstatus
This endpoint lets you retrieve the current processing status of a specific report within Strata Hub. While you can call it anytime to check a report's progress, it's mainly designed to confirm the report's status after payment has been finalized. The API returns the report's current state, which might include statuses like - 'InProgress' (the report is being processed), 'Pending-Payment' (awaiting payment), 'Pending-BPAYcompletion' (awaiting BPAY payment confirmation), and other relevant statuses indicating its lifecycle stage.
https://api.onegov.nsw.gov.au/strata/documents
This endpoint lets you fetch a complete list of document records. You can get documents for a specific report using its Report ID, or for an entire scheme using its Strata Plan Number. While it's mainly used for downloading financial documents like invoices and receipts, this API is built to generically and scalably support access to a wider range of historical scheme documents in the future.
https://api.onegov.nsw.gov.au/strata/document/{DocId}
This endpoint lets you retrieve and download the raw binary content of a single document. To use it, you need to provide the unique DocId for the document you want. You'll typically get this ID from the response of the GetDocumentList API. When successful, this API returns the actual file content, so users can directly download the document. The response payload will be the raw binary data of the file.
https://api.onegov.nsw.gov.au/strata/SMATransfer/Create
This new API streamlines the process of transferring Strata Managing Agent (SMA) responsibilities for a strata scheme. It enables both the outgoing and incoming SMAs to initiate and manage transfer requests, ensuring a secure and transparent handover of duties. The API supports key operations such as validating agent credentials, capturing consent from both parties, and updating the strata scheme’s records to reflect the change in management. This facilitates smoother transitions, minimizes administrative overhead, and helps maintain compliance with regulatory requirements.
https://api.onegov.nsw.gov.au/strata/SMATransfer/Accept
This endpoint lets the incoming Strata Managing Agent (SMA) officially accept and finalize a scheme transfer that was started earlier. This action gives the incoming SMA full ownership and management responsibility for that specific strata scheme. Once successfully accepted, ownership of the scheme is formally moved to the incoming SMA.
https://api.onegov.nsw.gov.au/strata/SMATransfer/Withdraw
This endpoint lets you cancel and roll back a scheme transfer that was started earlier. You can use it before the incoming Strata Managing Agent (SMA) has officially accepted the transfer. The original initiator of the scheme transfer OR The current (outgoing) Strata Managing Agent for the scheme can withdraw it. This API provides a way to undo a transfer if it's no longer needed or if it was started by mistake.