Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/docusign:docusign-connectevents-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: DocuSign REST Connect Events API
description: The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
termsOfService: https://www.docusign.com/company/terms-and-conditions/web
contact:
name: DocuSign Developer Center
url: https://developers.docusign.com/
email: devcenter@docusign.com
version: v2
servers:
- url: https://www.docusign.net/restapi
tags:
- name: ConnectEvents
description: The ConnectEvents resource provides methods that allow you to read, delete, and republish the connect logs associated with an envelope.
paths:
/v2/accounts/{accountId}/connect/envelopes/{envelopeId}/retry_queue:
put:
tags:
- ConnectEvents
summary: Docusign Republishes Connect information for the specified envelope
description: Republishes Connect information for the specified envelope.
operationId: ConnectPublish_PutConnectRetryByEnvelope
parameters:
- name: accountId
in: path
description: The external account number (int) or account id GUID.
required: true
schema:
type: string
- name: envelopeId
in: path
description: 'The envelope''s GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec '
required: true
schema:
type: string
responses:
'200':
description: Successful response.
content:
'*/*':
schema:
$ref: '#/components/schemas/connectFailureResults'
'400':
description: Error encountered.
content:
'*/*':
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: retryEventForEnvelope
x-ds-method: retryForEnvelope
x-ds-service: Connect
x-ds-in-sdk: true
/v2/accounts/{accountId}/connect/envelopes/retry_queue:
put:
tags:
- ConnectEvents
summary: Docusign Republishes Connect information for multiple envelopes
description: Republishes Connect information for the specified set of envelopes. The primary use is to republish Connect post failures by including envelope IDs for the envelopes that failed to post in the request. The list of envelope IDs that failed to post correctly can be retrieved by calling to [ML:GetConnectLog] retrieve the failure log.
operationId: ConnectPublish_PutConnectRetry
parameters:
- name: accountId
in: path
description: The external account number (int) or account id GUID.
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/connectFailureFilter'
application/xml:
schema:
$ref: '#/components/schemas/connectFailureFilter'
required: false
responses:
'200':
description: Successful response.
content:
'*/*':
schema:
$ref: '#/components/schemas/connectFailureResults'
'400':
description: Error encountered.
content:
'*/*':
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: retryEventForEnvelopes
x-ds-method: retryForEnvelopes
x-ds-service: Connect
x-ds-in-sdk: true
x-codegen-request-body-name: connectFailureFilter
/v2/accounts/{accountId}/connect/failures:
get:
tags:
- ConnectEvents
summary: Docusign Gets the Connect failure log information
description: Retrieves the Connect Failure Log information. It can be used to determine which envelopes failed to post, so a republish request can be created.
operationId: ConnectFailures_GetConnectLogs
parameters:
- name: accountId
in: path
description: The external account number (int) or account id GUID.
required: true
schema:
type: string
- name: from_date
in: query
description: Start of the search date range. Only returns templates created on or after this date/time. If no value is specified, there is no limit on the earliest date created.
schema:
type: string
- name: to_date
in: query
description: End of the search date range. Only returns templates created up to this date/time. If no value is provided, this defaults to the current date.
schema:
type: string
responses:
'200':
description: Successful response.
content:
'*/*':
schema:
$ref: '#/components/schemas/connectLogs'
'400':
description: Error encountered.
content:
'*/*':
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: listEventFailureLogs
x-ds-method: listFailures
x-ds-service: Connect
x-ds-in-sdk: true
/v2/accounts/{accountId}/connect/failures/{failureId}:
delete:
tags:
- ConnectEvents
summary: Docusign Deletes a Connect failure log entry
description: Deletes the Connect failure log information for the specified entry.
operationId: ConnectFailures_DeleteConnectFailureLog
parameters:
- name: accountId
in: path
description: The external account number (int) or account id GUID.
required: true
schema:
type: string
- name: failureId
in: path
description: The ID of the failed connect log entry.
required: true
schema:
type: string
responses:
'200':
description: Successful response.
content: {}
'400':
description: Error encountered.
content:
'*/*':
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: deleteEventFailureLog
x-ds-method: deleteFailure
x-ds-service: Connect
x-ds-in-sdk: true
/v2/accounts/{accountId}/connect/logs:
get:
tags:
- ConnectEvents
summary: Docusign Gets the Connect log
description: 'Retrieves a list of connect log entries for your account.
###### Note: The `enableLog` setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded.'
operationId: ConnectLog_GetConnectLogs
parameters:
- name: accountId
in: path
description: The external account number (int) or account id GUID.
required: true
schema:
type: string
- name: from_date
in: query
description: Start of the search date range. Only returns templates created on or after this date/time. If no value is specified, there is no limit on the earliest date created.
schema:
type: string
- name: to_date
in: query
description: End of the search date range. Only returns templates created up to this date/time. If no value is provided, this defaults to the current date.
schema:
type: string
responses:
'200':
description: Successful response.
content:
'*/*':
schema:
$ref: '#/components/schemas/connectLogs'
'400':
description: Error encountered.
content:
'*/*':
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: listEventLogs
x-ds-method: list
x-ds-service: Connect
x-ds-in-sdk: true
delete:
tags:
- ConnectEvents
summary: Docusign Gets a list of Connect log entries
description: 'Retrieves a list of connect log entries for your account.
###### Note: The `enableLog` property in the Connect configuration must be set to **true** to enable logging. If logging is not enabled, then no log entries are recorded.'
operationId: ConnectLog_DeleteConnectLogs
parameters:
- name: accountId
in: path
description: The external account number (int) or account id GUID.
required: true
schema:
type: string
responses:
'200':
description: Successful response.
content: {}
'400':
description: Error encountered.
content:
'*/*':
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: deleteEventLogs
x-ds-method: deleteList
x-ds-service: Connect
x-ds-in-sdk: true
/v2/accounts/{accountId}/connect/logs/{logId}:
get:
tags:
- ConnectEvents
summary: Docusign Get the specified Connect log entry
description: 'Retrieves the specified Connect log entry for your account.
###### Note: The `enableLog` setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded.'
operationId: ConnectLog_GetConnectLog
parameters:
- name: accountId
in: path
description: The external account number (int) or account id GUID.
required: true
schema:
type: string
- name: logId
in: path
description: The ID of the connect log entry
required: true
schema:
type: string
- name: additional_info
in: query
description: When true, the connectDebugLog information is included in the response.
schema:
type: string
responses:
'200':
description: Successful response.
content:
'*/*':
schema:
$ref: '#/components/schemas/connectLog'
'400':
description: Error encountered.
content:
'*/*':
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: getEventLog
x-ds-method: get
x-ds-service: Connect
x-ds-in-sdk: true
delete:
tags:
- ConnectEvents
summary: Docusign Deletes a specified Connect log entry
description: Deletes a specified entry from the Connect Log.
operationId: ConnectLog_DeleteConnectLog
parameters:
- name: accountId
in: path
description: The external account number (int) or account id GUID.
required: true
schema:
type: string
- name: logId
in: path
description: The ID of the connect log entry
required: true
schema:
type: string
responses:
'200':
description: Successful response.
content: {}
'400':
description: Error encountered.
content:
'*/*':
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: deleteEventLog
x-ds-method: delete
x-ds-service: Connect
x-ds-in-sdk: true
/v2.1/accounts/{accountId}/connect/envelopes/{envelopeId}/retry_queue:
parameters: []
put:
tags:
- ConnectEvents
summary: Republishes Connect information for the specified envelope
description: 'Republishes Connect information for the specified envelope.
To use this method, you must be an account administrator
and Connect must be enabled on your account.'
operationId: ConnectPublish_PutConnectRetryByEnvelope
parameters:
- name: accountId
in: path
description: The external account number (int) or account ID GUID.
required: true
schema:
type: string
- name: envelopeId
in: path
description: "The envelope's GUID. \n\nExample: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`\n"
required: true
schema:
type: string
responses:
'200':
description: Successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/connectFailureResults'
'400':
description: Error encountered.
content:
application/json:
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: retryEventForEnvelope
x-ds-method: retryForEnvelope
x-ds-service: Connect
x-ds-in-sdk: true
/v2.1/accounts/{accountId}/connect/envelopes/retry_queue:
parameters: []
put:
tags:
- ConnectEvents
summary: Republishes Connect information for multiple envelopes
description: 'Republishes Connect information for the specified set of envelopes.
To use this method, you must be an account administrator
and Connect must be enabled on your account.
The primary use is to republish Connect post failures by including envelope IDs for the envelopes that failed to post in the request. The list of envelope IDs that failed to post correctly can be retrieved by calling to Connect::listEventLogs retrieve the failure log.'
operationId: ConnectPublish_PutConnectRetry
parameters:
- name: accountId
in: path
description: The external account number (int) or account ID GUID.
required: true
schema:
type: string
responses:
'200':
description: Successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/connectFailureResults'
'400':
description: Error encountered.
content:
application/json:
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: retryEventForEnvelopes
x-ds-method: retryForEnvelopes
x-ds-service: Connect
x-ds-in-sdk: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/connectFailureFilter'
application/xml:
schema:
$ref: '#/components/schemas/connectFailureFilter'
/v2.1/accounts/{accountId}/connect/failures:
parameters: []
get:
tags:
- ConnectEvents
summary: Gets the Connect failure log information
description: 'Retrieves the Connect failure log information.
To use this method, you must be an account administrator
and Connect must be enabled on your account.
Use this method to determine which envelopes failed to post.
You can then use
[ConnectEvents: retryForEnvelopes][retry]
to create a republish request.
[retry]: /docs/esign-rest-api/reference/connect/connectevents/retryforenvelopes/'
operationId: ConnectFailures_GetConnectLogs
parameters:
- name: accountId
in: path
description: The external account number (int) or account ID GUID.
required: true
schema:
type: string
- name: from_date
in: query
required: false
description: 'The start date for a date range in UTC DateTime format.
**Note:** If this property is null, no date filtering is applied.'
schema:
type: string
- name: to_date
in: query
required: false
description: 'The end of a search date range in UTC DateTime format. When you use this parameter, only templates created up to this date and time are returned.
**Note:** If this property is null, the value defaults to the current date.'
schema:
type: string
responses:
'200':
description: Successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/connectLogs'
'400':
description: Error encountered.
content:
application/json:
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: listEventFailureLogs
x-ds-method: listFailures
x-ds-service: Connect
x-ds-in-sdk: true
/v2.1/accounts/{accountId}/connect/failures/{failureId}:
parameters: []
delete:
tags:
- ConnectEvents
summary: Deletes a Connect failure log entry
description: 'Deletes a Connect failure log entry.
To delete all the Connect failure log entries,
specify `all` for the `failureId` path parameter.
To use this method, you must be an account administrator
and Connect must be enabled on your account.'
operationId: ConnectFailures_DeleteConnectFailureLog
parameters:
- name: accountId
in: path
description: The external account number (int) or account ID GUID.
required: true
schema:
type: string
- name: failureId
in: path
description: The ID of the Connect post failure. Use `all` to delete all failures for the account.
required: true
schema:
type: string
responses:
'200':
description: Successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/connectDeleteFailureResult'
'400':
description: Error encountered.
content:
application/json:
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: deleteEventFailureLog
x-ds-method: deleteFailure
x-ds-service: Connect
x-ds-in-sdk: true
/v2.1/accounts/{accountId}/connect/logs:
parameters: []
get:
tags:
- ConnectEvents
summary: Gets the Connect log
description: 'Retrieves a list of the 100 most recent Connect log entries for your account.
To use this method, you must be an account administrator
and Connect must be enabled on your account.
The `enableLog` setting in the Connect configuration must be set to **true** to enable logging. Log entries are deleted after 15 days.'
operationId: ConnectLog_GetConnectLogs
parameters:
- name: accountId
in: path
description: The external account number (int) or account ID GUID.
required: true
schema:
type: string
- name: from_date
in: query
required: false
description: 'The start date for a date range in UTC DateTime format.
**Note:** If this property is null, no date filtering is applied.'
schema:
type: string
- name: to_date
in: query
required: false
description: 'The end of a search date range in UTC DateTime format. When you use this parameter, only templates created up to this date and time are returned.
**Note:** If this property is null, the value defaults to the current date.'
schema:
type: string
responses:
'200':
description: Successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/connectLogs'
'400':
description: Error encountered.
content:
application/json:
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: listEventLogs
x-ds-method: list
x-ds-service: Connect
x-ds-in-sdk: true
delete:
tags:
- ConnectEvents
summary: Deletes a list of Connect log entries
description: 'Deletes a list of Connect log entries for your account.
To use this method, you must be an account administrator
and Connect must be enabled on your account.'
operationId: ConnectLog_DeleteConnectLogs
parameters:
- name: accountId
in: path
description: The external account number (int) or account ID GUID.
required: true
schema:
type: string
responses:
'200':
description: Successful response.
'400':
description: Error encountered.
content:
application/json:
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: deleteEventLogs
x-ds-method: deleteList
x-ds-service: Connect
x-ds-in-sdk: true
/v2.1/accounts/{accountId}/connect/logs/{logId}:
parameters: []
get:
tags:
- ConnectEvents
summary: Gets a Connect log entry
description: 'Retrieves the specified Connect log entry for your account.
To use this method, you must be an account administrator
and Connect must be enabled on your account.
The `enableLog` setting in the Connect configuration must be set to **true** to enable logging.
If logging is not enabled, then no log entries are recorded.'
operationId: ConnectLog_GetConnectLog
parameters:
- name: accountId
in: path
description: The external account number (int) or account ID GUID.
required: true
schema:
type: string
- name: logId
in: path
description: The ID of the Connect log entry.
required: true
schema:
type: string
- name: additional_info
in: query
description: When **true,** the response includes the `connectDebugLog` information.
required: false
schema:
type: string
responses:
'200':
description: Successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/connectLog'
'400':
description: Error encountered.
content:
application/json:
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: getEventLog
x-ds-method: get
x-ds-service: Connect
x-ds-in-sdk: true
delete:
tags:
- ConnectEvents
summary: Deletes a specified Connect log entry
description: 'Deletes a specified entry from the Connect Log.
To use this method, you must be an account administrator
and Connect must be enabled on your account.'
operationId: ConnectLog_DeleteConnectLog
parameters:
- name: accountId
in: path
description: The external account number (int) or account ID GUID.
required: true
schema:
type: string
- name: logId
in: path
description: The ID of the Connect log entry. Use `all` to delete all entries for the account.
required: true
schema:
type: string
responses:
'200':
description: Successful response.
'400':
description: Error encountered.
content:
application/json:
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: deleteEventLog
x-ds-method: delete
x-ds-service: Connect
x-ds-in-sdk: true
components:
schemas:
errorDetails:
type: object
properties:
errorCode:
type: string
description: An error code associated with the error.
message:
type: string
description: A short error message.
description: This object describes errors that occur. It is only valid for responses, and ignored in requests.
x-ds-definition-name: errorDetails
x-ms-summary: This object describes errors that occur. It is only valid for responses, and ignored in requests.
connectFailureFilter:
type: object
properties:
envelopeIds:
type: array
description: ''
items:
type: string
synchronous:
type: string
description: ''
description: ''
x-ds-definition-name: connectFailureFilter
x-ms-summary: ''
connectDebugLog:
type: object
properties:
connectConfig:
type: string
description: ''
errorDetails:
$ref: '#/components/schemas/errorDetails'
eventDateTime:
type: string
description: ''
eventDescription:
type: string
description: ''
payload:
type: string
description: ''
description: ''
x-ds-definition-name: connectDebugLog
x-ms-summary: ''
connectLog:
type: object
properties:
accountId:
type: string
description: The account ID associated with the envelope.
configUrl:
type: string
description: The web address of the listener or Retrieving Service end point for Connect.
connectDebugLog:
type: array
description: 'A complex element containing information about the Connect configuration, error details, date/time, description and payload.
This is only included in the response if the query additional_info=true is used.'
items:
$ref: '#/components/schemas/connectDebugLog'
connectId:
type: string
description: The identifier for the Connect configuration that failed. If an account has multiple Connect configurations, this value is used to look up the Connect configuration for the failed post.
created:
type: string
description: The date and time the entry was created.
email:
type: string
description: The email that sent the envelope.
envelopeId:
type: string
description: The envelope ID of the envelope status that failed to post.
error:
type: string
description: The error that caused the Connect post to fail.
failureId:
type: string
description: The failure log ID for the failure.
failureUri:
type: string
description: The URI for the failure.
lastTry:
type: string
description: The date and time the last attempt to post.
logId:
type: string
description: The Connect log ID for the entry.
logUri:
type: string
description: The URI for the log item.
retryCount:
type: string
description: The number of times the Connect post has been retried.
retryUri:
type: string
description: The UEI to retry to publish the Connect failure.
status:
type: string
description: 'The new envelope status for the failed Connect post. The possible values are: Any, Voided, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut, Template, or Processing.'
subject:
type: string
description: The envelope subject.
userName:
type: string
description: The name of the envelope sender.
description: ''
x-ds-definition-name: connectLog
x-ms-summary: ''
connectLogs:
type: object
properties:
failures:
type: array
description: An array of containing failure information from the Connect failure log.
items:
$ref: '#/components/schemas/connectLog'
logs:
type: array
description: 'A complex type containing Connect log information. It is divided into two sections, one for regular logs and one for Connect failures. '
items:
$ref: '#/components/schemas/connectLog'
totalRecords:
type: string
description: Record count.
type:
type: string
description: 'Type of the user. Valid values: type_owner, type_participant.'
description: ''
x-ds-definition-name: connectLogs
x-ms-summary: ''
connectFailureResult:
type: object
properties:
configId:
type: string
description: Reserved for DocuSign.
configUrl:
type: string
description: 'Reserved for DocuSign.
'
envelopeId:
type: string
description: The envelope ID of the envelope status that failed to post.
status:
type: string
description: Connection status.
statusMessage:
type: string
description: Connection status message.
description: ''
x-ds-definition-name: connectFailureResult
x-ms-summary: ''
connectFailureResults:
type: object
properties:
retryQueue:
type: array
description: ''
items:
$ref: '#/components/schemas/connectFailureResult'
description: ''
x-ds-definition-name: connectFailureResults
x-ms-summary: ''
connectDeleteFailureResult:
type: object
x-ds-definition-name: connectDeleteFailureResult
description: ''
x-ms-summary: ''
externalDocs:
description: See the DocuSign REST API Guide for more information.
url: https://docs.docusign.com/esign
x-ds-allow-editing: false
x-ds-categories:
- name: Authentication
summary: Logging in and authentication
description: 'Use the Authentication category to manage various account login tasks including:
* Getting login information for a user.
* Managing linked social accounts.
* Getting and revoking OAuth tokens.'
- name: Envelopes
summary: Creating and sending envelopes
description: 'The DocuSign API Envelope category includes the resources and methods for sending and managing envelopes and envelope data.
Envelopes are the key objects within the DocuSign eSignature system. As a result, they are complex data structures with few required fields. See the [API Recipes](https://www.docusign.com/developer-center/recipes) for use case examples and their solutions.
To create and send envelopes, see the [Envelopes resource](Envelopes).
'
- name: Connect
summary: Connect configuration and logging
description: "The Connect category enables your application to be called via HTTPS when an event of interest occurs.\n\nUse the Connect service to \"end the polling madness.\" With Connect, there is no need for your application to poll DocuSign every 15 minutes to learn the latest about your envelopes.\n\nInstead, you register your interest in one or more types of envelope or recipient events. Then, when an interesting event occurs, the DocuSign platform will contact your application with the event's details and data. You can register interest in envelopes sent by particular users in your account, or for envelopes sent by any user.\n\n## Incoming Connect Calls\nTo use the Connect service, your application needs to provide an https url that can be called from the public internet. If your application runs on a server behind your organization's firewall, then you will need to create a \"pinhole\" in the firewall to allow the incoming Connect calls from DocuSign to reach your application. Other techniques for receiving the incoming calls including proxy servers and DMZ networking can also be used. \n\n## Per-envelope Connect Configuration\nInstead of registering a general Connect configuration and listener, an individual envelope can have its own Connect configuration. See the `eventNotification` field for envelopes.\n\n## Categories\nUse the Connect category for:\n\n* Programmatically creating Connect configurations. Connect configurations can be created manually by using the DocuSign web service, or programmatically via the API. Configurations created via the API can be seen and updated from the web service.\n* Retrieving and managing the event log for your Connect configurations. \n* Requesting that an event be re-published to the listener."
# --- truncated at 32 KB (35 KB total) ---
# Full source: https://artifacts.apis.io/docusign/openapi/docusign-connectevents-api-openapi.yml