{"openapi":"3.0.3","info":{"title":"UAE E-Invoicing foundation API","version":"0.17.0","description":"Sandbox API for a business invoice. A third party sends JSON for the seller, buyer, and lines. They do not send a PINT document. A generic connector accepts the source system's own invoice fields, stores a draft, and records a status that system can read. This sandbox does not call the source system. A bridge posts a CSV file. This sandbox does not fetch that file and does not open an SFTP server. Spreadsheet files are not executed. Tax amounts are entered by the business and are not calculated from a VAT rate. A check uses the named package. A pass is not a certification. A held transmission has not been sent. The sandbox mock can accept that hold and report a later status. HTTP 200 is not a final result. Customer webhook deliveries are signed and stored. This sandbox does not call the customer's server. A passing inbound invoice is recorded in sandbox accounting books when a destination is registered. This sandbox does not call that accounting system, and the invoice is not turned into a draft. Copilot advice is recorded in the tenant. This sandbox does not call a model. Advice cannot submit a document, waive a rule, or change the tax. A source report is compared with the stored draft. A mismatch is visible. This sandbox does not call the source system. The comparison cannot submit the document or change the tax. Obligation dates are shown with their source. Sandbox enterprise controls can record an identity provider, a directory user, and a residency change. This sandbox does not call an identity provider. A second person must approve a role or a residency change. A recorded sign-in does not create a session. A hardening run records security, a bounded load burst, a logical restore, accessibility, Arabic layout, and a compliance regression. It is not a certification and it is not a capacity rating. No service provider is selected, and no test credentials are stored. The sandbox mock remains the only adapter. A status record keeps four labels separate: implemented, validated, sandbox-verified, and production-verified. No feature is production-verified. A runbook does not relabel a sandbox result as production. A runtime check executes the official Schematron for the active package. A pass is not a certification, a transmission, or acceptance by a service provider or the Federal Tax Authority. A new package release is not activated by itself. The Tax Data Document is not submitted. Nothing is sent on the Peppol network or to the Federal Tax Authority. This API does not appoint a service provider."},"servers":[{"url":"https://uae-e-invoicing.com"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"paths":{"/v1/health":{"get":{"summary":"Database and queue health"}},"/v1/compliance":{"get":{"summary":"Active compliance package. A pass is not a certification, and nothing is transmitted."}},"/v1/workspaces":{"post":{"summary":"Create a user, tenant, and owner membership"}},"/v1/sessions":{"post":{"summary":"Sign in"},"delete":{"summary":"Sign out","security":[{"bearerAuth":[]}]}},"/v1/me":{"get":{"summary":"Current user","security":[{"bearerAuth":[]}]}},"/v1/tenants":{"get":{"summary":"Tenants for the current user","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}":{"get":{"summary":"Read one tenant","security":[{"bearerAuth":[]}]},"patch":{"summary":"Update a tenant","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities":{"get":{"summary":"List legal entities in scope","security":[{"bearerAuth":[]}]},"post":{"summary":"Create a legal entity","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}":{"get":{"summary":"Read a legal entity","security":[{"bearerAuth":[]}]},"patch":{"summary":"Update a legal entity","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/memberships":{"get":{"summary":"List memberships","security":[{"bearerAuth":[]}]},"post":{"summary":"Grant a membership","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/memberships/{membershipId}":{"delete":{"summary":"Revoke a membership","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/audit":{"get":{"summary":"Read recent audit events","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/secrets":{"get":{"summary":"List secret names","security":[{"bearerAuth":[]}]},"post":{"summary":"Store a secret","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/secrets/{secretId}/reveal":{"post":{"summary":"Reveal a secret and write an audit event","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/jobs":{"post":{"summary":"Enqueue a foundation ping. Nothing is transmitted.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/jobs/{jobId}":{"get":{"summary":"Read a job","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/api-keys":{"get":{"summary":"List API keys","security":[{"bearerAuth":[]}]},"post":{"summary":"Create an API key. The token is returned once.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/api-keys/{keyId}":{"delete":{"summary":"Revoke an API key","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/idempotency-keys":{"post":{"summary":"Reserve a natural idempotency key. No document is created or transmitted.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/parties":{"get":{"summary":"List counterparties for a legal entity","security":[{"bearerAuth":[]}]},"post":{"summary":"Create a counterparty master","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/items":{"get":{"summary":"List item masters","security":[{"bearerAuth":[]}]},"post":{"summary":"Create an item master","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/documents":{"get":{"summary":"List draft documents. Nothing has been transmitted.","security":[{"bearerAuth":[]}]},"post":{"summary":"Save an invoice or credit-note draft. Nothing is transmitted.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/documents/{documentId}":{"get":{"summary":"Read one draft","security":[{"bearerAuth":[]}]},"put":{"summary":"Replace a draft. It stays a draft.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/documents/{documentId}/checks":{"get":{"summary":"Read the latest check. The document stays a draft.","security":[{"bearerAuth":[]}]},"post":{"summary":"Check a draft with the compliance package. Nothing is transmitted.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/documents/{documentId}/transmissions":{"get":{"summary":"Read the held transmission for a draft. Nothing has been sent.","security":[{"bearerAuth":[]}]},"post":{"summary":"Hold one immutable snapshot after a passing check. A retry returns the same record. Nothing is sent.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/mock-connection":{"get":{"summary":"Read the sandbox mock connection. The webhook secret is not returned again.","security":[{"bearerAuth":[]}]},"post":{"summary":"Connect the sandbox mock for one legal entity. The webhook secret is returned once. Nothing is sent.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/transmissions/{transmissionId}/mock-exchange":{"get":{"summary":"Read the sandbox mock exchange. The document stays a draft and the transmission stays held.","security":[{"bearerAuth":[]}]},"post":{"summary":"Hand a held snapshot to the sandbox mock. A retry returns the same exchange. Nothing is sent to a real provider.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/inbound/{payloadId}":{"get":{"summary":"Read one sandbox inbound message for this legal entity. A passing message can be recorded in the sandbox accounting books.","security":[{"bearerAuth":[]}]}},"/v1/mock-asp/connections/{connectionId}/events":{"post":{"summary":"Sandbox mock status callback. Requires the connection signature. A valid callback is not a final network result."}},"/v1/mock-asp/connections/{connectionId}/inbound":{"post":{"summary":"Sandbox mock inbound message. The raw payload is stored before it is checked. A passing message is recorded in the sandbox accounting books when a destination exists. The accounting system is not called."}},"/v1/integration":{"get":{"summary":"Sandbox integration contract. A business invoice is JSON. A PINT document is not required. Nothing is sent."}},"/v1/tenants/{tenantId}/webhook-endpoints":{"get":{"summary":"List sandbox webhook addresses. The secret is not returned again.","security":[{"bearerAuth":[]}]},"post":{"summary":"Register a sandbox webhook address. The secret is returned once. The address is not called.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/webhook-endpoints/{endpointId}":{"delete":{"summary":"Revoke a sandbox webhook address. Recorded deliveries stay.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/webhook-deliveries":{"get":{"summary":"Read signed sandbox deliveries. Your server was not called.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/webhook-deliveries/{deliveryId}":{"get":{"summary":"Read one signed sandbox delivery, including the raw body and signature.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/connectors":{"get":{"summary":"List sandbox generic connectors for a legal entity.","security":[{"bearerAuth":[]}]},"post":{"summary":"Register one sandbox generic connector. A repeat of the same source system returns the same connector.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/connectors/{connectorId}/invoices":{"post":{"summary":"Accept an external invoice in the source system's fields. The draft stays a draft. The source system is not called.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/connectors/{connectorId}/invoices/{externalId}":{"get":{"summary":"Read the recorded status for an external invoice. The source system is not called.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/imports":{"post":{"summary":"Accept a CSV file posted by the bridge. The file is not fetched. Each invoice stays a draft.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/imports/{batchId}":{"get":{"summary":"Read the recorded status of a CSV import. The file was not fetched.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/accounting-destination":{"get":{"summary":"Read the sandbox accounting books for a legal entity. The accounting system is not called.","security":[{"bearerAuth":[]}]},"post":{"summary":"Register sandbox accounting books. A repeat of the same name returns the same books. The accounting system is not called.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/inbox":{"get":{"summary":"List inbound invoices recorded in the sandbox accounting books. A failing message is not listed.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/inbox/{postingId}":{"get":{"summary":"Read one inbound invoice recorded in the sandbox accounting books. It is not a draft and it was not sent.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/advice":{"get":{"summary":"List recorded sandbox advice. A model was not called.","security":[{"bearerAuth":[]}]},"post":{"summary":"Record sandbox advice. Advice cannot submit a document, waive a rule, or change the tax. A model is not called.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/advice/{adviceId}":{"get":{"summary":"Read one recorded sandbox advice. It did not submit a document.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/reconciliation":{"get":{"summary":"List source reports compared with stored drafts. The source system was not called.","security":[{"bearerAuth":[]}]},"post":{"summary":"Compare a source report with a stored draft. A mismatch stays visible. The document is not submitted and the tax is not changed.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/reconciliation/{reportId}":{"get":{"summary":"Read one comparison. It did not submit the document.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/exceptions":{"get":{"summary":"List documents whose latest source report does not match the stored draft.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/calendar":{"get":{"summary":"Obligation dates from the active package, each with its source. This is not a universal 14-day rule.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/control-tower":{"get":{"summary":"Count unsynchronised documents and show the obligation calendar. This is not a certification score.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/identity-provider":{"get":{"summary":"Read the sandbox identity provider. It was not called.","security":[{"bearerAuth":[]}]},"post":{"summary":"Record one sandbox identity provider. A repeat of the same name returns it. The provider is not called.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/sso-signins":{"get":{"summary":"List recorded sign-ins. No session was created.","security":[{"bearerAuth":[]}]},"post":{"summary":"Record a sandbox sign-in. A session is not created and the identity provider is not called.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/directory-users":{"post":{"summary":"Propose a directory role. It is not applied until a second person approves it. A directory is not called.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/siem":{"get":{"summary":"Read the sandbox security collector. It was not called.","security":[{"bearerAuth":[]}]},"post":{"summary":"Record one sandbox security collector. Events stay in the tenant. The collector is not called.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/security-events":{"get":{"summary":"List sandbox security events. Nothing was transmitted.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/proposals":{"get":{"summary":"List residency and directory proposals.","security":[{"bearerAuth":[]}]},"post":{"summary":"Propose a residency change. It is not applied until a second person approves it.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/proposals/{proposalId}/decision":{"post":{"summary":"Approve or reject a proposal. The proposer cannot approve it. A document is not submitted.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/hardening-runs":{"get":{"summary":"List sandbox hardening runs. A run is not a certification.","security":[{"bearerAuth":[]}]},"post":{"summary":"Record a sandbox hardening run. The server records the result. Nothing is submitted.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/hardening-runs/{runId}":{"get":{"summary":"Read one sandbox hardening run. It did not submit a document.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/entities/{entityId}/asp-adapter":{"get":{"summary":"Read whether a real service-provider adapter can start. None is selected.","security":[{"bearerAuth":[]}]},"post":{"summary":"Ask to start a real adapter. Without a selected provider and test credentials, nothing is sent.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/status-records":{"get":{"summary":"List sandbox status records. The four labels stay separate.","security":[{"bearerAuth":[]}]},"post":{"summary":"Record the feature-status matrix. The server writes the labels. Nothing is production-verified.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/status-records/{recordId}":{"get":{"summary":"Read one sandbox status record. Production-verified stays zero.","security":[{"bearerAuth":[]}]}},"/v1/tenants/{tenantId}/compliance-promotions":{"get":{"summary":"List package promotion records. A new release is not activated by itself.","security":[{"bearerAuth":[]}]},"post":{"summary":"Record that the active package stayed in place. Nothing was downloaded and nothing was submitted.","security":[{"bearerAuth":[]}]}},"/v1/accounting-software":{"get":{"summary":"Published FTA tax-accounting software facts. Alphabetical, not ranked. A listing is not Ministry accreditation and not an ASP integration. Contract version stays 0.17.0."}},"/v1/accounting-software/{slug}":{"get":{"summary":"One published software product and its FTA-listed versions. No compatibility claim is returned."}},"/v1/accounting-software/{slug}/claim-context":{"get":{"summary":"Published vendor name and software products for a claim form. No applicant data and no vendor identifier are returned. Contract version stays 0.17.0."}},"/v1/accounting-software/{slug}/claims":{"post":{"summary":"Store a software vendor claim for the vendor that publishes this product. The vendor id is taken from that product. Email delivery is reported separately and is not approval. FTA records are unchanged. Contract version stays 0.17.0."}},"/v1/accounting-software/{slug}/claims/resend":{"post":{"summary":"Replace the unused verification link for a pending software vendor claim and send it when mail is configured. The response does not include the token."}},"/v1/software-vendor-claims/verification":{"post":{"summary":"Consume a single-use software vendor email token. Verification does not approve the claim and does not open an account."}},"/v1/platform/software-claims":{"get":{"summary":"Platform operator list of software vendor claim requests. Applicant details stay off the public directory.","security":[{"bearerAuth":[]}]}},"/v1/platform/software-claims/{claimId}":{"get":{"summary":"One software vendor claim for a platform operator, including products and review history.","security":[{"bearerAuth":[]}]}},"/v1/platform/software-claims/{claimId}/review":{"post":{"summary":"Record a manual software vendor claim decision. Approval does not change FTA records, ASP accreditation, or compatibility, and does not open a vendor account.","security":[{"bearerAuth":[]}]}},"/v1/platform/software-claims/{claimId}/workspace":{"get":{"summary":"Activation status for one software vendor claim. A vendor workspace is not an ASP workspace.","security":[{"bearerAuth":[]}]}},"/v1/platform/software-claims/{claimId}/invitation":{"post":{"summary":"Invite the approved active representative. The token is not returned. FTA records are unchanged.","security":[{"bearerAuth":[]}]}},"/v1/platform/software-claims/{claimId}/revocation":{"post":{"summary":"Revoke the software vendor workspace. FTA records and ASP access are unchanged.","security":[{"bearerAuth":[]}]}},"/v1/vendor-portal/products":{"get":{"summary":"List products the signed-in vendor may edit. FTA facts stay read-only. Contract version stays 0.17.0."}},"/v1/vendor-portal/products/{productId}":{"get":{"summary":"Read one vendor product draft beside the official FTA record. Contract version stays 0.17.0."},"post":{"summary":"Save a vendor product draft. Submitted revisions stay immutable. Contract version stays 0.17.0."}},"/v1/vendor-portal/products/{productId}/submission":{"post":{"summary":"Submit a product draft for review. Approval is still required before publication."}},"/v1/vendor-portal/products/{productId}/withdrawal":{"post":{"summary":"Withdraw a submitted product revision. The approved public revision stays published."}},"/v1/vendor-portal/products/{productId}/logo":{"get":{"summary":"Preview the vendor's own product logo. Unapproved logos are not public."},"post":{"summary":"Store a re-encoded product logo on the draft. The object key is random and private."}},"/v1/accounting-software/{slug}/logo":{"get":{"summary":"Public logo from an approved product revision only."}},"/v1/platform/software-products/reviews":{"get":{"summary":"Queue of submitted software product profiles. Vendors cannot approve their own content.","security":[{"bearerAuth":[]}]}},"/v1/platform/software-products/reviews/{revisionId}":{"get":{"summary":"Compare a submitted product revision with the approved revision and the FTA record.","security":[{"bearerAuth":[]}]}},"/v1/platform/software-products/reviews/{revisionId}/decision":{"post":{"summary":"Approve or reject a software product revision. FTA records are unchanged.","security":[{"bearerAuth":[]}]}},"/v1/platform/software-products/reviews/{revisionId}/logo":{"get":{"summary":"Operator preview of a product logo. It is not a public URL.","security":[{"bearerAuth":[]}]}},"/v1/asp-os/integrations":{"get":{"summary":"List accounting products and this ASP's integration declarations. Contract version stays 0.17.0."},"post":{"summary":"Save a draft integration declaration for this ASP only. It is not public until review."}},"/v1/asp-os/integrations/{revisionId}/submission":{"post":{"summary":"Submit an ASP integration declaration. Submission does not publish it."}},"/v1/asp-os/integrations/{revisionId}/withdrawal":{"post":{"summary":"Withdraw a submitted ASP integration declaration. An approved statement stays published."}},"/v1/vendor-portal/integrations":{"get":{"summary":"List this vendor's products, MoF-listed providers, and this vendor's declarations. Contract version stays 0.17.0."},"post":{"summary":"Save a draft integration declaration for one of this vendor's products. Similar brand names are not linked."}},"/v1/vendor-portal/integrations/{revisionId}/submission":{"post":{"summary":"Submit a vendor integration declaration. Submission does not publish it."}},"/v1/vendor-portal/integrations/{revisionId}/withdrawal":{"post":{"summary":"Withdraw a submitted vendor integration declaration. An approved statement stays published."}},"/v1/platform/software-integrations/reviews":{"get":{"summary":"Queue of submitted software integration declarations. ASP and vendor sessions cannot review them.","security":[{"bearerAuth":[]}]}},"/v1/platform/software-integrations/reviews/{revisionId}":{"get":{"summary":"Compare a declaration with the counterparty statement, conflicts, and publication history.","security":[{"bearerAuth":[]}]}},"/v1/platform/software-integrations/reviews/{revisionId}/decision":{"post":{"summary":"Approve, reject, or request information. Approval is not interoperability testing and does not change Ministry or FTA records.","security":[{"bearerAuth":[]}]}},"/v1/vendor-portal/session":{"get":{"summary":"Read the signed-in software vendor workspace. Official FTA facts are read-only. Contract version stays 0.17.0."},"post":{"summary":"Sign in to one software vendor organisation. No open registration. Contract version stays 0.17.0."}},"/v1/vendor-portal/sign-out":{"post":{"summary":"Close the software vendor session."}},"/v1/vendor-portal/invitations/{token}":{"get":{"summary":"Preview an unused software vendor invitation. It does not create an account."}},"/v1/vendor-portal/activation":{"post":{"summary":"Consume a single-use invitation and set a password. MFA is still required. FTA records are unchanged."}},"/v1/vendor-portal/recovery":{"post":{"summary":"Start a password reset for an active software vendor workspace. Nothing is sent when no account exists."}},"/v1/vendor-portal/recovery/confirmation":{"post":{"summary":"Consume a single-use password reset token and close older sessions."}},"/v1/vendor-portal/mfa/enrollment":{"post":{"summary":"Start authenticator enrolment for the software vendor session."}},"/v1/vendor-portal/mfa/confirmation":{"post":{"summary":"Confirm the authenticator and return one-time recovery codes."}},"/v1/vendor-portal/mfa/verification":{"post":{"summary":"Mark the current software vendor session as multifactor verified."}},"/v1/vendor-portal/mfa/recovery":{"post":{"summary":"Use one software vendor recovery code. The code cannot be used again."}},"/v1/directory":{"get":{"summary":"Published ASP directory. Organisation facts only, after an authorised import. Nothing is transmitted. Contract version stays 0.17.0."}},"/v1/directory/{slug}":{"get":{"summary":"One published provider. Official status only. Pre-approved is not accredited."}},"/v1/directory/{slug}/claims":{"post":{"summary":"Store a profile claim request for a published provider. Email delivery is reported separately and is not approval. Official accreditation status is unchanged. Contract version stays 0.17.0."}},"/v1/directory/{slug}/claims/resend":{"post":{"summary":"Replace the unused verification link for a pending claim and send it when mail is configured. The response does not include the token. Official accreditation status is unchanged. Contract version stays 0.17.0."}},"/v1/claims/verification":{"post":{"summary":"Consume a single-use email verification token. Verification does not approve the company claim and does not activate a workspace."}},"/v1/platform/claims":{"get":{"summary":"Platform operator list of profile claim requests. Applicant details stay off the public directory.","security":[{"bearerAuth":[]}]}},"/v1/platform/claims/{claimId}":{"get":{"summary":"One profile claim request for a platform operator, including review history.","security":[{"bearerAuth":[]}]}},"/v1/platform/claims/{claimId}/review":{"post":{"summary":"Record a manual claim decision. Approval does not change Ministry status and does not activate an ASP workspace.","security":[{"bearerAuth":[]}]}},"/v1/platform/vulnerabilities":{"get":{"summary":"Scan dependency advisories, runtime, configuration, and operator MFA coverage. Secret values are not returned. The scan does not change the lockfile. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/platform/storage":{"get":{"summary":"Read public-asset and private-evidence storage profiles. Secrets are never returned. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]},"post":{"summary":"Replace one profile's access key after a server-side connection check. A blank secret is not stored. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/platform/storage/check":{"post":{"summary":"Test the saved credentials for one storage profile. The private test writes and deletes a synthetic object. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/platform/storage/isolation":{"post":{"summary":"Check that the private evidence credentials and the public asset credentials cannot read each other's buckets. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/platform/storage/public-access-confirmation":{"post":{"summary":"Record that an operator checked Cloudflare public-access settings. This does not mark those settings verified. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/platform/smtp":{"get":{"summary":"Read platform mail settings. The password is never returned.","security":[{"bearerAuth":[]}]},"post":{"summary":"Save platform mail settings. A blank password keeps the stored one. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/asp-os/session":{"get":{"summary":"Read the signed-in ASP workspace. Official accreditation status is read-only. Contract version stays 0.17.0."},"post":{"summary":"Sign in to one ASP organisation. No open registration. Contract version stays 0.17.0."}},"/v1/asp-os/sign-out":{"post":{"summary":"Revoke the current ASP workspace session."}},"/v1/asp-os/invitations/{token}":{"get":{"summary":"Preview a single-use workspace invitation. It does not create an account."}},"/v1/asp-os/activation":{"post":{"summary":"Accept an invitation and set a password. Ministry status is unchanged."}},"/v1/asp-os/mfa/enrollment":{"post":{"summary":"Start ASP authenticator enrolment. The workspace stays closed until a current code is confirmed. Contract version stays 0.17.0."}},"/v1/asp-os/mfa/confirmation":{"post":{"summary":"Confirm ASP authenticator enrolment and issue one-time recovery codes."}},"/v1/asp-os/mfa/verification":{"post":{"summary":"Verify a current authenticator code for this ASP session."}},"/v1/asp-os/mfa/recovery":{"post":{"summary":"Use one ASP recovery code. The code works once."}},"/v1/asp-os/mfa/replacement":{"post":{"summary":"Stage a replacement authenticator. The current password and code are required."}},"/v1/asp-os/mfa/replacement/confirmation":{"post":{"summary":"Confirm a replacement authenticator and replace the recovery codes."}},"/v1/asp-os/mfa/removal":{"post":{"summary":"Remove the ASP authenticator after the password and a current factor. The workspace closes until enrolment."}},"/v1/asp-os/recovery":{"post":{"summary":"Start ASP workspace password recovery for an active account. Nothing is sent when mail is not configured."}},"/v1/asp-os/recovery/confirmation":{"post":{"summary":"Consume a single-use recovery link and replace the password. Existing sessions are revoked."}},"/v1/platform/claims/{claimId}/workspace":{"get":{"summary":"Platform operator view of one provider workspace. Applicant access stays off the public directory.","security":[{"bearerAuth":[]}]}},"/v1/platform/claims/{claimId}/invitation":{"post":{"summary":"Invite the approved verified representative. This does not email the registry and does not activate the account by itself.","security":[{"bearerAuth":[]}]}},"/v1/platform/claims/{claimId}/revocation":{"post":{"summary":"Revoke the provider workspace sessions and membership. Official accreditation status is unchanged.","security":[{"bearerAuth":[]}]}},"/v1/platform/aspiring-organisations":{"get":{"summary":"List private aspiring ASP organisations. They are not published and have no accreditation number. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]},"post":{"summary":"Establish a private aspiring ASP organisation. This does not create a Ministry record or send an invitation. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/platform/aspiring-organisations/{organisationId}/invitation":{"post":{"summary":"Invite an aspiring ASP administrator after operator review. The account stays inactive until the invitation is accepted. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/platform/aspiring-organisations/{organisationId}/revocation":{"post":{"summary":"Revoke an aspiring organisation workspace. No accreditation number is involved. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/platform/readiness-template":{"get":{"summary":"Read the current Decision 168 readiness template. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]},"post":{"summary":"Publish a new Decision 168 readiness template. Earlier responses stay. Organisations review the change before it applies. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/asp-os/readiness":{"get":{"summary":"Read this organisation's self-reported Decision 168 readiness. It is not an accreditation score. Contract version stays 0.17.0."},"post":{"summary":"Record a self-reported readiness status and a private note. No document is uploaded. Contract version stays 0.17.0."}},"/v1/asp-os/accreditation-plan":{"get":{"summary":"Read this organisation's accreditation plan. Internal target dates are not Ministry deadlines. Contract version stays 0.17.0."}},"/v1/asp-os/accreditation-plan/tasks":{"post":{"summary":"Create a private accreditation task for this organisation. An owner label does not create an account. Contract version stays 0.17.0."}},"/v1/asp-os/accreditation-plan/tasks/{taskId}":{"post":{"summary":"Update a private accreditation task. Completed work is kept. Contract version stays 0.17.0."}},"/v1/asp-os/accreditation-plan/tasks/{taskId}/review":{"post":{"summary":"Record that this organisation reviewed a task after a requirement text change. The task status stays as it was. Contract version stays 0.17.0."}},"/v1/asp-os/accreditation-plan/milestones":{"post":{"summary":"Save an internal planning date and status for one accreditation stage. Ministry status is unchanged. Contract version stays 0.17.0."}},"/v1/platform/compliance-reminders":{"get":{"summary":"Read compliance-reminder gates for an operator. General delivery stays off. A pilot address is returned only after that operator authorises their own verified address. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/platform/compliance-reminders/receipt":{"post":{"summary":"Record that the operator received a test message. This does not enable reminder delivery. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/platform/compliance-reminders/pilot":{"post":{"summary":"Authorise the operator's own verified address as the only pilot recipient. Nothing is sent. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/platform/compliance-reminders/pilot/delivery":{"post":{"summary":"Turn the single pilot on or off after mailbox receipt is recorded. Other organisations stay blocked. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/asp-os/compliance":{"get":{"summary":"Read this organisation's self-reported compliance controls, certificates, and insurance. It is not a legal certification or a score. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/assessments":{"post":{"summary":"Record a self-reported review of one compliance control. Readiness and tasks are unchanged. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/certifications":{"post":{"summary":"Add a certificate record. A renewal keeps the previous record. No file is uploaded. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/evidence":{"get":{"summary":"List this organisation's evidence metadata. Certificate and insurance files open when encryption, scanning, and the deployment backend are available. Contract version stays 0.17.0."},"post":{"summary":"Store one certificate or insurance PDF, PNG, or JPEG when encryption and malware scanning are available. Other classifications need an additional agreement. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/evidence/{documentId}/versions/{versionId}":{"get":{"summary":"Download one evidence version after membership, MFA, and ownership checks. The storage address is not returned. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/evidence/{documentId}/removal":{"post":{"summary":"Record a removal request. The file and its history are kept. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/renewal":{"get":{"summary":"Read this organisation's internal accreditation renewal preparation. Official Ministry status is read-only. Contract version stays 0.17.0."},"post":{"summary":"Open one internal renewal preparation cycle for an accredited organisation. This does not submit an application. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/renewal/details":{"post":{"summary":"Save self-reported accreditation dates for the open renewal cycle. A blank date stays not recorded. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/renewal/requirements":{"post":{"summary":"Save an internal review status for one renewal preparation item. The status is not Ministry approval. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/renewal/tasks":{"post":{"summary":"Link or unlink an existing accreditation-plan task. The task itself is not copied. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/renewal/state":{"post":{"summary":"Move the open renewal cycle between preparation, internal filing review, and closed. Confirmation is required. Nothing is submitted. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/renewal/review-pack":{"get":{"summary":"Preview an internal renewal review pack for one accredited organisation's cycle. No file is created. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/renewal/review-pack/pdf":{"post":{"summary":"Download an internal renewal review pack PDF. It is not a Ministry filing and it is not stored in the evidence vault. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/renewal/review-pack/csv":{"post":{"summary":"Download a CSV index of renewal supporting records. It is not a regulatory filing format. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/reminders":{"get":{"summary":"Read this administrator's compliance reminder preferences. Email is off until they turn it on. Contract version stays 0.17.0."},"post":{"summary":"Save this administrator's compliance reminder preferences. This does not send a message. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/reminders/opt-out":{"post":{"summary":"Turn off email reminders for the link in a reminder message. It does not sign anyone in and does not return compliance records. Contract version stays 0.17.0."}},"/v1/asp-os/compliance/policies":{"post":{"summary":"Add an insurance policy record. Coverage is compared with the published AED minimum only when the entered currency is AED. No file is uploaded. Contract version stays 0.17.0."}},"/v1/asp-os/readiness/adoption":{"post":{"summary":"Adopt a published readiness template after review. Unchanged self-reports are copied. Changed requirements are not. Contract version stays 0.17.0."}},"/v1/asp-os/profile":{"get":{"summary":"Read this organisation's company-profile draft and the approved public revision. Official accreditation fields are read-only. Contract version stays 0.17.0."},"post":{"summary":"Save a company-profile draft, including service and integration declarations. An omitted declaration is stored as not disclosed. It does not replace an approved public revision. A logo cannot be set from an address. Contract version stays 0.17.0."}},"/v1/asp-os/profile/logo":{"get":{"summary":"Preview this organisation's private draft logo. An approved public logo is not replaced."},"post":{"summary":"Upload a PNG, JPEG, or WebP logo onto the open draft. SVG is rejected. The object stays private until the revision is approved."}},"/v1/asp-os/profile/logo/removal":{"post":{"summary":"Remove the draft logo. An already approved public logo stays in place."}},"/v1/directory/{slug}/logo":{"get":{"summary":"Return the approved company logo for a published provider. Draft and rejected logos are not returned."}},"/v1/asp-os/profile/submission":{"post":{"summary":"Submit the open company-profile draft for platform review."}},"/v1/asp-os/profile/withdrawal":{"post":{"summary":"Withdraw a submitted company profile before review."}},"/v1/platform/profile-reviews":{"get":{"summary":"List company profiles waiting for publication. An ASP user cannot call this.","security":[{"bearerAuth":[]}]}},"/v1/platform/profile-reviews/{revisionId}":{"get":{"summary":"Compare one submitted company profile with the published revision and the Ministry record.","security":[{"bearerAuth":[]}]}},"/v1/platform/profile-reviews/{revisionId}/logo":{"get":{"summary":"Preview a submitted logo for a platform operator. The object key is not returned.","security":[{"bearerAuth":[]}]}},"/v1/platform/profile-reviews/{revisionId}/decision":{"post":{"summary":"Approve or reject a submitted company profile. Ministry accreditation fields are unchanged.","security":[{"bearerAuth":[]}]}},"/v1/platform/smtp/test":{"post":{"summary":"Send a test to the signed-in operator after an explicit confirmation. Provider acceptance is not inbox delivery, and compliance reminders stay off. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/platform/registry":{"get":{"summary":"Platform operator registry counts, import batches, and verification history.","security":[{"bearerAuth":[]}]}},"/v1/platform/registry/providers/{slug}":{"get":{"summary":"One provider profile for a platform operator, including contact persons. Contacts are not on the public directory.","security":[{"bearerAuth":[]}]}},"/v1/platform/registry/providers/{slug}/contacts":{"post":{"summary":"Add or update a contact person on a provider profile. Official accreditation status is unchanged.","security":[{"bearerAuth":[]}]}},"/v1/platform/registry/providers/{slug}/contacts/{contactId}/removal":{"post":{"summary":"Remove a contact person from the operator profile. The public directory is unchanged.","security":[{"bearerAuth":[]}]}},"/v1/platform/registry/imports":{"post":{"summary":"Stage an authorised organisational import. It is not published until approval.","security":[{"bearerAuth":[]}]}},"/v1/platform/registry/imports/{batchId}":{"get":{"summary":"Read one staged import diff.","security":[{"bearerAuth":[]}]}},"/v1/platform/registry/imports/{batchId}/approve":{"post":{"summary":"Approve a staged import in one transaction.","security":[{"bearerAuth":[]}]}},"/v1/platform/registry/imports/{batchId}/reject":{"post":{"summary":"Reject a staged import. Published providers stay as they are.","security":[{"bearerAuth":[]}]}},"/v1/platform/registry/mof-sync":{"post":{"summary":"Start an on-demand Ministry Chrome ASP directory sync. MFA required. Playwright runs in a detached script, not in the API process.","security":[{"bearerAuth":[]}]}},"/v1/platform/software":{"get":{"summary":"Platform operator view of FTA software vendors, products, versions, and import history. ASP sessions cannot call it. Contract version stays 0.17.0.","security":[{"bearerAuth":[]}]}},"/v1/platform/software/imports":{"post":{"summary":"Stage an FTA software snapshot. It is not published until approval. An incomplete snapshot does not remove listings.","security":[{"bearerAuth":[]}]}},"/v1/platform/software/imports/{batchId}":{"get":{"summary":"Read one staged software import diff.","security":[{"bearerAuth":[]}]}},"/v1/platform/software/imports/{batchId}/approve":{"post":{"summary":"Approve a staged software import in one transaction. Relationships are not written.","security":[{"bearerAuth":[]}]}},"/v1/platform/software/imports/{batchId}/reject":{"post":{"summary":"Reject a staged software import. Published listings stay as they are.","security":[{"bearerAuth":[]}]}}}}