Deel: Retrieve terms and conditions acceptance
Deel organizations.retrieveOrganizationTermsAndConditions: arguments, response, policy and SDK examples.
← Organizations operations · Get started
Operation deel.organizations_retrieveorganizationtermsandconditions_v2026_10_30
Provider route: GET /organizations/terms-and-conditions. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/deel with npm, or alter-sdk-deel with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { DeelIntegration } from "@alter-ai/deel";
async function execute(input: Parameters<DeelIntegration["organizations"]["retrieveOrganizationTermsAndConditions"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new DeelIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.organizations.retrieveOrganizationTermsAndConditions(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_deel import DeelIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = DeelIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.organizations.retrieve_organization_terms_and_conditions(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
headers | object | Required within parent | Additional keys: not allowed |
headers.X-Beta | string | Required within parent | Default: true One of: true |
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | Model | Root | Expand Retrieve terms and conditions acceptance — 200 response body |
Referenced models: Retrieve terms and conditions acceptance — 200 response body
Schemas
Section titled “Schemas”Retrieve terms and conditions acceptance — 200 response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | Model | Required within parent | Expand Retrieve terms and conditions acceptance — 200 response body — data The organization's terms and conditions acceptance. |
Referenced models: Retrieve terms and conditions acceptance — 200 response body — data
Retrieve terms and conditions acceptance — 200 response body — data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The organization's terms and conditions acceptance. |
accepted_at | JSON | Required within parent | |
accepted_at (anyOf 1) | string | Alternative | Latest acceptance across the legal agreements and the terms of service; null when none. Format: date-time |
accepted_at (anyOf 2) | null | Alternative | Latest acceptance across the legal agreements and the terms of service; null when none. Format: date-time |
agreements | array | Required within parent | The legal agreements (master service agreement pages) the organization must accept, at their current version. |
agreements[] | Model | Each item | Expand Retrieve terms and conditions acceptance — 200 response body — data agreements item |
status | string | Required within parent | `ACCEPTED` once every legal agreement and the platform terms of service are accepted. Known values: ACCEPTED, PENDING |
terms_of_service | JSON | Required within parent | The platform terms of service acceptance; null when not accepted. |
terms_of_service (anyOf 1) | Model | Alternative | Expand Submit terms and conditions acceptance — 200 response body — data terms of service accepted at, version |
terms_of_service (anyOf 2) | null | Alternative |
Referenced models: Submit terms and conditions acceptance — 200 response body — data terms of service accepted at, version, Retrieve terms and conditions acceptance — 200 response body — data agreements item
Submit terms and conditions acceptance — 200 response body — data terms of service accepted at, version
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The platform terms of service acceptance; null when not accepted. |
accepted_at | string | Required within parent | When the platform terms of service were accepted. Format: date-time |
version | string | Required within parent | Version of the Deel platform terms of service. |
Retrieve terms and conditions acceptance — 200 response body — data agreements item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
accepted_at | JSON | Required within parent | |
accepted_at (anyOf 1) | string | Alternative | When this version of the agreement was accepted; null until it is accepted. Format: date-time |
accepted_at (anyOf 2) | null | Alternative | When this version of the agreement was accepted; null until it is accepted. Format: date-time |
title | JSON | Required within parent | |
title (anyOf 1) | string | Alternative | Title of the legal agreement page, as published in the Deel Legal Hub. |
title (anyOf 2) | null | Alternative | Title of the legal agreement page, as published in the Deel Legal Hub. |
version | JSON | Required within parent | |
version (anyOf 1) | number | Alternative | Current version of the agreement page. Format: double |
version (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: deel.organizations_retrieveorganizationtermsandconditions_v2026_10_30. Catalog operation: organizations_retrieveorganizationtermsandconditions_v2026_10_30. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.
Required provider scopes: ["organizations:read"]
Pinned headers: {"X-Version": "2026-10-30"}