Connect Events

Gets the Connect log

GET
/v2.1/accounts/{accountId}/connect/logs

Retrieves a list of the 100 most recent Connect log entries for your account.

The enableLog setting in the Connect configuration must be set to true to enable logging. Log entries are deleted after 15 days.

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

Query Parameters

from_date?string

The start date for a date range in UTC DateTime format.

Note: If this property is null, no date filtering is applied.

to_date?string

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.

Response Body

application/json

application/json

curl -X GET "https://example.com/v2.1/accounts/string/connect/logs"
{  "failures": [    {      "accountId": "string",      "configUrl": "string",      "connectDebugLog": [        {          "connectConfig": "string",          "errorDetails": {            "errorCode": "string",            "message": "string"          },          "eventDateTime": "string",          "eventDescription": "string",          "payload": "string"        }      ],      "connectId": "string",      "created": "string",      "email": "string",      "envelopeId": "string",      "error": "string",      "failureId": "string",      "failureUri": "string",      "lastTry": "string",      "logId": "string",      "logUri": "string",      "retryCount": "string",      "retryUri": "string",      "status": "string",      "subject": "string",      "userName": "string"    }  ],  "logs": [    {      "accountId": "string",      "configUrl": "string",      "connectDebugLog": [        {          "connectConfig": "string",          "errorDetails": {            "errorCode": "string",            "message": "string"          },          "eventDateTime": "string",          "eventDescription": "string",          "payload": "string"        }      ],      "connectId": "string",      "created": "string",      "email": "string",      "envelopeId": "string",      "error": "string",      "failureId": "string",      "failureUri": "string",      "lastTry": "string",      "logId": "string",      "logUri": "string",      "retryCount": "string",      "retryUri": "string",      "status": "string",      "subject": "string",      "userName": "string"    }  ],  "totalRecords": "string",  "type": "string"}