Leads

Create or update a custom lead field definition

Keyed by field name. A name that already exists updates that definition instead of adding a duplicate.

API key scopes: leads:write. You also need an Idempotency-Key header.

post/api/leads/field-definitions

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/leads/field-definitions
  • Auth: one of:
    • API key in cookie luca.session_token
    • API key in header x-api-key
    • HTTP bearer

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Request body

keystring required
labelstring required
type'text' | 'number' | 'boolean' | 'date' | 'select'
optionsobject

Response

ok

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.