curl -X POST 'https://api.sendforsign.com/v1/client' \
     -H 'X-Sendforsign-Key: YOUR_API_KEY' \
     -H 'Content-Type: application/json' \
     -d '{ 
		  "data": {
				   "action": "create",
				   "client": {
							  "fullname": "John Johnson",
							  "email": "john_johnson@mail.com",
							  "organization": "Company Inc.",
							  "customKey": "YOUR_COMBINATION",
							  "users": [{
								"fullname": "John Johnson",
							    "email": "john_johnson@mail.com", 
							    "customKey": "YOUR_COMBINATION",
							  }]
						     }
				  }
       }'
     {
       "client": {
                "createTime": "2023-12-01 12:18:55",
                "clientKey": "CLIENT_KEY",
				"users": [{
					"createTime": "2023-12-01 12:18:55",
					"default": true,
					"userKey": "USER_KEY",
				}]
                 },
       "code": "201",
       "message": "Client created"
    }

Body parameters

action
string
required

Action type.

client
string
required

Structure, at least one of the fields must be filled.

Response

client
string

Client structure.

code
string

The code of the answer.

message
string

The message of the answer.

curl -X POST 'https://api.sendforsign.com/v1/client' \
     -H 'X-Sendforsign-Key: YOUR_API_KEY' \
     -H 'Content-Type: application/json' \
     -d '{ 
		  "data": {
				   "action": "create",
				   "client": {
							  "fullname": "John Johnson",
							  "email": "john_johnson@mail.com",
							  "organization": "Company Inc.",
							  "customKey": "YOUR_COMBINATION",
							  "users": [{
								"fullname": "John Johnson",
							    "email": "john_johnson@mail.com", 
							    "customKey": "YOUR_COMBINATION",
							  }]
						     }
				  }
       }'
     {
       "client": {
                "createTime": "2023-12-01 12:18:55",
                "clientKey": "CLIENT_KEY",
				"users": [{
					"createTime": "2023-12-01 12:18:55",
					"default": true,
					"userKey": "USER_KEY",
				}]
                 },
       "code": "201",
       "message": "Client created"
    }