Light APIv1.0.0

API / Reference / Custom Properties

Create custom property value

POST https://api.light.inc/v1/custom-properties/groups/{groupId}/values

Creates a new custom property value in the specified group

Authorization

Send one of these on every request. See Authentication for how to get credentials.

  • API key

    Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.

  • Bearer token

Path parameters

  • groupId string · uuidrequired

Request body

application/json;charset=UTF-8

  • internalName string

    Unique internal name for the custom property value.

  • label string

    Display label for the custom property value.

  • context string

    Optional context or description for the custom property value.

Response

  • id string · uuid

    Unique identifier for the object

  • groupId string · uuid

    ID of the custom property group

  • groupInternalName string

    Internal name of the custom property group

  • companyId string · uuid

    ID of the company

  • internalName string

    Internal name of the custom property value

  • label string

    Label of the custom property value

  • context string

    Context/description of the custom property value

  • createdAt string · date-time

    Timestamp when the custom property value was created

  • updatedAt string · date-time

    Timestamp when the custom property value was last updated