Audience

Update a property

Update the property's fallback value. The name and type fields cannot be changed (they would orphan data on existing contacts). If the request body contains no recognized fields, the property is returned unchanged with a 200 response. Requires the audience:write scope and is blocked for sandbox API keys.

patch/audience/properties/{propertyId}

Request

  • Base URL: https://app.lettr.com/api
  • URL: https://app.lettr.com/api/audience/properties/{propertyId}
  • Auth: HTTP bearer

Path parameters

propertyIdstring uuid required

Property ID

Request body

fallback_valuestring nullable

Example request

{
  "fallback_value": "Friend"
}

Response

Updated

messagestring required

Example response

{
  "message": "Property retrieved successfully.",
  "data": {
    "name": "first_name",
    "type": "string",
    "fallback_value": "Friend"
  }
}

Changes

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