# Create configured Lead source

`source_channels.create_configured`

Create a signup link or Referral API source with client_settings.starting_experience and optional invitation default. Legacy Boolean selectors remain accepted. API sources support profile-only, intake, self-service matchmaking and deal application starts. The selected experience determines the API submission contract. An authorized human activates the key in API setup; this tool does not provision credentials. Signup links allow only one client experience. Check source-setting restrictions before enabling client self-service. Does not send invitations or create client work.

[Lead sources guide](https://docs.staging.levr.ai/mcp/resources/source_channels.md)

Availability depends on live discovery and your access to the record. Do not infer MCP calls from REST paths.

Operation: write. Required OAuth scopes: mcp.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "client_request_id": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "client_settings": {
      "additionalProperties": false,
      "anyOf": [
        {
          "required": [
            "starting_experience"
          ]
        },
        {
          "required": [
            "is_client_intake_enabled",
            "is_client_matchmaking_enabled",
            "is_client_direct_deal_creation_enabled"
          ]
        }
      ],
      "minProperties": 1,
      "properties": {
        "default_invite_client_on_submit": {
          "default": false,
          "description": "API submissions use this default when invite_on_submit is null or omitted; explicit true/false overrides it.",
          "type": "boolean"
        },
        "is_client_direct_deal_creation_enabled": {
          "deprecated": true,
          "description": "Legacy selector; prefer starting_experience=deal_application. Deal applications to this provider. New enabling requires a lender receiving profile and can_enable=true; an old automatic draft Deal is not eligibility.",
          "type": "boolean"
        },
        "is_client_intake_enabled": {
          "deprecated": true,
          "description": "Legacy selector; prefer starting_experience=client_intake. Create client intake for new businesses. For signup links, disable matching and direct when selecting intake.",
          "type": "boolean"
        },
        "is_client_matchmaking_enabled": {
          "deprecated": true,
          "description": "Legacy selector. Prefer starting_experience=matchmaking; existing client access is managed per relationship.",
          "type": "boolean"
        },
        "starting_experience": {
          "description": "How new businesses start. Does not change existing clients' matchmaking access.",
          "enum": [
            "business_profile",
            "client_intake",
            "deal_application",
            "matchmaking"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "name": {
      "maxLength": 255,
      "minLength": 1,
      "pattern": "\\S",
      "type": "string"
    },
    "primary_contact_email": {
      "format": "email",
      "maxLength": 254,
      "type": "string"
    },
    "primary_contact_name": {
      "maxLength": 255,
      "type": "string"
    },
    "provider_slug": {
      "description": "Copy provider_slug from providers.list; named slugs are valid.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "type": {
      "enum": [
        "business_signup_link",
        "referrer_api"
      ],
      "type": "string"
    }
  },
  "required": [
    "provider_slug",
    "type",
    "name",
    "client_request_id",
    "client_settings"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "not": {
        "required": [
          "error"
        ]
      },
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "data"
      ]
    },
    {
      "not": {
        "required": [
          "data"
        ]
      },
      "properties": {
        "ok": {
          "const": false
        }
      },
      "required": [
        "error"
      ]
    }
  ],
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "can_configure_client_settings": {
          "description": "Whether the source type supports editing; owner/support authorization is still required.",
          "type": "boolean"
        },
        "configured": {
          "additionalProperties": false,
          "properties": {
            "default_invite_client_on_submit": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "is_client_direct_deal_creation_enabled": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "is_client_intake_enabled": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "is_client_matchmaking_enabled": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "is_client_intake_enabled",
            "is_client_matchmaking_enabled",
            "is_client_direct_deal_creation_enabled",
            "default_invite_client_on_submit"
          ],
          "type": "object"
        },
        "effective": {
          "additionalProperties": false,
          "properties": {
            "default_invite_client_on_submit": {
              "type": "boolean"
            },
            "is_client_direct_deal_creation_enabled": {
              "type": "boolean"
            },
            "is_client_intake_enabled": {
              "type": "boolean"
            },
            "is_client_matchmaking_enabled": {
              "type": "boolean"
            }
          },
          "required": [
            "is_client_intake_enabled",
            "is_client_matchmaking_enabled",
            "is_client_direct_deal_creation_enabled",
            "default_invite_client_on_submit"
          ],
          "type": "object"
        },
        "id": {
          "description": "Stable public identifier for the referenced resource.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "initial_journey": {
          "additionalProperties": false,
          "properties": {
            "mode": {
              "enum": [
                "intake",
                "direct",
                "matchmaking",
                "provider_led"
              ],
              "type": "string"
            },
            "source": {
              "const": "source_channel",
              "type": "string"
            }
          },
          "required": [
            "mode",
            "source"
          ],
          "type": "object"
        },
        "initial_journey_restriction": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "allowed_modes": {
                  "items": {
                    "enum": [
                      "intake",
                      "direct",
                      "matchmaking",
                      "provider_led"
                    ],
                    "type": "string"
                  },
                  "maxItems": 4,
                  "type": "array"
                },
                "reason": {
                  "maxLength": 500,
                  "type": "string"
                }
              },
              "required": [
                "allowed_modes",
                "reason"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "invitation_default_is_active": {
          "type": "boolean"
        },
        "restrictions": {
          "additionalProperties": false,
          "properties": {
            "is_client_direct_deal_creation_enabled": {
              "additionalProperties": false,
              "properties": {
                "can_enable": {
                  "description": "Whether an off source can enable this option; existing enabled sources stay available.",
                  "type": "boolean"
                },
                "is_locked": {
                  "description": "Management or source type prevents new enabling. Check can_configure_client_settings before any edit.",
                  "type": "boolean"
                },
                "provider_can_change": {
                  "description": "Whether management and this source type permit newly enabling this option.",
                  "type": "boolean"
                },
                "value": {
                  "description": "Current effective source choice, including retained enabled choices.",
                  "type": "boolean"
                }
              },
              "required": [
                "value",
                "is_locked",
                "provider_can_change",
                "can_enable"
              ],
              "type": "object"
            },
            "is_client_matchmaking_enabled": {
              "additionalProperties": false,
              "properties": {
                "can_enable": {
                  "description": "Whether an off source can enable this option; existing enabled sources stay available.",
                  "type": "boolean"
                },
                "is_locked": {
                  "description": "Management or source type prevents new enabling. Check can_configure_client_settings before any edit.",
                  "type": "boolean"
                },
                "provider_can_change": {
                  "description": "Whether management and this source type permit newly enabling this option.",
                  "type": "boolean"
                },
                "value": {
                  "description": "Current effective source choice, including retained enabled choices.",
                  "type": "boolean"
                }
              },
              "required": [
                "value",
                "is_locked",
                "provider_can_change",
                "can_enable"
              ],
              "type": "object"
            }
          },
          "required": [
            "is_client_matchmaking_enabled",
            "is_client_direct_deal_creation_enabled"
          ],
          "type": "object"
        },
        "revision": {
          "description": "Opaque configuration revision returned by a Lead source read.",
          "pattern": "^[a-f0-9]{64}$",
          "type": "string"
        },
        "starting_experience": {
          "description": "How new businesses start. Does not change existing clients' matchmaking access.",
          "enum": [
            "business_profile",
            "client_intake",
            "deal_application",
            "matchmaking"
          ],
          "type": "string"
        }
      },
      "required": [
        "id",
        "revision",
        "can_configure_client_settings",
        "configured",
        "effective",
        "restrictions",
        "initial_journey",
        "invitation_default_is_active"
      ],
      "type": "object"
    },
    "error": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": true,
          "description": "Optional bounded, agent-safe correction or recovery facts.",
          "type": "object"
        },
        "message": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "request_id"
      ],
      "type": "object"
    },
    "ok": {
      "description": "Whether the tool completed successfully.",
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "meta"
  ],
  "type": "object"
}
```

Check the result, then read the affected record to confirm your change.
