Adds a record to a list as a new list entry. This endpoint will throw on conflicts of unique attributes. Multiple list entries are allowed for the same parent record
Required scopes: list_entry:read-write, list_configuration:read.
643 matches
49 actions
Attio
49 actions
CRM/Attio
Adds a record to a list as a new list entry. This endpoint will throw on conflicts of unique attributes. Multiple list entries are allowed for the same parent record
Required scopes: list_entry:read-write, list_configuration:read.
{
"type": "object",
"properties": {
"data": {
"type": "object",
"required": [
"entry_values",
"parent_object",
"parent_record_id"
],
"properties": {
"entry_values": {
"type": "object",
"description": "An object with an attribute `api_slug` or `attribute_id` as the key, and a single value (for single-select attributes), or an array of values (for single or multi-select attributes) as the values. For complete documentation on values for all attribute types, please see our [attribute type docs](/docs/attribute-types)."
},
"parent_object": {
"type": "string",
"description": "A UUID or slug identifying the object that the added parent record belongs to."
},
"parent_record_id": {
"type": "string",
"format": "uuid",
"description": "A UUID identifying the record you want to add to the list. The record will become the 'parent' of the created list entry."
}
}
},
"list": {
"type": "string",
"description": "The UUID or slug identifying the list that the created list entry should belong to."
}
},
"required": [
"data",
"list"
],
"additionalProperties": false
}{
"type": "object",
"description": "Success",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"created_at",
"entry_values",
"id",
"parent_object",
"parent_record_id"
],
"properties": {
"created_at": {
"type": "string",
"description": "When this entry was created."
},
"entry_values": {
"type": "object",
"description": "A list of attribute values for the list entry (not attribute values for its parent record)."
},
"id": {
"type": "object",
"required": [
"entry_id",
"list_id",
"workspace_id"
],
"properties": {
"entry_id": {
"type": "string",
"format": "uuid",
"description": "A UUID identifying this entry."
},
"list_id": {
"type": "string",
"format": "uuid",
"description": "A UUID identifying the list this entry is in."
},
"workspace_id": {
"type": "string",
"format": "uuid",
"description": "A UUID identifying the workspace this entry belongs to."
}
}
},
"parent_object": {
"type": "string",
"description": "A UUID or slug identifying the object that the parent record belongs to."
},
"parent_record_id": {
"type": "string",
"format": "uuid",
"description": "A UUID identifying the record that is parent of the list entry."
}
}
}
}
}