Contact properties

Declare a contact property

Declaring a property is optional — one that arrives on a contact write without ever being declared registers itself as a string. Declaring it is what gives it a type and a fallback value. The key and type are fixed at creation.

post/contact-properties

Request

  • Base URL: https://api.eusend.dev
  • URL: https://api.eusend.dev/contact-properties
  • Auth: HTTP bearer

Request body

keystring required

Lowercase letters, digits and underscores, starting with a letter. email, name, first_name, last_name and full_name are built in and are rejected here. Cannot be changed after creation.

type'string' | 'number'

Checked when a contact is written. Values are carried and rendered as strings either way — number is a validation rule, not a formatting instruction. Cannot be changed after creation.

fallback_valuestring nullable

Response

Created.

idstring uuid required
keystring required
type'string' | 'number' required
fallbackValuestring nullable required

Substituted into {{key}} for contacts carrying no value of their own. null renders empty.

createdAtstring date-time required
updatedAtstring date-time nullable

Changes

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