A contact attribute.
| Attribute | Type | Description |
|---|---|---|
| label | string | The human-readable name of the attribute, as shown in Podium. Renaming the attribute changes this value; use uid as the stable identifier. |
| options | array | The options a contact may be given for a SINGLE_SELECT or MULTI_SELECT attribute, in display order. Use an option's label as the attribute value when writing. Null for other data types and for organizations whose options are not exposed yet. |
| options[].label | string | The display label of the option. |
| uid | string | Podium unique identifier for attribute. |
| createdAt | string | Time at which the resource was created. Date time is in Coordinated Universal Time (UTC). |
| updatedAt | string | Time at which the resource was updated. Date time is in Coordinated Universal Time (UTC). |
| dataType | string | The data type of the attribute value Possible values: ["ADDRESS", "BOOLEAN", "DATETIME", "FLOAT", "INTEGER", "STRING", "UUID", "SINGLE_SELECT", "MULTI_SELECT"] |
| isEncrypted | boolean | If the attribute is encrypted it cannot be used as a filter. Attributes that will have sensitive information, such as PII or PHI, should be encrypted. |
| ownerResource.type | string | The scope the attribute belongs to: ORGANIZATION, PRODUCT (an application) or INTEGRATION. |
| ownerResource.uid | string | Podium unique identifier for the owner: an organization, application or integration uid. |
{
"label": "Internal Contact ID",
"options": [
{
"label": "Metal"
}
],
"uid": "00000000-0000-0000-0000-000000000000",
"createdAt": "2015-01-23T23:50:07Z",
"updatedAt": "2015-01-23T23:50:07Z",
"dataType": "ADDRESS",
"isEncrypted": false,
"ownerResource": {
"type": "ORGANIZATION",
"uid": "00000000-0000-0000-0000-000000000000"
}
}