Create a document pack

POST /api/v1/document-pack/document-pack

Headers

application/json

Body Required

  • name string Required

    Name of the document pack.

  • description string Required

    Short description of the document pack.

  • Denotes whether document pack is a template or not.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]

      Additional properties are allowed.

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"
    }
  ]
}