/

Get agreement templates

get
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Query parameters
organizationIdintegerOptional

The ID of the organization

Default: 1Example: 1
namestringOptional

The name of the agreement template

Default: Template AExample: Template A
Responses
200Success
application/json
get
/api/agreement-templates/
200Success

Create agreement

post
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Body
idintegerRequired

The unique identifier for the agreement template

Default: 1Example: 1
organizationIdintegerOptional

The ID of the organization associated with the agreement template

Default: 1Example: 1
namestringRequired

The name of the agreement template

Default: Standard AgreementExample: Standard Agreement
userActionstring · enumRequired

The user action associated with the agreement template

Default: ConsumerOnboardingExample: ConsumerOnboardingPossible values:
contentHtmlstringRequired

The HTML content of the agreement template

Default: <p>Agreement content here</p>Example: <p>Agreement content here</p>
createdAtone ofRequired

The date when the agreement template was created

Default: 2023-01-01T00:00:00ZExample: 2023-01-01T00:00:00Z
string · dateOptional
or
string · date-timeOptional
updatedAtone ofRequired

The date when the agreement template was last updated

Default: 2023-01-01T00:00:00ZExample: 2023-01-01T00:00:00Z
string · dateOptional
or
string · date-timeOptional
Responses
200Success
application/json
post
/api/agreement-templates/
200Success