Create a lead status Run in API Explorer

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.plannrcrm.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "PlannrCRM MCP server": {
    "url": "https://apidocs.plannrcrm.com/mcp"
  }
}

Close
POST /api/v1/lead-statuses

The status is added at the end of the firm's order, unarchived and not the default.

Headers

  • X-PLANNR-ACCOUNT-UUID string
application/json

Body

  • name string Required

    Name of the lead status. Must be unique within the firm.

    Maximum length is 255.

  • colour string Required

    Hex colour of the lead status.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string
    • name string
    • colour string
    • position integer
    • is_default boolean
    • archived boolean
    • created_at string
    • updated_at string
  • 403 application/json

    Unauthorized

    Hide response attribute Show response attribute object
    • message string Required

      A human-readable description of the error.

  • 422 application/json

    Validation error

    Hide response attributes Show response attributes object
    • message string Required

      A human-readable description of the error.

    • errors object

      Validation messages keyed by the field that failed.

      Hide errors attribute Show errors attribute object
      • * array[string] Additional properties
POST /api/v1/lead-statuses
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/lead-statuses' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{
  "name": "Qualified",
  "colour": "#23852B"
}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "name": "Qualified",
  "colour": "#23852B"
}
Response examples (200)
[
  {
    "uuid": "ee553bb1-ddd3-433d-b636-1b33fd9c12d9",
    "name": "Contacted",
    "colour": "#23852B",
    "position": 2,
    "is_default": false,
    "archived": false,
    "created_at": "2026-11-24T16:44:29+00:00",
    "updated_at": "2026-11-24T16:44:29+00:00"
  }
]
Response examples (403)
{
  "message": "This action is unauthorized."
}
Response examples (422)
{
  "message": "The name field is required. (and 1 more error)",
  "errors": {
    "name": [
      "The name field is required."
    ],
    "colour": [
      "The colour field is required."
    ]
  }
}
{
  "message": "The name has already been taken.",
  "errors": {
    "name": [
      "The name has already been taken."
    ]
  }
}
{
  "message": "The colour has to be a valid hex color.",
  "errors": {
    "colour": [
      "The colour has to be a valid hex color."
    ]
  }
}