Get list agreement with batch id
GET/v2/agreement-batches/:id/agreements
Get list agreement with batch id
Request
Path Parameters
Batch id
Query Parameters
Default value: 0
Page to get results
Default value: 10
Size of results page
Sort returned results
Responses
- 200
- 401
- 403
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
Array [
]
]
Array [
]
]
items
object[]
Unique identifier for the agreement.
Possible values: [DRAFT
, IN_PROGRESS
, CORRECTING
, COMPLETED
, CANCELED
, REJECTED
, EXPIRED
, TEMPLATE
, BULK_SEND
, SCHEDULED
]
status_detail
object
Total number of actions or tasks related to the agreement.
Number of completed actions or tasks.
Additional status message.
configuration
object
Possible values: <= 90
Deadline for the agreement in days. Defaults to 1, must be between 0 and 90.
Possible values: <= 90
Reminder period for the deadline in days. Defaults to 1, must be between 0 and 90.
Possible values: <= 90
Signing reminder period in days. Defaults to 0, must be between 0 and 90.
Possible values: <= 90
Interval for signing reminders in days. Defaults to 0, must be between 0 and 90.
Specific deadline date for the agreement.
Indicates whether signing reminders are enabled. Defaults to false.
data
object
Indicates if signing should follow a specific order.
Indicates if the agreement can be self-signed.
Name of the document associated with the agreement.
Content of the agreement in the default language.
content_by_lang
object
Content of the agreement translated by language, stored as a key-value map.
timezone
object
Timezone of the agreement. Defaults to GMT+07.
Name of the batch if the agreement is part of a batch process.
Indicates if the agreement is sent in bulk. Defaults to false.
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
Unique identifier for the bulk send list.
Unique identifier for the batch.
Expiration time in minutes for public view access.
Expiration time in minutes for mail OTP verification.
Indicates if multi-factor authentication is required for signing.
participants
object[]
List of participants involved in the agreement.
Unique identifier for the participant.
Username of the participant.
Email address of the participant.
Role of the participant in the agreement.
Order of the participant in the signing process.
Full name of the participant.
Possible values: [PIN
, NONE
]
Possible values: [ALL
, DIGITAL
, NORMAL
]
List of allowed signature types for the participant.
Indicates if the participant can set their signature type. Defaults to false.
Preferred language of the participant.
extra_fields
object
Additional fields associated with the participant as a key-value map.
Indicates whether the participant has completed their required actions.
supplement_tasks
object[]
List of additional tasks assigned to the participant.
Unique identifier for the document associated with the supplement task.
Possible values: [NONE
, VIEW
, ACCEPT
, VIEW_AND_ACCEPT
, READ_AND_ACCEPT
]
Indicates whether the action has been performed. Defaults to false.
note
object
owner
object
Username of the user.
Email address of the user.
Full name of the user.
folders
object[]
List of folders containing the agreement.
Possible values: [DRAFT
, COMPLETED
, CANCELED
, REJECTED
, EXPIRED
, IN_PROGRESS
, ALL
, INBOX
, SENT
, WAITING_FOR_ME
, WAITING_FOR_OTHERS
, EXPIRING_SOON
, RECYCLE_BIN
, AGREEMENT_CUSTOM_FOLDER
, AGREEMENT_LABEL
, AGREEMENT_BATCH
, TEMPLATE_MY_TEMPLATE
, TEMPLATE_ALL
, TEMPLATE_SHARE_WITH_ME
, TEMPLATE_FAVORITE
, TEMPLATE_RECYCLE_BIN
, TEMPLATE_CUSTOM_FOLDER
]
Name of the folder.
configuration
object
Additional configuration for the folder as a key-value map.
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
{
"count": 0,
"items": [
{
"id": "string",
"status": "DRAFT",
"updated_date": "2022-03-10T16:15:50Z",
"created_date": "2022-03-10T16:15:50Z",
"status_detail": {
"total": 0,
"complete_count": 0,
"message": "string"
},
"configuration": {
"deadline": 0,
"deadline_reminder": 0,
"signing_reminder": 0,
"signing_reminder_interval": 0,
"deadline_date": "2022-03-10T16:15:50Z",
"enable_signing_reminder": true
},
"data": {
"order": true,
"self_sign": true,
"document_name": "string",
"content": "string",
"content_by_lang": {},
"timezone": {
"ID": "string",
"rawOffset": 0,
"iD": "string",
"displayName": "string",
"dSTSavings": 0
},
"batch_name": "string",
"bulk_send": true,
"bulk_send_list_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"batch_id": "string",
"public_view_expires_in_minutes": 0,
"mail_otp_expires_in_minutes": 0,
"require_mfa_for_signing": true
},
"participants": [
{
"id": "string",
"username": "string",
"email": "string",
"role": "string",
"order": 0,
"name": "string",
"authentication_type": "PIN",
"signature_types": [
"ALL"
],
"setting_signature_type": true,
"lang": "string",
"extra_fields": {},
"is_completed": true,
"supplement_tasks": [
{
"doc_id": "string",
"action": "NONE",
"acted": true
}
]
}
],
"note": {
"id": "string",
"content": "string"
},
"owner": {
"username": "string",
"email": "string",
"name": "string"
},
"folders": [
{
"type": "DRAFT",
"name": "string",
"configuration": {},
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"started_date": "2022-03-10T16:15:50Z"
}
]
}
Not Authorized
Not Allowed