Send Contracts
Send Contracts with API
POST
https://appapi.cloudsign.pro/api/v1/api-send-contract
This API endpoint helps to add data in the document and send contract through the URL generated. In this API you can pre-fill all the necessary information from API, and we will process the data in the document. This saves lots of time and the processing is very fast.
Headers
Authorization*
Bearer youraccesstoken
x-api-key*
703f3cf9-333d-499f-112k-722f77ed3c34
Request Body
template_id*
8204af9d-fe98-431e-af81-ff8a73f4faf9
is_mobile_send*
1
alpha_name*
user1
alpha_email*
user1@mail.com
beta_name*
user2
beta_email*
user2@mail.com
text_1*
This is data is for testing purpose
gender_2*
Male
address_3*
123 cloudsign testing
For sending data through API and processing, you will need to enter in the template_id and any other necessary information into the required fields.
The Authorization parameter specified in the endpoint must match the authenticated user's api-access-token.
Enter the Authorization token which you received from the Authentication API endpoint:
https://appapi.cloudsign.pro/api/v1/auth/api-access-token ("access_token") Add a string "Bearer" before writing the token. Then you will enter the x-api-key which you entered as "client_id" when you use the api-access-token API endpoint.
After sending the parameters in JSON click Send API Request, to get the response.
If the response is successful, you will get a status code of 200Otherwisese you will get a status code of 4XX or a similar error code as the status code. If you get 4XX please recheck your credentials or enter the necessary key in JSON as prompted.
You can also upload a contract and with pre-filled data by using the CURL or other similar options available in the drop-down. Copy the Request Sample CURL change the parameter inside the string and pass the URL. You will get the response shown in the Response Example.
Once you get 200 as the status code, you receive all the details in JSON inside "data" in the response. When working on other sections of Cloudsign API you will need the access_token as the authentication token.
Limitations:
While working with Cloudsign API Keys, the following limitations may apply:
API keys cannot be transferred between Cloudsign accounts.
The maximum number of API keys per account are limited.
An API key is set to expire within a certain time frame. You can see the time in expires_in response.
Last updated