REST API: Custom Traits
Replace {subdomain}
in the endpoints below with your Vitally subdomain.
You can find your subdomain in the URL used to log into Vitally (i.e., https://yoursubdomain.vitally.io
The Custom Trait object
Property | Description |
id | Vitally's unique ID for the trait |
createdAt | Datetime the trait was created |
label | The user-facing label/name for the trait |
path | The path (or key) to use when setting this trait via the API |
type | The data type of the trait (e.g. string, datetime, etc) |
options | If applicable, an array of any of the traits configured options |
US Data Center (default):
EU Data Center:
All task custom traits ordered alphabetically by label.
List Custom Fields GET
GET
US Data Center (default):
EU Data Center:
All Note custom traits are ordered alphabetically by label.
Params
Property | Type | Description | Required |
model |
| Accepts one of:
| Always |
customObjectId |
| The Vitally ID of the custom object to retrieve traits for | When |
All returned traits are ordered alphabetically by label.
Example Request
Example Response
Last updated