Skip to the page

List contact properties

The properties of the workspace, newest first, with their types and fallbacks.

opensend.contactProperties.list(input?)
Needs the scopeaudiences:readFrom a terminalopensend contact-properties list

Input

  • qstring

    Text to search for. Only items that contain it are returned. Up to 40 characters.

  • limitinteger

    How many items to return, from 1 to 100. Without it you get 25.

  • offsetinteger

    How many items to skip. Use it with limit to read the next page. Default: 0.

  • afterstring

    The id of the last item you have. The answer starts with the item that follows it, which reads a long list without skipping or repeating when it changes meanwhile. Up to 64 characters.

  • beforestring

    The id of the first item you have. The answer ends with the item just before it. Give this or after, not both. Up to 64 characters.

Returns

The call resolves to the answer, already parsed. A call the API refuses throws OpenSendError with the code and the message of the answer. SDK lists the errors of the client itself.

  • object"list"

    Always list.

  • dataobject[]

    The items on this page.

  • data[].object"contact_property"

    Always contact_property.

  • data[].idstring

    The id of the property.

  • data[].keystring

    The name contacts hold a value under, and the name of its {{slot}}.

  • data[].typestring

    What its values are: string, number or boolean.

    One ofstringnumberboolean

  • data[].fallbackstring | number | boolean | null

    What fills its slot for a contact with no value, or null.

  • data[].createdAtstring

    When the property was made.

  • totalinteger

    How many items match in all, on every page together.

  • hasMoreboolean

    Whether more items follow this page.