Create a case type

POST /api/v1/cases-type

Headers

application/json

Body Required

  • name string Required

    name of the type

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the type

    • name string

      Name of the type

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

POST /api/v1/cases-type
curl \
 -X POST https://api.plannrcrm.com/api/v1/cases-type \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -d '{"name":"Mortgage Plan"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json

# Payload
{
  "name": "Mortgage Plan"
}
Response examples (200)
{
  "name": "Mortgage Plan",
  "uuid": "6726ce6a-6e30-4de9-8abf-0932518d8e01",
  "created_at": "2025-01-17T11:18:29+00:00",
  "updated_at": "2025-01-17T11:18:29+00:00"
}