Create a document pack
Headers
-
Content-Type string
-
Accept string
Body Required
-
Name of the document pack.
-
Short description of the document pack.
-
is_template boolean
Denotes whether document pack is a template or not.
POST /api/v1/document-pack/document-pack
curl \
-X POST https://api.plannrcrm.com/api/v1/document-pack/document-pack \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name":"Terms and Conditions","description":"Terms and Conditions for our services","is_template":true}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"name": "Terms and Conditions",
"description": "Terms and Conditions for our services",
"is_template": true
}
Response examples (200)
{
"data": [
{
"name": "Name of Document Pack",
"uuid": "4e8a7f1e-782e-4818-b5d3-12d612445eb1",
"created_at": "2024-11-20T13:24:02+00:00",
"updated_at": "2024-11-20T13:24:02+00:00",
"description": "Description of Document Pack",
"is_template": "Is Document Pack a template"
}
]
}