curl -X POST 'https://api.sendforsign.com/api/contract' \ 
     -H 'Authorization: Bearer 123456789' \
     -H 'Content-Type: application/json' \
     -d '{ 
          "data": {
				   "action": "list"
				  }
     }'
	{
       "contracts": [

        {
            "createTime": "2024-11-25T08:07:23.000Z",
            "changeTime": "2024-11-25T08:07:25.000Z",
            "contractKey": "93447fb5-91ee-41ad-9f73-b4ae2d467292",
            "name": "IPPDF",
            "status": "Created"
        },
        {
            "createTime": "2024-11-18T13:27:21.000Z",
            "changeTime": "2024-11-21T11:29:47.000Z",
            "contractKey": "ac2a37e8-d5d6-4468-b1bb-29152a31d85d",
            "name": "A test contract",
            "status": "Created"
        }
        ],
       "code": "200",
       "message": "Contracts found"
    } 

Body parameters

action
string
required

Action type.

Response

contracts
string

Array of contracts.

code
string

The code of the answer.

message
string

The message of the answer.

curl -X POST 'https://api.sendforsign.com/api/contract' \ 
     -H 'Authorization: Bearer 123456789' \
     -H 'Content-Type: application/json' \
     -d '{ 
          "data": {
				   "action": "list"
				  }
     }'
	{
       "contracts": [

        {
            "createTime": "2024-11-25T08:07:23.000Z",
            "changeTime": "2024-11-25T08:07:25.000Z",
            "contractKey": "93447fb5-91ee-41ad-9f73-b4ae2d467292",
            "name": "IPPDF",
            "status": "Created"
        },
        {
            "createTime": "2024-11-18T13:27:21.000Z",
            "changeTime": "2024-11-21T11:29:47.000Z",
            "contractKey": "ac2a37e8-d5d6-4468-b1bb-29152a31d85d",
            "name": "A test contract",
            "status": "Created"
        }
        ],
       "code": "200",
       "message": "Contracts found"
    }