Attributes
Create a select option
Changed onAdds a select option to a select attribute on an object, a list or an activity.
When target is objects, the required scopes are object_configuration:read-write. When target is lists, the required scopes are list_configuration:read-write. When target is activities, the required scopes are activity_configuration:read-write.
Supported token levels: workspace, user.
post/v2/{target}/{identifier}/attributes/{attribute}/options
Request
- Base URLhttps://api.attio.com
- URLhttps://api.attio.com/v2/{target}/{identifier}/attributes/{attribute}/options
- AuthOAuth 2Authorization code: https://app.attio.com/authorizeToken URL: https://app.attio.com/oauth/token
Path parameters
target'objects' | 'lists' | 'activities' required
Whether the attribute is on an object, a list or an activity.
Example:lists
identifierstring required
A UUID or slug to identify the object, list or activity the select attribute belongs to.
Example:33ebdbe9-e529-47c9-b894-0ba25e9c15c0
attributestring required
A UUID or slug to identify the attribute to create a select option on.
Example:41252299-f8c7-4b5e-99c9-4ff8321d2f96
Request body
Example request
{
"data": {
"title": "Medium"
}
}Response
Success
Example response
{
"data": {
"id": {
"workspace_id": "14beef7a-99f7-4534-a87e-70b564330a4c",
"object_id": "97052eb9-e65e-443f-a297-f2d9a4a7f795",
"attribute_id": "41252299-f8c7-4b5e-99c9-4ff8321d2f96",
"option_id": "08c2c59a-c18e-40c6-8dc4-95415313b2ea"
},
"title": "Medium"
}
}Changes
- info
added the new enum value
activitiesto thepathrequest parametertarget
- info
- info
added the non-success response with the status
- info