# Send template

- **URL:** https://marketplace.gohighlevel.com/docs/ghl/proposals/send-documents-contracts-template
- **Summary:** Send template to a client

[Skip to main content](https://marketplace.gohighlevel.com/docs/ghl/proposals/send-documents-contracts-template#__docusaurus_skipToContent_fallback)

Version: v3

Send template
=============

POST 

https://services.leadconnectorhq.com/proposals/templates/send

Copy for LLMView as MarkdownOpen in ClaudeOpen in ChatGPTOpen in Cursor

Send template to a client

### Requirements

#### Auth Method(s)

`OAuth Access Token``Private Integration Token`

#### Token Type(s)

`Sub-Account Token``Agency Token`

Request[​](https://marketplace.gohighlevel.com/docs/ghl/proposals/send-documents-contracts-template#request "Direct link to request")

### Header Parameters

**Version** stringrequired

**Possible values:** \[`v3`\]

API Version

*   application/json

*   Body
*   Example (auto)

### Body**required**

**templateId**stringrequired

Template Id

**Example:** `hTlkh7t8gujsahgg93`

**userId**stringrequired

User Id

**Example:** `hTlkh7t8gujsahgg93`

**sendDocument**boolean

Send Document

**Example:** `true`

**locationId**stringrequired

Location Id

**Example:** `hTlkh7t8gujsahgg93`

**contactId**stringrequired

Contact Id

**Example:** `hTlkh7t8gujsahgg93`

**opportunityId**string

Opportunity Id

**Example:** `hTlkh7t8gujsahgg93`

    {  "templateId": "hTlkh7t8gujsahgg93",  "userId": "hTlkh7t8gujsahgg93",  "sendDocument": true,  "locationId": "hTlkh7t8gujsahgg93",  "contactId": "hTlkh7t8gujsahgg93",  "opportunityId": "hTlkh7t8gujsahgg93"}

Responses[​](https://marketplace.gohighlevel.com/docs/ghl/proposals/send-documents-contracts-template#responses "Direct link to Responses")

*   200
*   400

Document sent successfully

*   application/json

*   Schema
*   Example (auto)

**Schema**

**success**booleanrequired

Success status

**Example:** `true`

**links** object\[\]required

Links for all recipients

*   Array \[\
    \
\
**referenceId**stringrequired\
\
Reference ID\
\
**Example:** `550e8400-e29b-41d4-a716-446655440000`\
\
**documentId**stringrequired\
\
Document ID\
\
**Example:** `c1e87a91-93b2-4b78-821f-85cf0e1f925b`\
\
**recipientId**stringrequired\
\
Recipient ID\
\
**Example:** `u240JcS0E5qE0ziHnwMm`\
\
**entityName**stringrequired\
\
Entity name that the recipient belongs to\
\
**Possible values:** \[`contacts`, `users`\]\
\
**Example:** `contacts`\
\
**recipientCategory**stringrequired\
\
Recipient category (recipient, cc, or bcc)\
\
**Possible values:** \[`recipient`, `cc`, `bcc`\]\
\
**Example:** `recipient`\
\
**documentRevision**numberrequired\
\
Document revision number\
\
**Example:** `1`\
\
**createdBy**stringrequired\
\
Created by user ID\
\
**Example:** `b6d8fa28-1112-4dc7-b9d2-f22b75a477ea`\
\
**deleted**booleanrequired\
\
Whether the document is deleted\
\
**Example:** `false`\
\
*   \]
    

    {  "success": true,  "links": [    {      "referenceId": "550e8400-e29b-41d4-a716-446655440000",      "documentId": "c1e87a91-93b2-4b78-821f-85cf0e1f925b",      "recipientId": "u240JcS0E5qE0ziHnwMm",      "entityName": "contacts",      "recipientCategory": "recipient",      "documentRevision": 1,      "createdBy": "b6d8fa28-1112-4dc7-b9d2-f22b75a477ea",      "deleted": false    }  ]}

Unprocessable Entity

*   application/json

*   Schema
*   Example (auto)

**Schema**

**statusCode**number

**Example:** `400`

**message**string

**Example:** `Bad Request`

    {  "statusCode": 400,  "message": "Bad Request"}

Share your feedback
-------------------

★★★★★

#### Authorization: Authorization

**name:** [Authorization](https://marketplace.gohighlevel.com/docs/ghl/proposals/documents-and-contracts-api#authentication)
**type:** http**scheme:** bearer**bearerFormat:** JWT**in:** header**description:** Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

*   curl
*   nodejs
*   python
*   php
*   java
*   go
*   ruby
*   powershell

*   CURL

    curl -L 'https://services.leadconnectorhq.com/proposals/templates/send' \-H 'Content-Type: application/json' \-H 'Accept: application/json' \-H 'Authorization: Bearer <Authorization>' \-d '{  "templateId": "hTlkh7t8gujsahgg93",  "userId": "hTlkh7t8gujsahgg93",  "sendDocument": true,  "locationId": "hTlkh7t8gujsahgg93",  "contactId": "hTlkh7t8gujsahgg93",  "opportunityId": "hTlkh7t8gujsahgg93"}'

RequestCollapse all

Base URL

Edit

https://services.leadconnectorhq.com

Auth

Security SchemeLocation-AccessAgency-Access

Bearer Token

Parameters

Version — headerrequired\---v3

Body required

{
  "templateId": "hTlkh7t8gujsahgg93",  "userId": "hTlkh7t8gujsahgg93",  "sendDocument": true,  "locationId": "hTlkh7t8gujsahgg93",  "contactId": "hTlkh7t8gujsahgg93",  "opportunityId": "hTlkh7t8gujsahgg93"
}
Send API Request

ResponseClear

Click the `Send API Request` button above and see the response here!
