Agreements

Read more about agreements from Agreements & Compliance documentation.

Check agreement signature compliance status

GET
https://api.prompteasy.eu/v1/agreements/check

Parameters

agreement_forstringquery

Specific contract type to check (e.g., tos, privacy, custody, high_risk_ai). If provided, returns a simple boolean indicating whether the latest version is signed.

Response

200OKboolean | object

Agreement compliance check results.

Response fields application/json
One of

Return value when querying with agreement_for.

boolean

Return value when querying without agreement_for.

requiredArray<string>required

List of required contracts missing agreement for latest version.

optionalArray<string>required

List of optional contracts missing agreement for latest version.

401Unauthorized

Unauthorized

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

List all signed agreements for the tenant

GET
https://api.prompteasy.eu/v1/agreements

Response

A list of signed agreements

Response fields application/json
Show child attributes
idstring<uuid>
Example
9b2d5a39-ec9b-4b21-b3b4-4ffc8b671a53
tenant_idstring<uuid>
Example
a81d4a03-7cf5-4cf0-9dc8-f5e1823793df
tenant_namestring
Example
Acme Inc.
contract_idstring<uuid>
Example
9b2d5a39-ec9b-4b21-b3b4-4ffc8b671a53
signatorystring
Example
John Doe
signature_hashstring
Example
5e8837e8f7dbe4f9d788c0ab58807d893d79a250781cde2415d860341b12b322
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
contractContract
Show child attributes
idstring<uuid>
Example
9b2d5a39-ec9b-4b21-b3b4-4ffc8b671a53
contract_idstring<uuid> | null
Example
9b2d5a39-ec9b-4b21-b3b4-4ffc8b671a53
contract_namestring
Example
Terms of Service
versioninteger
Example
1
contract_contentstring
Example
Standard Terms of Service text...
changes_summarystring | null
Example
Minor wording updates in Section 2.
agreement_forstring
Example
tos
only_for_planstring | null
Example
premium
is_user_contractboolean
Example
false
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
401Unauthorized

Unauthorized

403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Get details of a specific signed agreement

GET
https://api.prompteasy.eu/v1/agreements/{agreement}

Parameters

agreementstring<uuid>requiredpath

Response

Agreement details

Response fields application/json
idstring<uuid>
Example
9b2d5a39-ec9b-4b21-b3b4-4ffc8b671a53
tenant_idstring<uuid>
Example
a81d4a03-7cf5-4cf0-9dc8-f5e1823793df
tenant_namestring
Example
Acme Inc.
contract_idstring<uuid>
Example
9b2d5a39-ec9b-4b21-b3b4-4ffc8b671a53
signatorystring
Example
John Doe
signature_hashstring
Example
5e8837e8f7dbe4f9d788c0ab58807d893d79a250781cde2415d860341b12b322
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
contractContract
Show child attributes
idstring<uuid>
Example
9b2d5a39-ec9b-4b21-b3b4-4ffc8b671a53
contract_idstring<uuid> | null
Example
9b2d5a39-ec9b-4b21-b3b4-4ffc8b671a53
contract_namestring
Example
Terms of Service
versioninteger
Example
1
contract_contentstring
Example
Standard Terms of Service text...
changes_summarystring | null
Example
Minor wording updates in Section 2.
agreement_forstring
Example
tos
only_for_planstring | null
Example
premium
is_user_contractboolean
Example
false
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
401Unauthorized

Unauthorized

403Forbidden

Forbidden

404Not Found

Not Found

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Sign a contract

POST
https://api.prompteasy.eu/v1/agreements/{contract}/{user}/sign

Body

application/json
namestringrequired

Must exactly match the user's name

Example
John Doe

Parameters

contractstring<uuid>requiredpath
userintegerrequiredpath

Response

201CreatedAgreement

Contract successfully signed

Response fields application/json
idstring<uuid>
Example
9b2d5a39-ec9b-4b21-b3b4-4ffc8b671a53
tenant_idstring<uuid>
Example
a81d4a03-7cf5-4cf0-9dc8-f5e1823793df
tenant_namestring
Example
Acme Inc.
contract_idstring<uuid>
Example
9b2d5a39-ec9b-4b21-b3b4-4ffc8b671a53
signatorystring
Example
John Doe
signature_hashstring
Example
5e8837e8f7dbe4f9d788c0ab58807d893d79a250781cde2415d860341b12b322
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
contractContract
Show child attributes
idstring<uuid>
Example
9b2d5a39-ec9b-4b21-b3b4-4ffc8b671a53
contract_idstring<uuid> | null
Example
9b2d5a39-ec9b-4b21-b3b4-4ffc8b671a53
contract_namestring
Example
Terms of Service
versioninteger
Example
1
contract_contentstring
Example
Standard Terms of Service text...
changes_summarystring | null
Example
Minor wording updates in Section 2.
agreement_forstring
Example
tos
only_for_planstring | null
Example
premium
is_user_contractboolean
Example
false
created_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
updated_atstring<date-time>
Example
2025-11-25T13:12:29+00:00
401Unauthorized

Unauthorized

403Forbidden

Forbidden

422Unprocessable EntityValidationError

Unprocessable Entity

Response fields application/json
messagestring
Example
Validation failed
Show child attributes
nameArray<string>

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)