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

US Data Center (default):

https://{subdomain}.rest.vitally.io/resources/customFields

EU Data Center:

https://rest.vitally-eu.io/resources/customFields

All task custom traits ordered alphabetically by label.

List Custom Fields GET

https://{subdomain}.rest.vitally.io/resources/customFields

US Data Center (default):

https://{subdomain}.rest.vitally.io/resources/customFields/notes

EU Data Center:

https://rest.vitally-eu.io/resources/customFields/notes

All Note custom traits are ordered alphabetically by label.

Params

All returned traits are ordered alphabetically by label.

Example Request

GET https://{subdomain}.rest.vitally.io/resources/customFields?model=users
GET https://{subdomain}.rest.vitally.io/resources/customFields?model=customObjects&customObjectId=XXXX

Example Response

[
  {
    "label": "Next step",
    "type": "textarea",
    "createdAt": "2020-12-11T20:16:27.370Z",
    "path": "vitally.custom.nextSteps"
  }
]

Last updated