Skip to content

Commit 202d608

Browse files
committed
adding new api ref snippets
1 parent b9a8dad commit 202d608

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#apx-snippet-start:getWorkflowInstancesList
2+
Status=$(curl -s -w "%{http_code}\n" -i \
3+
--request GET "https://api-d.docusign.com/v1/accounts/${account_id}/workflows/${workflow_id}/instances" \
4+
--header "Authorization: Bearer ${access_token}" \
5+
--output ${response})
6+
#apx-snippet-end:getWorkflowInstancesList
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#apx-snippet-start:createAgreementSummary
2+
Status=$(curl -s -w "%{http_code}\n" -i \
3+
--request POST "https://api-d.docusign.com/v1/accounts/{accountId}/agreements/{agreementId}/ai/actions/summarize" \
4+
--header "Authorization: Bearer ${access_token}" \
5+
--output ${response})
6+
#apx-snippet-end:createAgreementSummary
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#apx-snippet-start:deleteAgreement
2+
Status=$(curl -s -w "%{http_code}\n" -i \
3+
--request DELETE "https://api-d.docusign.com/v1/accounts/{accountId}/agreements/{agreementId}" \
4+
--header "Authorization: Bearer ${access_token}" \
5+
--output ${response})
6+
#apx-snippet-end:deleteAgreement

0 commit comments

Comments
 (0)