Contact properties

Create a contact property

Changed on

Create a custom contact property.

post/v1/contacts/properties

Request

  • Base URL
    https://app.loops.so/api
  • Auth
    HTTP bearer

Request body

namestring required

The name of the property. This should be in camelCase, like planName or importDate.

type'string' | 'number' | 'boolean' | 'date' required

The type of property.

Example request

{
  "name": "favoriteColor",
  "type": "string"
}

Response

Successful create.

successboolean required

Example response

{
  "success": true
}

Changes

    • info

      api operation id createContactProperty was added

    • breaking

      request property was restricted to a list of enum values

    • info

      added the new boolean enum value to the request property

    • info

      added the new date enum value to the request property

    • info

      added the new number enum value to the request property

    • info

      added the new string enum value to the request property