Client
Create client
- Introduction
- Account structure
- Authentication
- Implement server side
- Implement client side
- Create contract
- Create from template
- Create and send contract
- Create and fill in contract
- Update contract
- Read contract
- List of contracts
- Download PDF
- Create template
- Update template
- Convert into template
- Read template
- List of templates
- Delete template
- Email notifications
API Documentation
Contract
Template
Settings
Client
Create client
Create a new client.
curl -X POST 'https://api.sendforsign.com/api/client' \
-H 'Authorization: Bearer 123456789' \
-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"
}
All API calls related to the
/api/client
endpoint require a Platform Bearer Token
in the request header.Body parameters
action
string
requiredAction type.
client
required
Structure, at least one of the fields must be filled.
fullname
string
First and second names of the client.
email
string
Email of the client.
organization
string
Organization name.
customKey
string
Your custom key, if you don’t need to use any of the above fields.
users
string
Array of users, optional.
fullname
string
First and second names of the user.
email
string
Email of the user.
customKey
string
A custom user key, if you don’t need to use any of the above fields.
Response
client
string
Client structure.
createTime
string
Create time.
clientKey
string
ID of the client.
users
string
Array of users.
createTime
string
Create time.
default
string
The default user flag.
userKey
string
ID of the user.
code
string
The code of the answer.
message
string
The message of the answer.
curl -X POST 'https://api.sendforsign.com/api/client' \
-H 'Authorization: Bearer 123456789' \
-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"
}