The Akorda API is organized around REST. Our API has predictable resource-oriented URLs accepts form-encoded request bodies, returns JSON-encoded responses, and uses standardHTTP response codes, authentication, and verbs.
At the moment Akorda only supports API Key authentication.
All requests must include an Authorization header:
Authorization: Bearer {token}
The authentication endpoint is https://api.{dev,qa}.akordacorp.com/v1/oauth/token
.
Test environments are available at api.{dev,qa}.akordacorp.com
. Contact support for setup instructions.
The production API is available at api.akorda.com
.
Contact support for authentication key setup.
ListDocuments
Lists all documents
Authorizations:
query Parameters
orderBy | string Sorting order_by specifies the field to sort by. Example: "created_date,desc" |
filter | string Filtering filter specifies the filter to apply to the documents. |
pageSize | string <int64> Pagination page_size specifies the number of documents to return in a single response. |
pageNumber | string <int64> page_number specifies the page number to return. |
pageOffset | string <int64> page_offset specifies the number of documents to skip before returning the first document. |
Responses
Response samples
- 200
- 401
- 403
- 404
- 412
- 500
- default
{- "documents": [
- {
- "assigneeId": "string",
- "counterparty": {
- "companyId": "string",
- "externalId": "string",
- "id": "string",
- "metadata": { },
- "name": "string"
}, - "createdBy": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "documentType": "string",
- "externalAttributes": { },
- "externalId": "string",
- "fileInfo": {
- "bytes": "string",
- "fileId": "string",
- "filename": "string",
- "mediaType": "string"
}, - "id": "string",
- "metadata": { },
- "negotiationStatus": "NEGOTIATION_STATUS_UNSPECIFIED",
- "notes": "string",
- "playbookId": "string",
- "sourceType": "string",
- "status": "string",
- "title": "string",
- "updatedBy": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "versionControl": 0,
- "versionNumber": 0
}
], - "pageNumber": "string",
- "pageOffset": "string",
- "pageSize": "string",
- "totalElements": "string",
- "totalPages": "string"
}
UploadDocument
Allows the user to upload a new document or version to a new or existing counterparty and to optionally send it for review or signature or upload a new version to an existing document
Authorizations:
Request Body schema: application/json
object (DocumentAction defines the input parameters to execute an action in the document review process) | |
required | object (Document info) |
object (UploadOptions is optional data that can be set to a document) | |
uploadFor | string (UploadAction specifies the actions available when uploading a document) Default: "UPLOAD_ACTION_UNSPECIFIED" Enum: "UPLOAD_ACTION_UNSPECIFIED" "UPLOAD_FOR_REVIEW" "UPLOAD_FOR_SIGNATURE" "UPLOAD_FOR_INSIGHTS" "UPLOAD_FOR_SEARCH"
|
Responses
Request samples
- Payload
{- "action": {
- "document": {
- "assigneeId": "string",
- "counterparty": {
- "companyId": "string",
- "externalId": "string",
- "id": "string",
- "metadata": { },
- "name": "string"
}, - "documentType": "string",
- "externalAttributes": { },
- "externalId": "string",
- "fileInfo": {
- "bytes": "string",
- "fileId": "string",
- "filename": "string",
- "mediaType": "string"
}, - "id": "string",
- "metadata": { },
- "negotiationStatus": "NEGOTIATION_STATUS_UNSPECIFIED",
- "notes": "string",
- "playbookId": "string",
- "sourceType": "string",
- "status": "string",
- "title": "string"
}, - "email": {
- "attachment": {
- "bytes": "string",
- "fileId": "string",
- "filename": "string",
- "mediaType": "string"
}, - "cc": [
- "string"
], - "data": { },
- "from": "string",
- "subject": "string",
- "template": "string",
- "to": [
- "string"
]
}, - "signature": {
- "attachments": [
- {
- "bytes": "string",
- "fileId": "string",
- "filename": "string",
- "mediaType": "string"
}
], - "ccs": [
- {
- "email": "string",
- "name": "string",
- "recipientId": "string",
- "title": "string"
}
], - "content": "string",
- "counterparties": [
- {
- "email": "string",
- "name": "string",
- "recipientId": "string",
- "title": "string"
}
], - "documentId": "string",
- "emailBody": "string",
- "emailSubject": "string",
- "fileInfo": {
- "bytes": "string",
- "fileId": "string",
- "filename": "string",
- "mediaType": "string"
}, - "parties": [
- {
- "email": "string",
- "name": "string",
- "recipientId": "string",
- "title": "string"
}
], - "webhook": "string"
}, - "type": "DOCUMENT_ACTION_UNSPECIFIED",
- "user": {
- "createdDate": "2019-08-24T14:15:22Z",
- "domain": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "profileId": "string",
- "status": "string",
- "title": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "username": "string"
}
}, - "document": {
- "assigneeId": "string",
- "counterparty": {
- "companyId": "string",
- "externalId": "string",
- "id": "string",
- "metadata": { },
- "name": "string"
}, - "documentType": "string",
- "externalAttributes": { },
- "externalId": "string",
- "fileInfo": {
- "bytes": "string",
- "fileId": "string",
- "filename": "string",
- "mediaType": "string"
}, - "id": "string",
- "metadata": { },
- "negotiationStatus": "NEGOTIATION_STATUS_UNSPECIFIED",
- "notes": "string",
- "playbookId": "string",
- "sourceType": "string",
- "status": "string",
- "title": "string"
}, - "options": {
- "confirmContractType": true,
- "relatedDocumentId": "string"
}, - "uploadFor": "UPLOAD_ACTION_UNSPECIFIED"
}
Response samples
- 200
- 201
- 401
- 403
- 404
- 412
- 500
- default
{- "document": {
- "assigneeId": "string",
- "counterparty": {
- "companyId": "string",
- "externalId": "string",
- "id": "string",
- "metadata": { },
- "name": "string"
}, - "createdBy": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "documentType": "string",
- "externalAttributes": { },
- "externalId": "string",
- "fileInfo": {
- "bytes": "string",
- "fileId": "string",
- "filename": "string",
- "mediaType": "string"
}, - "id": "string",
- "metadata": { },
- "negotiationStatus": "NEGOTIATION_STATUS_UNSPECIFIED",
- "notes": "string",
- "playbookId": "string",
- "sourceType": "string",
- "status": "string",
- "title": "string",
- "updatedBy": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "versionControl": 0,
- "versionNumber": 0
}
}
AssembleDocument
Allows the user to send a set assembly questions and answers to generate a new document for a given or new counterparty and optionally send it for review or signature
Authorizations:
Request Body schema: application/json
object (DocumentAction defines the input parameters to execute an action in the document review process) | |
object (DocumentAssemblyRequest payload to assemble a document) | |
object (Counterparty models an Akorda counterparty) | |
registerDocument | boolean (Flag to register the document against ms-project) |
returnBytes | boolean (Flag to return the bytes or the storage file Id) |
Responses
Request samples
- Payload
{- "assemblyAnswers": [
- {
- "answerId": "1",
- "questionId": "2"
}
], - "counterparty": { },
- "playbookId": "123"
}
Response samples
- 200
- 201
- 401
- 403
- 404
- 412
- 500
- default
{- "document": {
- "assigneeId": "string",
- "counterparty": {
- "companyId": "string",
- "externalId": "string",
- "id": "string",
- "metadata": { },
- "name": "string"
}, - "createdBy": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "documentType": "string",
- "externalAttributes": { },
- "externalId": "string",
- "fileInfo": {
- "bytes": "string",
- "fileId": "string",
- "filename": "string",
- "mediaType": "string"
}, - "id": "string",
- "metadata": { },
- "negotiationStatus": "NEGOTIATION_STATUS_UNSPECIFIED",
- "notes": "string",
- "playbookId": "string",
- "sourceType": "string",
- "status": "string",
- "title": "string",
- "updatedBy": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "versionControl": 0,
- "versionNumber": 0
}
}
GetDocument
Get a single document
Authorizations:
path Parameters
documentId required | string document_id specifies the id of the document to retrieve. |
Responses
Response samples
- 200
- 401
- 403
- 404
- 412
- 500
- default
{- "assigneeId": "string",
- "counterparty": {
- "companyId": "string",
- "externalId": "string",
- "id": "string",
- "metadata": { },
- "name": "string"
}, - "createdBy": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "documentType": "string",
- "externalAttributes": { },
- "externalId": "string",
- "fileInfo": {
- "bytes": "string",
- "fileId": "string",
- "filename": "string",
- "mediaType": "string"
}, - "id": "string",
- "metadata": { },
- "negotiationStatus": "NEGOTIATION_STATUS_UNSPECIFIED",
- "notes": "string",
- "playbookId": "string",
- "sourceType": "string",
- "status": "string",
- "title": "string",
- "updatedBy": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "versionControl": 0,
- "versionNumber": 0
}
ExecuteDocumentAction
Executes an akorda.api.document.v1.DocumentAction against the given document
Authorizations:
path Parameters
documentId required | string The entity id of the document |
Request Body schema: application/json
required | object (DocumentAction defines the input parameters to execute an action in the document review process) | ||||||||||
|
Responses
Request samples
- Payload
{- "action": {
- "signature": { },
- "type": "UPLOAD_FOR_SIGNATURE"
}, - "documentId": "1234"
}
Response samples
- 200
- 202
- 401
- 403
- 404
- 412
- 500
- default
{- "document": {
- "assigneeId": "string",
- "counterparty": {
- "companyId": "string",
- "externalId": "string",
- "id": "string",
- "metadata": { },
- "name": "string"
}, - "createdBy": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "documentType": "string",
- "externalAttributes": { },
- "externalId": "string",
- "fileInfo": {
- "bytes": "string",
- "fileId": "string",
- "filename": "string",
- "mediaType": "string"
}, - "id": "string",
- "metadata": { },
- "negotiationStatus": "NEGOTIATION_STATUS_UNSPECIFIED",
- "notes": "string",
- "playbookId": "string",
- "sourceType": "string",
- "status": "string",
- "title": "string",
- "updatedBy": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "versionControl": 0,
- "versionNumber": 0
}
}
DeleteDocument
Deletes the specified document if the conditions are met.
Authorizations:
path Parameters
id required | string The id of the document. |
query Parameters
hardDelete | boolean set true when a hard deletion is to be performed |
Responses
Response samples
- 200
- 401
- 403
- 404
- 412
- 500
- default
{ }
Fetches a paginated playbook list
Authorizations:
query Parameters
companyId | integer <int64> companyId |
offset | integer <int64> |
page | ref Default: "0" Results page you want to retrieve (0..N) |
pageNumber | integer <int32> |
pageSize | integer <int32> |
paged | boolean |
size | ref Default: "20" Number of records per page |
sort | string Sort expression. Ex: updatedDate,DESC |
sort.sorted | boolean |
sort.unsorted | boolean |
status | string Enum: "ARCHIVED" "PUBLISHED" "PUBLISHING" "DRAFT_PUBLISHING" "UNCONFIRMED_PUBLISHING" "DRAFT" "DELETED" "PROCESSING" "UNCONFIRMED" "FAILED" status |
unpaged | boolean |
header Parameters
Authorization required | string Default: Bearer {TOKEN} OAuth2 token |
Responses
Creates a new playbook
Authorizations:
query Parameters
companyId | integer <int64> companyId |
header Parameters
Authorization required | string Default: Bearer {TOKEN} OAuth2 token |
Request Body schema: application/json
request
abbreviation | string |
defaultSigner | integer <int64> |
description | string |
forAssembly | boolean |
object (PlaybookFrictionConfiguration) | |
name | string |
paperType | string Enum: "COMPANY_PAPER" "COUNTERPARTY_PAPER" |
parentType | string |
preSigned | boolean |
referenceId | string |
status | string Enum: "ARCHIVED" "PUBLISHED" "PUBLISHING" "DRAFT_PUBLISHING" "UNCONFIRMED_PUBLISHING" "DRAFT" "DELETED" "PROCESSING" "UNCONFIRMED" "FAILED" |
object | |
templateContent | string <byte> |
templateDocxFileId | integer <int64> |
templateFileName | string |
templateMediaType | string |
Responses
Request samples
- Payload
{- "abbreviation": "string",
- "defaultSigner": 0,
- "description": "string",
- "forAssembly": true,
- "frictionConfig": {
- "maxFallback": 0,
- "maxOther": 0,
- "minExamples": 0,
- "minStandard": 0
}, - "name": "string",
- "paperType": "COMPANY_PAPER",
- "parentType": "string",
- "preSigned": true,
- "referenceId": "string",
- "status": "ARCHIVED",
- "structureSettings": {
- "property1": {
- "array": true,
- "bigDecimal": true,
- "bigInteger": true,
- "binary": true,
- "boolean": true,
- "containerNode": true,
- "double": true,
- "empty": true,
- "float": true,
- "floatingPointNumber": true,
- "int": true,
- "integralNumber": true,
- "long": true,
- "missingNode": true,
- "nodeType": "ARRAY",
- "null": true,
- "number": true,
- "object": true,
- "pojo": true,
- "short": true,
- "textual": true,
- "valueNode": true
}, - "property2": {
- "array": true,
- "bigDecimal": true,
- "bigInteger": true,
- "binary": true,
- "boolean": true,
- "containerNode": true,
- "double": true,
- "empty": true,
- "float": true,
- "floatingPointNumber": true,
- "int": true,
- "integralNumber": true,
- "long": true,
- "missingNode": true,
- "nodeType": "ARRAY",
- "null": true,
- "number": true,
- "object": true,
- "pojo": true,
- "short": true,
- "textual": true,
- "valueNode": true
}
}, - "templateContent": "string",
- "templateDocxFileId": 0,
- "templateFileName": "string",
- "templateMediaType": "string"
}
Assembles a playbook as DOCX file
Authorizations:
path Parameters
playbookId required | integer <int64> playbookId |
header Parameters
Authorization required | string Default: Bearer {TOKEN} OAuth2 token |
Request Body schema: application/json
request
Array of objects (PlaybookAssemblyAnswer) | |
companyId | integer <int64> |
counterpartyId | integer <int64> |
counterpartyName | string |
store | boolean |
timezone | string |
Responses
Request samples
- Payload
{- "assemblyAnswers": [
- {
- "answer": "string",
- "answerId": 0,
- "questionId": 0
}
], - "companyId": 0,
- "counterpartyId": 0,
- "counterpartyName": "string",
- "store": true,
- "timezone": "string"
}
Imports a Playbook
Authorizations:
path Parameters
companyId required | integer <int64> companyId |
query Parameters
overwrite | boolean overwrite |
header Parameters
Authorization required | string Default: Bearer {TOKEN} OAuth2 token |
Request Body schema: application/json
request
abbreviation | string |
Array of objects (Clause) | |
defaultSigner | integer <int64> |
description | string |
forAssembly | boolean |
object (PlaybookFrictionConfiguration) | |
name | string |
paperType | string Enum: "COMPANY_PAPER" "COUNTERPARTY_PAPER" |
parentType | string |
preSigned | boolean |
referenceId | string |
status | string Enum: "ARCHIVED" "PUBLISHED" "PUBLISHING" "DRAFT_PUBLISHING" "UNCONFIRMED_PUBLISHING" "DRAFT" "DELETED" "PROCESSING" "UNCONFIRMED" "FAILED" |
object | |
templateContent | string <byte> |
templateDocxFileId | integer <int64> |
templateFileName | string |
templateMediaType | string |
Array of objects (Variable) |
Responses
Request samples
- Payload
{- "abbreviation": "string",
- "clauses": [
- {
- "clauses": [
- { }
], - "displayName": "string",
- "guidance": "string",
- "issues": [
- {
- "acceptable": true,
- "customerComment": "string",
- "fallbacks": [
- {
- "alternateTitle": "string",
- "approvalLevel": "string",
- "caption": "string",
- "guidance": "string",
- "notes": "string",
- "position": 0,
- "text": "string",
- "title": "string"
}
], - "guidance": "string",
- "position": 0,
- "title": "string"
}
], - "name": "string",
- "optional": true,
- "parentId": 0,
- "position": 0,
- "structureSettings": {
- "array": true,
- "bigDecimal": true,
- "bigInteger": true,
- "binary": true,
- "boolean": true,
- "containerNode": true,
- "double": true,
- "empty": true,
- "float": true,
- "floatingPointNumber": true,
- "int": true,
- "integralNumber": true,
- "long": true,
- "missingNode": true,
- "nodeType": "ARRAY",
- "null": true,
- "number": true,
- "object": true,
- "pojo": true,
- "short": true,
- "textual": true,
- "valueNode": true
}, - "structureType": "PARAGRAPH",
- "text": "string",
- "weightMutual": 0,
- "weightProvidee": 0,
- "weightProvider": 0
}
], - "defaultSigner": 0,
- "description": "string",
- "forAssembly": true,
- "frictionConfig": {
- "maxFallback": 0,
- "maxOther": 0,
- "minExamples": 0,
- "minStandard": 0
}, - "name": "string",
- "paperType": "COMPANY_PAPER",
- "parentType": "string",
- "preSigned": true,
- "referenceId": "string",
- "status": "ARCHIVED",
- "structureSettings": {
- "property1": {
- "array": true,
- "bigDecimal": true,
- "bigInteger": true,
- "binary": true,
- "boolean": true,
- "containerNode": true,
- "double": true,
- "empty": true,
- "float": true,
- "floatingPointNumber": true,
- "int": true,
- "integralNumber": true,
- "long": true,
- "missingNode": true,
- "nodeType": "ARRAY",
- "null": true,
- "number": true,
- "object": true,
- "pojo": true,
- "short": true,
- "textual": true,
- "valueNode": true
}, - "property2": {
- "array": true,
- "bigDecimal": true,
- "bigInteger": true,
- "binary": true,
- "boolean": true,
- "containerNode": true,
- "double": true,
- "empty": true,
- "float": true,
- "floatingPointNumber": true,
- "int": true,
- "integralNumber": true,
- "long": true,
- "missingNode": true,
- "nodeType": "ARRAY",
- "null": true,
- "number": true,
- "object": true,
- "pojo": true,
- "short": true,
- "textual": true,
- "valueNode": true
}
}, - "templateContent": "string",
- "templateDocxFileId": 0,
- "templateFileName": "string",
- "templateMediaType": "string",
- "variables": [
- {
- "defaultValue": "string",
- "description": "string",
- "displayName": "string",
- "filing": true,
- "groupName": "string",
- "library": true,
- "name": "string",
- "playbookDefault": true,
- "position": 0,
- "replacement": true,
- "required": true,
- "search": true,
- "system": true,
- "type": "NUMBER",
- "useForTitle": true
}
]
}
Fetches a playbook by its id
Authorizations:
path Parameters
playbookId required | integer <int64> playbookId |
query Parameters
expandFields | Array of strings List of fields that can be expanded as part of the result. Ex: clauses, clauses.standard, clauses.fallbacks, clauses.pastExamples |
header Parameters
Authorization required | string Default: Bearer {TOKEN} OAuth2 token |
Responses
Updates a playbook
Authorizations:
path Parameters
playbookId required | integer <int64> playbookId |
header Parameters
Authorization required | string Default: Bearer {TOKEN} OAuth2 token |
Request Body schema: application/json
request
abbreviation | string |
defaultSigner | integer <int64> |
description | string |
forAssembly | boolean |
object (PlaybookFrictionConfiguration) | |
name | string |
paperType | string Enum: "COMPANY_PAPER" "COUNTERPARTY_PAPER" |
parentType | string |
preSigned | boolean |
referenceId | string |
status | string Enum: "ARCHIVED" "PUBLISHED" "PUBLISHING" "DRAFT_PUBLISHING" "UNCONFIRMED_PUBLISHING" "DRAFT" "DELETED" "PROCESSING" "UNCONFIRMED" "FAILED" |
object | |
templateContent | string <byte> |
templateDocxFileId | integer <int64> |
templateFileName | string |
templateMediaType | string |
Responses
Request samples
- Payload
{- "abbreviation": "string",
- "defaultSigner": 0,
- "description": "string",
- "forAssembly": true,
- "frictionConfig": {
- "maxFallback": 0,
- "maxOther": 0,
- "minExamples": 0,
- "minStandard": 0
}, - "name": "string",
- "paperType": "COMPANY_PAPER",
- "parentType": "string",
- "preSigned": true,
- "referenceId": "string",
- "status": "ARCHIVED",
- "structureSettings": {
- "property1": {
- "array": true,
- "bigDecimal": true,
- "bigInteger": true,
- "binary": true,
- "boolean": true,
- "containerNode": true,
- "double": true,
- "empty": true,
- "float": true,
- "floatingPointNumber": true,
- "int": true,
- "integralNumber": true,
- "long": true,
- "missingNode": true,
- "nodeType": "ARRAY",
- "null": true,
- "number": true,
- "object": true,
- "pojo": true,
- "short": true,
- "textual": true,
- "valueNode": true
}, - "property2": {
- "array": true,
- "bigDecimal": true,
- "bigInteger": true,
- "binary": true,
- "boolean": true,
- "containerNode": true,
- "double": true,
- "empty": true,
- "float": true,
- "floatingPointNumber": true,
- "int": true,
- "integralNumber": true,
- "long": true,
- "missingNode": true,
- "nodeType": "ARRAY",
- "null": true,
- "number": true,
- "object": true,
- "pojo": true,
- "short": true,
- "textual": true,
- "valueNode": true
}
}, - "templateContent": "string",
- "templateDocxFileId": 0,
- "templateFileName": "string",
- "templateMediaType": "string"
}
Patches a playbook
Authorizations:
path Parameters
playbookId required | integer <int64> playbookId |
header Parameters
Authorization required | string Default: Bearer {TOKEN} OAuth2 token |
Request Body schema: application/json
request
abbreviation | string |
defaultSigner | integer <int64> |
description | string |
forAssembly | boolean |
object (PlaybookFrictionConfiguration) | |
name | string |
parentType | string |
pipelineId | integer <int64> |
preSigned | boolean |
publishedDate | string <date-time> |
referenceId | string |
status | string Enum: "ARCHIVED" "PUBLISHED" "PUBLISHING" "DRAFT_PUBLISHING" "UNCONFIRMED_PUBLISHING" "DRAFT" "DELETED" "PROCESSING" "UNCONFIRMED" "FAILED" |
object | |
templateDocxFileId | integer <int64> |
workflowId | string |
Responses
Request samples
- Payload
{- "abbreviation": "string",
- "defaultSigner": 0,
- "description": "string",
- "forAssembly": true,
- "frictionConfig": {
- "maxFallback": 0,
- "maxOther": 0,
- "minExamples": 0,
- "minStandard": 0
}, - "name": "string",
- "parentType": "string",
- "pipelineId": 0,
- "preSigned": true,
- "publishedDate": "2019-08-24T14:15:22Z",
- "referenceId": "string",
- "status": "ARCHIVED",
- "structureSettings": {
- "property1": {
- "array": true,
- "bigDecimal": true,
- "bigInteger": true,
- "binary": true,
- "boolean": true,
- "containerNode": true,
- "double": true,
- "empty": true,
- "float": true,
- "floatingPointNumber": true,
- "int": true,
- "integralNumber": true,
- "long": true,
- "missingNode": true,
- "nodeType": "ARRAY",
- "null": true,
- "number": true,
- "object": true,
- "pojo": true,
- "short": true,
- "textual": true,
- "valueNode": true
}, - "property2": {
- "array": true,
- "bigDecimal": true,
- "bigInteger": true,
- "binary": true,
- "boolean": true,
- "containerNode": true,
- "double": true,
- "empty": true,
- "float": true,
- "floatingPointNumber": true,
- "int": true,
- "integralNumber": true,
- "long": true,
- "missingNode": true,
- "nodeType": "ARRAY",
- "null": true,
- "number": true,
- "object": true,
- "pojo": true,
- "short": true,
- "textual": true,
- "valueNode": true
}
}, - "templateDocxFileId": 0,
- "workflowId": "string"
}
Adds a new clause to a playbook
Authorizations:
path Parameters
playbookId required | integer <int64> playbookId |
header Parameters
Authorization required | string Default: Bearer {TOKEN} OAuth2 token |
Request Body schema: application/json
request
displayName | string |
guidance | string |
name | string |
optional | boolean |
parentId | integer <int64> |
position | integer <int32> |
object (JsonNode) | |
structureType | string Enum: "PARAGRAPH" "LIST" "SECTION" |
text | string |
weightMutual | number <double> |
weightProvidee | number <double> |
weightProvider | number <double> |
Responses
Request samples
- Payload
{- "displayName": "string",
- "guidance": "string",
- "name": "string",
- "optional": true,
- "parentId": 0,
- "position": 0,
- "structureSettings": {
- "array": true,
- "bigDecimal": true,
- "bigInteger": true,
- "binary": true,
- "boolean": true,
- "containerNode": true,
- "double": true,
- "empty": true,
- "float": true,
- "floatingPointNumber": true,
- "int": true,
- "integralNumber": true,
- "long": true,
- "missingNode": true,
- "nodeType": "ARRAY",
- "null": true,
- "number": true,
- "object": true,
- "pojo": true,
- "short": true,
- "textual": true,
- "valueNode": true
}, - "structureType": "PARAGRAPH",
- "text": "string",
- "weightMutual": 0,
- "weightProvidee": 0,
- "weightProvider": 0
}
Fetches the playbook history
Authorizations:
path Parameters
playbookId required | integer <int64> playbookId |
query Parameters
asc | boolean asc |
page | integer <int32> page |
size | integer <int32> Default: 10000 size |
header Parameters
Authorization required | string Default: Bearer {TOKEN} OAuth2 token |
Responses
Adds a metadata item to a playbook
Authorizations:
path Parameters
metadataId required | integer <int64> metadataId |
playbookId required | integer <int64> playbookId |
header Parameters
Authorization required | string Default: Bearer {TOKEN} OAuth2 token |
Request Body schema: application/json
request
defaultValue | string Default value |
filing | boolean True if the metadata can be used in playbook filing |
library | boolean True if the metadata will be displayed in playbook library columns |
replacement | boolean True if the metadata can be used in playbook replacement |
required | boolean True if a value is required for the metadata |
search | boolean True if the metadata can be used in playbook search |
useForTitle | boolean True if the metadata will be used as part of the project title/file name |
Responses
Request samples
- Payload
{- "defaultValue": "string",
- "filing": true,
- "library": true,
- "replacement": true,
- "required": true,
- "search": true,
- "useForTitle": true
}
uploadTemplate
Authorizations:
path Parameters
playbookId required | integer <int64> playbookId |
header Parameters
Authorization required | string Default: Bearer {TOKEN} OAuth2 token |
Request Body schema: application/json
template
content required | string <byte> File content |
fileName required | string File name |
mediaType required | string File media type |
Responses
Request samples
- Payload
{- "content": "string",
- "fileName": "string",
- "mediaType": "string"
}
Adds a new variable to a playbook
Authorizations:
path Parameters
playbookId required | integer <int64> playbookId |
header Parameters
Authorization required | string Default: Bearer {TOKEN} OAuth2 token |
Request Body schema: application/json
request
defaultValue | string Default value |
description | string Description of the variable |
displayName required | string Display name of the variable |
filing | boolean True if variable can be used in playbook filing |
groupName | string The group name of the metadata. |
library | boolean True if variable can be used in library columns |
name | string Name of the variable. If not provided the name will be inferred from displayName. |
playbookDefault | boolean True if the metadata will be set as default for playbook |
position | integer <int32> The position of the variable. Default: last |
replacement | boolean True if variable can be used in playbook replacement |
required | boolean True if a value is required for the metadata |
search | boolean True if variable can be used in playbook search |
system | boolean True if system metadata |
type required | string Enum: "NUMBER" "DATE" "TEXT" "KEYWORD" "BOOLEAN" Type of the Variable (INTEGER, LONG, FLOAT, BOOLEAN, DATE, TEXT) |
useForTitle | boolean True if variable will be used as part of the project title/file name |
Responses
Request samples
- Payload
{- "defaultValue": "string",
- "description": "string",
- "displayName": "string",
- "filing": true,
- "groupName": "string",
- "library": true,
- "name": "string",
- "playbookDefault": true,
- "position": 0,
- "replacement": true,
- "required": true,
- "search": true,
- "system": true,
- "type": "NUMBER",
- "useForTitle": true
}