Get signatures for a form.

GET https://aws.consentgrid.io/v1/esign/form/{formId}/signatures?onlyActive=true&from=n&max=m

Loads the signatures of the form. If onlyActive=false, both active and canceled signatures are returned. If onlyActive=true or if it is omitted, only active signatures are returned.

This API limits the signatures that can be returned to 100. If there are more signatures, use the paging parameters from and max to retrieve the other signatures.

Response

200 Ok
{
  "total": 3,
  "signatures": [
    {
       "id": "sign_238784-3287384095873",
       "active": true,
       "subject":{
         "type": "user",
         "id": "3878398-397484"
       },
       "by":{
         "type": "user",
         "id": "3878398-397484"
       },
       "signed":"2019-01-02T15:04:05Z07:00"
       "canceled": "2006-01-02T15:04:05Z07:00",
       "sig": "2387887eaf476303948afe"
    },
    ...
  ]
} 
400 Bad Request

Malformed request, invalid value, etc. The return value is a JSON error object containing diagnostic information.

403 Forbidden

The authenticated key does not have the privileges for this operation. The return value is a JSON error object containing diagnostic information.