curl -X POST 'https://api.sendforsign.com/api/recipient' \
     -H 'Authorization: Bearer 123456789' \
     -H 'Content-Type: application/json' \
     -d '{ 
		  "data": {
				   "action": "create",
				   "contractKey": "CONTRACT_KEY",
           "recipients":[{
                "action": "view",
                "customMessage": "Custom message text",
                "fullname": "John Johnson", 
                "email": "john_johnson@mail.com", 
                "position": 1
               }], 
				  }
       }'
     {
       "result": true,
       "code": "200",
       "message": "Recipient created"
    }
One way to add recipients to a contract is when you send a contract. See this page to learn more. If you need to add a recipient to a contract without sending it, use the request below.

Body parameters

action
string
required
Action type.
userKey
string
ID of the user who is sending the contract. If not specified, the default user credentials will be used.
contractKey
string
required
ID of the contract.
recipients
string
Array of recipients, optional.

Response

result
boolean
Status.
code
string
The code of the answer.
message
string
The message of the answer.
curl -X POST 'https://api.sendforsign.com/api/recipient' \
     -H 'Authorization: Bearer 123456789' \
     -H 'Content-Type: application/json' \
     -d '{ 
		  "data": {
				   "action": "create",
				   "contractKey": "CONTRACT_KEY",
           "recipients":[{
                "action": "view",
                "customMessage": "Custom message text",
                "fullname": "John Johnson", 
                "email": "john_johnson@mail.com", 
                "position": 1
               }], 
				  }
       }'
     {
       "result": true,
       "code": "200",
       "message": "Recipient created"
    }