CollectionItem
Represents a single item in a Collection.
Example
{
"id": "116141056635954112",
"account_id": "112658193342215767",
"state": "accepted",
"created_at": "2026-02-25T11:35:01.394Z"
}
Attributes
id
Description: The item id.
Type: String (cast from an integer, but not guaranteed to be a number)
Version history:
4.6.0 - added
account_id
Description: The id of the account this item represents.
Type: nullable String (cast from an integer, but not guaranteed to be a number)
Version history:
4.6.0 - added
state
Description: The current state of the item.
Type: String (Enumerable, oneOf)pending = The account’s consent to be added to this Collection could not yet be verified.accepted = The account has consented to be featured in this Collection.
Version history:
4.6.0 - added
created_at
Description: When the item was added to the collection.
Type: String (Datetime)
Version history:
4.6.0 - added
WrappedCollectionItem entity
This is a regular CollectionItem in a wrapper object to make it consistent with CollectionWithAccounts and other parts of the API.
Example
{
"collection_item": {
"id": "116141056635954112",
"account_id": "112658193342215767",
"state": "accepted",
"created_at": "2026-02-25T11:35:01.394Z"
}
}
collection_item
Description: The actual Collection item.
Type: CollectionItem
Version history:
4.6.0 - added
See also
collections API methods app/serializers/rest/collection_item_serializer.rbLast updated