Skip to the page

Retrieve contact property

One property with its type and its fallback.

opensend.contactProperties.get(id)
Needs the scopeaudiences:readFrom a terminalopensend contact-properties get

Input

id goes first, on its own, and the rest in one object. One object that holds id works too.

  • idstringRequired

    The id of the item. 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"contact_property"

    Always contact_property.

  • idstring

    The id of the property.

  • keystring

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

  • typestring

    What its values are: string, number or boolean.

    One ofstringnumberboolean

  • fallbackstring | number | boolean | null

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

  • createdAtstring

    When the property was made.